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)
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
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