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 CarlTrading, 03-31-2026, 09:41 PM
    1 response
    64 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    35 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    58 views
    1 like
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    61 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    49 views
    0 likes
    Last Post CarlTrading  
    Working...
    X