when I test my strategy I get the following error message, as shown in the picture.
Error: Buy stop or buy stop limit orders can't be placed below the market. affected Order: Buy 1 StopMarket.
This problem occurs only with fast momentum movements or gaps in the market.
My question is how can I solve this problem or which Ninjatrader method is necessary to do so?
Do I need the protected override void OnExecutionUpdate() method?
Best regards
Tradeer
Comment