Hi All, hope somebody can help.
I am developing a simple EA using the ATR DI+ or DI- as a signal, however I seem to be getting different values from within my EA than my chart.
The following code reports 50+ but my graph doesnt go above 40 for a long way either side of the period.
Does the iADX repaint several bars back, is this a known error or possibly a programming error.
Thanks in advance for any help.
Rich
I am developing a simple EA using the ATR DI+ or DI- as a signal, however I seem to be getting different values from within my EA than my chart.
The following code reports 50+ but my graph doesnt go above 40 for a long way either side of the period.
Inserted Code
ADX_Plus=iADX(NULL,0,ADX_Period,MODE_PLUSDI,PRICE_CLOSE,1);
Does the iADX repaint several bars back, is this a known error or possibly a programming error.
Thanks in advance for any help.
Rich