Hello everyone,
I just discovered something rather peculiar whilst testing an indicator in strategy tester. It seems that iClose,(NULL,0),iOpen(NULL,0), Close[0] and Open[0] are all the same value in strategy tester. The same doesen't go for all the other shifts prior to 0.. Anyone care to tell me why shift 0 gives me such strange results? if conditions like if Open > Close always return false if shift 0 is used.
Kind regards,
Codix
I just discovered something rather peculiar whilst testing an indicator in strategy tester. It seems that iClose,(NULL,0),iOpen(NULL,0), Close[0] and Open[0] are all the same value in strategy tester. The same doesen't go for all the other shifts prior to 0.. Anyone care to tell me why shift 0 gives me such strange results? if conditions like if Open > Close always return false if shift 0 is used.
Kind regards,
Codix