I just noticed that any strategy using BarsSinceExitExecution() can NOT be enabled using Order Fill Resolution High ( I tested 1 Tick ) because we get the error
Strategy 'SampleMACrossOver3': Error on calling 'OnBarUpdate' method on bar 20: Strategy 'SampleMACrossOver3/100356214': You must use the overload that has a 'BarsInProgress' parameter when calling the BarsSinceExitExecution() method in the context of a multi-time frame and instrument strategy.
it is the original SampleMACrossover with this line added at the end :
int lastrade = BarsSinceExitExecution();
Comment