Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

NT7 AtmStrategyChangeStopTarget

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

    NT7 AtmStrategyChangeStopTarget

    AtmStrategyChangeStopTarget ( 0, stopprice, "STOP1", "AtmIdValue");

    AtmStrategyChangeStopTarget ( limitprice, 0, "TARGET1", "AtmIdValue");


    I am using the above code to move stops and targets

    I note that TARGET1 when hit does not always fill, at least in market replay.

    I assume this is because it is a limit order?

    How do I ensure it is filled like a stop/market order when touched?

    thanks

    #2
    Hello ATI user,

    Limit orders need to be filled at the specified price or better. Profit targets will always be limit orders. A stop order placed there would be rejected. What you are looking for is a market if touched (MIT) order, which is not currently available.
    Ryan M.NinjaTrader Customer Service

    Comment


      #3
      of course it is possible to just submit a market order from code when target level is hit....however MIT would be a better solution

      is it on the wish list?...now?

      Comment


        #4
        Yes, conditionally sent market orders is one way to do this as well.

        MIT has been requested before and I will forward it this time as well. Thanks for the suggestion!
        Ryan M.NinjaTrader Customer Service

        Comment


          #5
          the solution, since I am using atm templates (i.e. atmstrategycreate), is to check 'Target Chase' in Advanced Option of the atm...in which case the target will be moved up to the Chase Limit setting if the target is touched but not filled
          Attached Files

          Comment


            #6
            Thanks for the reply, ATI user. Target chase is an additional tool with ATM strategies and glad to hear it's useful in this case.
            Ryan M.NinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Geovanny Suaza, 02-11-2026, 06:32 PM
            0 responses
            649 views
            0 likes
            Last Post Geovanny Suaza  
            Started by Geovanny Suaza, 02-11-2026, 05:51 PM
            0 responses
            370 views
            1 like
            Last Post Geovanny Suaza  
            Started by Mindset, 02-09-2026, 11:44 AM
            0 responses
            109 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Started by Geovanny Suaza, 02-02-2026, 12:30 PM
            0 responses
            574 views
            1 like
            Last Post Geovanny Suaza  
            Started by RFrosty, 01-28-2026, 06:49 PM
            0 responses
            576 views
            1 like
            Last Post RFrosty
            by RFrosty
             
            Working...
            X