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 CarlTrading, 03-31-2026, 09:41 PM
      1 response
      47 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 04-01-2026, 02:41 AM
      0 responses
      23 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      33 views
      1 like
      Last Post CaptainJack  
      Started by CarlTrading, 03-30-2026, 11:51 AM
      0 responses
      51 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 03-30-2026, 11:48 AM
      0 responses
      42 views
      0 likes
      Last Post CarlTrading  
      Working...
      X