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 NullPointStrategies, Today, 05:17 AM
      0 responses
      43 views
      0 likes
      Last Post NullPointStrategies  
      Started by argusthome, 03-08-2026, 10:06 AM
      0 responses
      124 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      65 views
      0 likes
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      42 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Started by TheRealMorford, 03-05-2026, 06:15 PM
      0 responses
      46 views
      0 likes
      Last Post TheRealMorford  
      Working...
      X