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 mattbsea, Today, 05:44 PM
    0 responses
    2 views
    0 likes
    Last Post mattbsea  
    Started by RideMe, 04-07-2024, 04:54 PM
    6 responses
    31 views
    0 likes
    Last Post RideMe
    by RideMe
     
    Started by tkaboris, Today, 05:13 PM
    0 responses
    2 views
    0 likes
    Last Post tkaboris  
    Started by GussJ, 03-04-2020, 03:11 PM
    16 responses
    3,281 views
    0 likes
    Last Post Leafcutter  
    Started by WHICKED, Today, 12:45 PM
    2 responses
    19 views
    0 likes
    Last Post WHICKED
    by WHICKED
     
    Working...
    X