I running simple code on ea and indicator using tester. Timeframe is H1.
The code is:
double h = iHigh(NULL,PERIOD_D1,0);
int err = GetLastError();
double l = iLow(NULL,PERIOD_D1,0);
err = GetLastError();
This is the only code and the only differences between ea and indicator
are names of global variables i.e __Low and _Low.
The problem is reported values are different i.e. low from ea is
different than low from indicator ect. No error is reported.
It seems, that ea is getting correct data but indicator not. Even if
tester is paused global variables are updated.
To add comments, please log in or register