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 charlesugo_1, 05-26-2026, 05:03 PM
            0 responses
            61 views
            0 likes
            Last Post charlesugo_1  
            Started by DannyP96, 05-18-2026, 02:38 PM
            1 response
            148 views
            0 likes
            Last Post NinjaTrader_ChelseaB  
            Started by CarlTrading, 05-11-2026, 05:56 AM
            0 responses
            162 views
            0 likes
            Last Post CarlTrading  
            Started by CarlTrading, 05-10-2026, 08:12 PM
            0 responses
            98 views
            0 likes
            Last Post CarlTrading  
            Started by Hwop38, 05-04-2026, 07:02 PM
            0 responses
            286 views
            0 likes
            Last Post Hwop38
            by Hwop38
             
            Working...
            X