Hello All,
Can anyone help me here as I'm really confused.
Within my EA I am using the iATR function and I have it written as follows:
ATRValue = iATR(NULL,0,10,0) ( this can be seen in the bottom window once the strategy tester finishes).
This value then updates on every tick.
However, what is confusing me is that if I also drop the ATR indicator onto my chart (middle window) and use the settings, Period=10, the two indicators are different !!!
Why is this happening?
Can anyone help me here as I'm really confused.
Within my EA I am using the iATR function and I have it written as follows:
ATRValue = iATR(NULL,0,10,0) ( this can be seen in the bottom window once the strategy tester finishes).
This value then updates on every tick.
However, what is confusing me is that if I also drop the ATR indicator onto my chart (middle window) and use the settings, Period=10, the two indicators are different !!!
Why is this happening?