Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

ATR Stops

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

    ATR Stops

    Can we use an ATR Value and convert it to ticks for a stop in Strategy Builder?
    Thanks.

    #2
    Hello Trader17,

    Thanks for your inquiry.

    This would be possible to hard code into an unlocked NinjaScript strategy, but this would not be possible in the Strategy Builder as the Strategy Builder has limited support for mathematical operations and there is not a way you could multiply the ATR by the TickSize and convert it for use for an ExitLimit or ExitStop order in the Strategy Builder.

    Additionally, if you wanted to use SetProfitTarget() or SetStopLoss() to set an exit based on indicator values, you would have to unlock the code so the strategy can update the profit target and stop losses dynamically.

    You may see the SetProfitTarget() and SetStopLoss() documentation for more information on hard coding dynamic profit targets and stop losses based on changing data.

    SetProfitTarget() - https://ninjatrader.com/support/help...ofittarget.htm

    SetStopLoss() - https://ninjatrader.com/support/help...etstoploss.htm

    Please let us know if you have any questions.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by NullPointStrategies, Yesterday, 05:17 AM
    0 responses
    81 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    149 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    79 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    52 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    59 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X