My code was essentially making good progress until I wanted to add smaller timeframes so that I can exitonclose as near to the close as possible as I am using hourly bars and CalculateOnBarClose = false;
After adding the smaller timeframe, I've added "BarsInProgress" to my code as well. I'm getting this error message "You must use the overload that has a "BarsInProgress" parameter when calling the BarsSinceEntry() method in the context of a multi-time frame and instrument strategy"..
What does that mean?
Regards
Kay Wai

Comment