Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

parabolic stop

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

    parabolic stop

    Hello,

    I thought I haved solved all questions for the strategy. Now it occurs that the stoploss doesn´t work as stop but it closes in a winning position because it uses the upper parabolic as "stop". How can I avoid this and what do I have to change in the stoploss variable so that only lower parabolic works as stoploss (for longs of course). My stoploss now is

    stop1=ParabolicSAR(0.02, 0.2, 0.02)[0];
    SetStopLoss("LG1", CalculationMode.Price, stop1, false);

    In the attached screenshot you can see what I mean - the strategy should use the (lower) parabolic as stop - of course it does - but it also closes winners at upper.

    Thanks
    Tony
    Attached Files
    Last edited by tonynt; 07-31-2011, 01:03 PM. Reason: better title for other user

    #2
    Tony, I believe this is working as expected, because there is only one parabolic output. It will spit out a price either above or below the current bars, as dictated by the indicator's logic. Have you tried setting TraceOrders = true in Initialize() to see what prices the stops are being submitted at? Please also print out the parabolicSAR value as well to see if the prices match.
    AustinNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    61 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    39 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    21 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    23 views
    0 likes
    Last Post TheRealMorford  
    Started by Mindset, 02-28-2026, 06:16 AM
    0 responses
    51 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X