Code in OnBarUpdate():
if( some condition )
EnterLongLimit(buyPrice, "long" );
else
EnterShortLimit(sellPrice, "short" );
Some of the orders are (randomly?) ignored. I get the message:
Strategy '...': An Enter() method to submit an entry order at '2/1/2018 12:00:00 PM' has been ignored. Please search on the term 'Internal Order Handling Rules' in the Help Guide for detailed explanation.
Calculate is set to Calculate.OnBarClose.
Why are the orders ignored?

Comment