I'm trying to debug my strategy which is crashing due to stop loss being placed below the market.
To understand what's going on I'm trying to print my orders following the TraceOrders instruction page https://ninjatrader.com/support/help...raceorders.htm which suggests that I should be seeing information about my orders on NinjaScript output once I set TraceOrders = true;
Unfortunately this is not happening and I can only see the custom print I do every bar update.
I'm attaching the relevant part of my code so that you can see how my strategy is set.
Could anybody help me out?
Thanks a lot!
Comment