Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Parabolic Stop Value Field

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

    Parabolic Stop Value Field

    May be an easy one for some of you all, but I'm having some trouble understanding exactly what can/cannot be placed in the "value" field in the setparabolicstop function.

    What I'd like it to be is a a combination of the most recent ATR value including a user definable multiplier, but when I do this, there are no orders placed so I'm assuming the strategy errors out and does not run. I see that I can set the mode to "tick" and put a value of say, 100 in there, and it's a clear 100 tick offset, but that's not really what I'd like to do. Can I use a calculation formula for the value field from the strategy builder?

    This is what I am attempting to do:

    Click image for larger version

Name:	image.png
Views:	111
Size:	2.3 KB
ID:	1335603

    This works elsewhere, but doesn't seem to behave well here...

    Thanks!​

    #2
    Hello sclay115,

    Thank you for your post.

    Where are you setting the parabolic stop?

    If you want to use ATR(2)[0], you would not be able to do so from anywhere except OnBarUpdate(). If you're using the Strategy Builder, this would require unlocking the script.

    I'm assuming the strategy errors out
    Are you seeing any errors in the Log tab of the Control Center? You could confirm if there are any runtime errors by checking the Log.

    Comment


      #3
      Originally posted by NinjaTrader_Gaby View Post
      Hello sclay115,

      Thank you for your post.

      Where are you setting the parabolic stop?

      If you want to use ATR(2)[0], you would not be able to do so from anywhere except OnBarUpdate(). If you're using the Strategy Builder, this would require unlocking the script.



      Are you seeing any errors in the Log tab of the Control Center? You could confirm if there are any runtime errors by checking the Log.

      Thanks for the reply

      I'm using the strategy builder and the tab of stops and profit targets.

      Okay, so that field can't be set by a formula, got it. What does that field specifically handle? And does it impact how the parabolic stop behaves once it is set? Can you give me a practical example? I see there is a field drop down for various modes, does that specifically outline what the value field does? Or does that impact all of the fields in the parabolic stop?

      Can the other fields (acceleration, acceleration max, acceleration step) be set as user inputs? Or do they need to be actual numerical values?

      Comment


        #4
        Please take a look at the Help Guide page for SetParabolicStop().



        The value parameter is the value trail stop order is offset from the position entry price. You could input an indicator value here, but only in an unlocked script.

        The other fields can be set as user inputs.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by NullPointStrategies, Yesterday, 05:17 AM
        0 responses
        58 views
        0 likes
        Last Post NullPointStrategies  
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        133 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        73 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        45 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        50 views
        0 likes
        Last Post TheRealMorford  
        Working...
        X