Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Adding ATR Stop in the Strategy Wizard

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

    Adding ATR Stop in the Strategy Wizard

    I´d like to add an ATR Stop to my strategy.
    That is: if the actual price is lower than the entry price minus 1 ATR(14) the long position should be stopped out.

    I tried the following:
    Condition 3: Variabel0 == ATR(14) [1]
    Than I choose this variable0 in the "Stops and Target" menu:
    SetStopLoss("", CalculationMode.Ticks, Variable0, false)

    But in this case, the stoploss is executed at the entry price.
    What do I do wrong?

    I would also like to test how ATR multiple work as stoploss levels....

    Thanks

    #2
    ema.mfg, I'm not sure this is possible using the Strategy Wizard. I would suggest going into the NinjaScript editor to implement this trailing stop.

    This reference sample will be a good start - http://www.ninjatrader-support2.com/...ead.php?t=3222

    Please also check the trailing stop scripts from sharing section for further ideas- http://www.ninjatrader-support2.com/...ng+stop&desc=1
    AustinNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    23 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    115 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 05-10-2026, 08:12 PM
    0 responses
    68 views
    0 likes
    Last Post CarlTrading  
    Started by Hwop38, 05-04-2026, 07:02 PM
    0 responses
    222 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Started by CaptainJack, 04-24-2026, 11:07 PM
    0 responses
    406 views
    0 likes
    Last Post CaptainJack  
    Working...
    X