I only mentioned an error in response to your mention there was an error in post #10.
The Print() would be the time of the bar and all values used in the conditions that submit the order and would let you know when the conditions are evaluating as true or false.
TraceOrders would let you know when NinjaTrader is seeing the order submission and will let you know if the order is submitted, ignored, rejected, or automatically cancelled.
These you would add. They would not be related to an error message that would appear on the Log tab of the Control Center.

Comment