Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90


Parabolic Stop loss - how it works?

  • Filter
  • Time
  • Show
Clear All
new posts

    Parabolic Stop loss - how it works?


    I am trying to understand how the parabolic stop works, but do not fully understand how to set it up.

    I have looked here:

    NinjaTrader 8

    But still do not understand it.

    SetParabolicStop(string fromEntrySignal, CalculationMode mode, double value, bool isSimulatedStop, double acceleration, double accelerationMax, double accelerationStep)

    EntrySignal is clear: I have a name (to match the entry) or I leave it blank.
    CalculationMode is clear: I use ticks.
    Value: is it where the stop is initially placed (from the entry signal)? Say 20.
    Acceleration: is it how fast it moves towards the current market price? Say 1. Does this mean that the stop moves by 1 tick each time the price moves 1 tick towards the profit?
    AccelerationMax: is it how fast it can move towards the current market price? Say 5.
    AccelerationStep: is it how fast it increases the speed? Say 1.

    What should happen in practice?

    The stop is initially 20 ticks below the entry. As the price moves towards the profit, the stop moves towards the price 1 tick at a time? 1 tick per tick, or more? When does it start accelerating? How does it do it? Does it mean that it then moves 2 ticks for each tick of movement of the price towards the profit? Up to 5 ticks per 1 tick of movement of the price towards the profit? Is this how it is supposed to work? Does it increase by 1 tick (AccelerationStep) each tick of movement towards the profit until it gets to the AccelerationMax?


    Hello david196,

    Thank you for your post.

    Parabolic stop orders are real working orders (unless simulated is specified in which case the stop order is locally simulated and submitted as a market order once triggered) submitted immediately to the market upon receiving an execution from an entry order.

    Although logic-wise very similar, this technique works differently from the ParablicSAR indicator. The indicator will provide trailing stop levels 'always in the market' assuming a constant market position switch, either long or short (reversing). The SetParabolicStop() method in contrast will apply the same parabolic trailing technique sensitive to price acceleration to the custom strategy entry signal/position it is associated with.

    Value determines where the trail stop order is initially placed in relation to the entry signal. Acceleration would be the initial start value that the acceleration step is iterated on/from. AccelerationStep determines how often/fast Acceleration increases for the trailing stop order. AccelerationMax refers to the maximum acceleration speed that the trailing stop order moves. Please note the acceleration values are not a specific tick size.

    I suggest setting up a simple strategy in the Strategy Builder that uses SetParabolicStop(). Then, test that strategy on a Sim account while noting how the trailing stop moves based on the acceleration values you set.

    Also, you could use the Parabolic SAR indicator and change the various settings there to visualize the stop.

    See the help guide documentation below for more information.
    SetParabolicStop() -

    And, please see this publicly available documentation about Parabolic SAR indicator -

    Let us know if we may further assist.
    Brandon H.NinjaTrader Customer Service


    Latest Posts


    Topics Statistics Last Post
    Started by percma, 12-14-2018, 07:27 AM
    15 responses
    Last Post ajaltrans  
    Started by litamm89, 03-07-2023, 06:42 PM
    6 responses
    Last Post litamm89  
    Started by litamm89, Today, 08:07 PM
    0 responses
    Last Post litamm89  
    Started by shani77, Today, 07:59 PM
    0 responses
    Last Post shani77
    by shani77
    Started by Magzor, 01-27-2023, 02:36 PM
    4 responses
    Last Post ajaltrans