" **NT** Error on calling 'OnBarUpdate' method for strategy 'ZLReMTF/e610e684089b44a2b751f1e4043ed90d': You must use the overload that has a 'BarsInProgress' parameter when calling the BarsSinceExit() method in the context of a multi-time frame and instrument strategy."
The code associated with BarsSinceExit is:
if(BarsInProgress == 0)
{
TimeSinceExitOK = BarsSinceExit() >= 1 || BarsSinceExit() == -1;
TimeSinceEntryOK = BarsSinceEntry() >= 1 || BarsSinceEntry() == -1;
}
Anyone have any ideas?
Rod

Comment