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 argusthome, 03-08-2026, 10:06 AM
    0 responses
    85 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    47 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    29 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    32 views
    0 likes
    Last Post TheRealMorford  
    Started by Mindset, 02-28-2026, 06:16 AM
    0 responses
    67 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X