Thank you for your response.
When assigning IOrder objects to your orders you will be calling these in the OnOrderUpdate() and OnExecution() methods, if they return null then that order is not calling the OnExecution. In that case you would check for any other IOrder objects.
An effective check for null and that the IOrder object triggered the OnExecution() method is the following:
protected override void OnBarUpdate()
{
if (entryOrder == null && Close[0] > Open[0])
entryOrder = EnterLong();
}
protected override void OnExecution(IExecution execution)
{
if (entryOrder != null && entryOrder == execution.Order)
Print(execution.ToString());
}
Please let me know if I may be of further assistance.

Comment