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 Mindset, 04-21-2026, 06:46 AM
      0 responses
      88 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by M4ndoo, 04-20-2026, 05:21 PM
      0 responses
      134 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by M4ndoo, 04-19-2026, 05:54 PM
      0 responses
      68 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by cmoran13, 04-16-2026, 01:02 PM
      0 responses
      119 views
      0 likes
      Last Post cmoran13  
      Started by PaulMohn, 04-10-2026, 11:11 AM
      0 responses
      69 views
      0 likes
      Last Post PaulMohn  
      Working...
      X