Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

AtmStrategyChangeStopTarget, Limit Price = 0 ?

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

    AtmStrategyChangeStopTarget, Limit Price = 0 ?

    Hello,

    I was looking at the Ninja Trader help for more instructions on the method AtmStrategyChangeStopTarget and found on the example that 0 is being passed as the PriceLimit Parameter:

    AtmStrategyChangeStopTarget(0, SMA(10)[0], "STOP1", "AtmIdValue");

    Just wanted to understand what does that mean? Does 0 mean the same price as the stop price? Does 0 mean that the default configured for StopLimitOffset on the ATMStrategy will be used?

    Please clarify.

    Thanks in Advance

    Cheers

    Rodrigo

    #2
    Rodrigo, for a stop order only the stop price is needed, hence the limit price parameter is set at 0. This would be the other way round if you modify a limit target for example, then you don't need a stop price.

    The offset for stoplimits for the ATMs is hardcoded to be at 20 ticks.

    Comment


      #3
      Thank you Bertrand,

      Can you please clarify the other way around, when you put a price on the limit but 0 as the stop price, the it wouldn't be a stop order, right? it would be a regular order.. can you please clarify with practical example?

      Thanks,

      Rodrigo

      Comment


        #4
        Sure Rodrigo, it depends what you set to modify, i.e. this will modify the target1 limit order below -

        AtmStrategyChangeStopTarget(SMA(10)[0], 0, "TARGET1", "AtmIdValue");

        Comment


          #5
          Thanks Bertrand,

          I was actually looking more for a real case scenario, eg in which real case situation would you inform the limit price and the stop price? Because if you do that, it would actually be a regular limited price order... is that understanding correct?

          Rgds
          Rodrigo

          Comment


            #6
            Rodrigo, both were real examples - you would change the order type here, this method is used to modify the price of a stop or limit order working as part of your ATM managed exit strategy. If you want to modify the target limit order, pass this as parameter in as needed (TARGET1, TARGET2 or TARGET3). For the stop part of the exits only the Stop value is needed as the offset for a stop limit order is hardcoded in to be 20 ticks, so only change the stop price here in this case, not both. You can check out the SampleATM strategy we install per default with NT, it will use this method as well.

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Geovanny Suaza, 02-11-2026, 06:32 PM
            0 responses
            647 views
            0 likes
            Last Post Geovanny Suaza  
            Started by Geovanny Suaza, 02-11-2026, 05:51 PM
            0 responses
            369 views
            1 like
            Last Post Geovanny Suaza  
            Started by Mindset, 02-09-2026, 11:44 AM
            0 responses
            108 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Started by Geovanny Suaza, 02-02-2026, 12:30 PM
            0 responses
            572 views
            1 like
            Last Post Geovanny Suaza  
            Started by RFrosty, 01-28-2026, 06:49 PM
            0 responses
            573 views
            1 like
            Last Post RFrosty
            by RFrosty
             
            Working...
            X