Normal atr trailingstop

Forums ProRealTime English forum ProOrder support Normal atr trailingstop

Viewing 15 posts - 16 through 30 (of 43 total)
  • #191745
    #191746

    To plot prices on the chart GRAPHONPRICE is best suited.

    #191752

    Alright thanks. Would be nice if someone could answer the question before and explain it. I do not have that understanding about ATR

    #191754

    To answer unequivocally, with a Yes or No, we would have to set up the Trailing Stop and the GRAPH in the code.

    We are also, at the same time, trying to get our own code / Systems working robustly (and living our lives etc 🙂 ).

    I like to see things through to a conclusion, so I will set up the TS on XBT / USD later or might be tomorrow and let you know my findings.  Hopefully I will learn something in the process! 🙂

    If anybody wants to contribute in the meantime, feel free.

    1 user thanked author for this post.
    #191756

    Right, attached is where I am at so far! 🙂

     

    #191759

    @Grahal

    What code are you using to have such a good curve with so many trades?

    #191760

    @Grahal

    I mean what kind of entries?

    #191762

    This does not graph the distance from ONCE trailingstoplong = 10. As the distance is never in that curve once more than 10 and my algo running on and have active position has a running trailingstop. Which means that does not plot the ATR distance that I was looking for 🙁

    #191763

    Well this is explaining how trailing for long is started. My question is, is this part “AverageTrueRange[atrtrailingperiod]((close/10)*pipsize)/1000” affected by market and I guess it is..

    Which means just another %trail is much better to run backtest with when the market have recently went up alot or have most data on the from one other market relation

    #191765

    Then optmizing that trailing over 200k bars is just dumb? As for example way back ONCE trailingstoplong = 10 would emean that trailing would start at a MUCH lower amount of latent gain than when market has 2x, 3x or even 10x.

    #191766

    Sorry for multiple messages but no edit button 🙁

    With this “Then optmizing that trailing over 200k bars is just dumb” with ATR trailing ofcourse. %trail will allways be more robust than ATR trailing..

    #191767

    Even a %Trail will not work for 10 years. At least I haven’t seen one yet.
    Or Grahal?

    #191768

    Well I like to work with maximum data avalaible. Ofcourse all have there own methods.

     

    But it would be good if ATR would work the same way at all times, that would solve all issues. Is it possible replacing this ((close/10)*pipsize)/1000 with something that would not affect marketprice

    #191769

    This is the ATR trail that I use (coded by Paul). I only use it on 2 or 3 systems but my understanding is that it reads the highs and lows over a certain period (default = 14) and moves the stop in accordance with that range, ie the stop only moves up when a new high is achieved, often to just below the last dip.

    Typical values for the atr distance are between 3 and 10, but this is definitely not the trail start distance. TBH, after years of using it, it is still a mystery to me at what point the trail starts to move. I always use it in conjunction with a breakeven code, so I always know when that kicks in – then some at point the trail moves up, but it’s all very mysterious (to me) .

    I know this doesn’t answer your question, but perhaps you’ll find it helpful anyway. I don’t think the instrument value (ie whether it’s 1000 or 8000) makes any difference; as the name implies, it’s looking at a range, rather than a value.

     

     

    1 user thanked author for this post.
    #191773

    ATR distance that I was looking for

    What TF are you running on?

    This Topic is discussing an ATR based Trailing Stop, the ‘ATR distance’ is therefore related to TF.

Viewing 15 posts - 16 through 30 (of 43 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login