Thanks for your note.
When running the strategy you shared, it placed a Stop Limit order that resulted in an error.
"Limit price can't be smaller than stop price"
You would need to ensure that your Stop Limit order Limit price is a value that is greater than the Stop price.
To determine exactly what values the orders are submitting to, you would need to add debugging prints to the strategy that print out the value being used for the Limit price and Stop price. Then, you could modify the Limit price accordingly so that its greater than the Stop price.
Below is a link to a forum post that demonstrates how to use prints to understand behavior.
https://ninjatrader.com/support/foru...121#post791121
See the help guide pages below for more information.
ExitLongStopLimit: https://ninjatrader.com/support/help...gstoplimit.htm
ExitShortStopLimit: https://ninjatrader.com/support/help...tstoplimit.htm
Let me know if I may assist further.

Comment