I would like to get the value of the Average True Range Indicator (ATR).
I tried to use the following code, but the value is way lover than the one given by the indicator.
When I print, the value displayed is: 3.000000000000621 e-05.
Any idea why?
Thanks in advance for your help,
When you print, use DoubleToStr()