How do I return the last value of Parabolic SAR ?

 

I am using the function

iSAR(NULL,0,0.02,0.2,0)

and what I want to do is return the latest value of ParaSAR, and add it as a comment in the main window

Comment("SAR 0 : ",iSAR(NULL,0,0.02,0.2,0));

My first problem is that it only returns the value to 4 decimal places when my chart shows and trades on 5 decimal places. Can I alter this to show five decimal places ?

My second problem is understanding the four digit number returned, does the function round to the nearest 0.000x ? (10 up or down)

thank you

 

MG

The Print statement will only show 4 digits unless you do DoubleToStr

-BB-

 
BarrowBoy:

MG

The Print statement will only show 4 digits unless you do DoubleToStr

-BB-


Thankyou
Reason: