Ahmed Sabry Bakry / Publications
Forum
iBarShift is not working in backtest
Please find the below code and here's the problem: datetime fromDT ="00:00", toDT ="07:00"; int fromBar = iBarShift(NULL, 60, fromDT), toBar = iBarShift(NULL, 60, toDT), length = fromBar - toBar + 1, HHbar = iHighest(NULL,60, MODE_HIGH, length, toBar), LLbar =