I have this code:
double dSAR = iSAR(NULL,0,0.02,0.2,0);
Comment("Last SAR Value = ", DoubleToStr(dSAR,5),"\n", "SAR 0 : ",iSAR(NULL,0,0.02,0.2,0) );
The SAR value from the iSAR function shows on the comment as 1.36710, whereas the latest SAR indicator value on screen is 1.36798
It is the value of the latest SAR indicator on the screen that I want to get. How do I achieve this ?
Thankyou
It now seems to be showing the correct value but I don't think I have done anything different.
Is this SAR function reliable or is there something else I am missing ?
It now seems to be showing the correct value but I don't think I have done anything different.
Is this SAR function reliable or is there something else I am missing ?

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
I have this code:
double dSAR = iSAR(NULL,0,0.02,0.2,0);
Comment("Last SAR Value = ", DoubleToStr(dSAR,5),"\n", "SAR 0 : ",iSAR(NULL,0,0.02,0.2,0) );
The SAR value from the iSAR function shows on the comment as 1.36710, whereas the latest SAR indicator value on screen is 1.36798
It is the value of the latest SAR indicator on the screen that I want to get. How do I achieve this ?
Thankyou