Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

ATM Strategy order types

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    ATM Strategy order types

    I am trying to submit a stop market order at an indicator value through an ATM strategy. I would like to know if I have this coding correct:
    Code:
    AtmStrategyCreate(OrderAction.Sell, OrderType.StopMarket, 0, MAEnvelopes1.Upper[0], TimeInForce.Day, orderIdS25, "ATM25S", atmStrategyIdS25, (atmCallbackErrorCodeS25, atmCallBackIdS25)
    The orders are not triggering when entry conditions are met so I am not sure I have the order prices correct?

    Thanks

    #2
    The easiest way to know what's wrong with orders is to trace them.
    https://ninjatrader.com/support/help...b=trace+orders
    Are you sure you have ATM25S template?

    Comment


      #3
      I figured it out. It was actually related to the entry conditions. Thanks!

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by CaptainJack, 05-29-2026, 05:09 AM
      0 responses
      165 views
      0 likes
      Last Post CaptainJack  
      Started by CaptainJack, 05-29-2026, 12:02 AM
      0 responses
      87 views
      0 likes
      Last Post CaptainJack  
      Started by charlesugo_1, 05-26-2026, 05:03 PM
      0 responses
      128 views
      0 likes
      Last Post charlesugo_1  
      Started by DannyP96, 05-18-2026, 02:38 PM
      1 response
      207 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 05-11-2026, 05:56 AM
      0 responses
      185 views
      0 likes
      Last Post CarlTrading  
      Working...
      X