ATR percentile rank

ATR percentile rank

The percentile rank of a score is the percentage of scores in its frequency distribution that are equal to or lower than it. For example, a test score that is greater than or equal to 75% of the scores of people taking the test is said to be at the 75th percentile, where 75 is the percentile rank. (source Wikipedia).

This indicator gives the percentile rank of the current Average True Range compared to the 200 periods previous ones. By comparing the recent ATR to the previous behaviour of it on the same instrument, we can have a clearer view of what the current volatility means because of its ranking in percentage. This kind of sorting formula could be adapted to any other values. 

 

 

Share this

Risk disclosure:

No information on this site is investment advice or a solicitation to buy or sell any financial instrument. Past performance is not indicative of future results. Trading may expose you to risk of loss greater than your deposits and is only suitable for experienced investors who have sufficient financial means to bear such risk.

ProRealTime ITF files and other attachments : How to import ITF files into ProRealTime platform?

PRC is also on YouTube, subscribe to our channel for exclusive content and tutorials

  1. Adolfo Onrubia • 05/19/2016 #

    Hi Nicolas!
    As far as I’m not used to use this indicator… Can you explain a bit how can we implement it in our strategies?
    Thanks in advance!

    • Nicolas • 05/19/2016 #

      This indicator rank the actual ATR to its recent statistical values. So you can have a better view of what currently happen. With this indicator you can spot a volatility increase, even if the instrument is often very fluctuant, and also spot if the instrument is in a very calm period even if its already quiet.

  2. Brisvegas • 05/19/2016 #

    Thanks Nicolas , very handy tool , I have added variables to look back period and ATR period to make it a bit more versatile . I would add ITF file if i knew how

  3. rufus.round • 05/19/2016 #

    How easy is it to remove the overnight intraday bars from the calculation?

  4. Carburo • 54 days ago #

    Good morning, Nicolas. Your indicator provides information that becomes very useful when you can compare the ATR of the current bar (ATRperiod=1 or an average of your choice) with the ATR (single bar or average) of the same bar(s) from previous trading days.
    Graphically, this comparison between multiple times could be done by highlighting only those bars with consistent times, starting from the current one and working backwards, and applying a transparency color to the others. Alternatively, it could be achieved by connecting the upper ends of the bars with segments.
    Is there a way, applied to the indicator you have created, to achieve what I have tried to explain?
    The image, taken from another situation, shows both examples (please ignore the numerical data).
    I have made several attempts, but without achieving anything concrete. Such a method could be useful at an educational level to apply to other indicators.
    Thank you very much.

    [url=https://postimages.org/][img]https://i.postimg.cc/bJHnmknV/Istogramma.jpg[/img][/url]

    • Nicolas • 54 days ago #

      Please create a forum topic specific for that demand. Thank you.

avatar
Register or

Likes

avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar
Related users ' posts
Brisvegas Thats Awesome thank you
Vinks_o_7 Thanks Vonasi !
Tarkus1954 Hi. When I add this indicator it loads it in a separate window. How do I get the indicator...
Nicolas By adding it on the price chart. Use the wrench on the left upper side of the price chart.
ervelasco Thank you for your posting! I was missing the indicator when trying to select Keltner bands ...
swapping fib1236 = (hiday-lowday)*1.236+lowday DrawSegment(startbar,fib1236,barindex,fib1236) colou...
swapping Oups ! Nicolas il y a un problème avec l'insertion de code en utilisant le bouton [Add PRT ...
swapping fib1236 = (hiday-lowday)*1.236+lowday DrawSegment(startbar,fib1236,barindex,fib1236) colour...
RGKP Hi Vonasi, great work! But what I do not understand is that the statistics change according ...
mr_delta Hi https://www.prorealcode.com/user/vonasi/ I am interested in in scanning for a similar set...
Vonasi Minor Bug Fix Please download an updated version with a minor bug fix from here: https://www...
ALE Very Very Nice
manel Hi - Many thanks for this and your other analytical codes, stellar work - very useful ! With...
Vonasi Good idea Manel. I have posted a new version here that shows results as a percentage: https:...
mathiasKN Steffen Schmauch • 12/11/2018 # hello Nicolas, can I change the indicator that I only get t...
Nicolas Please open a new topic in the indicator forum and explain there your query, thank you.
upupandaway This seems like a very useful indicator. However, it does not seem to open properly in the c...
Choliver HI, Thanks a lot Good job. :-)
mscharstrom Hi @robertogozzi, I really love this indicator. However, I'd like to tinker with it to fit ...
Ahimsa Hi Roberto I cannot thank you enough for writing this code. It could help me more than you ...
Nicolas With PRT v11, you have to click on "price" at the upper left side of the price chart.
robertogozzi Firstly you need to make the correct calculation, you need to swap 22 and 7. Secondly PRT's...
SB-FO Sorry, i did forget to change the 7/22, I have run it both ways. PRT is calculating PPO a...
RubberToe I believe there is an error in line 23 of the MACD version. It points to the FastP. Should...
Leo I don't know, I just copy paste the strategy. The optimisation of the values I wrote them in...
bertrandpinoy hello Leo I'm spending time on your strategy code. do you agree to try to include this code ...
bertrandpinoy //version a: ajout filtre MM defparam cumulateorders=false // --- paramètres taille =...
Bard Problems with Safari latest s/ware and this site and links and adding code. Let me add the...
grimweasel47 Ok thanks Nicolas - could this be adapted to take into account MFI and then have price, volu...
Nicolas I don't understand what you mean exactly, would be better to open a topic about this idea wi...
Jesper Great share!
capgros Bonjour @Nicolas, Thanks a lot for this tool, it is very useful for me. I would like to s...
Hans63 Would you add the possibility to color also the Heikin Ashi and bar chart?
Nicolas That's possible, please open a new topic in the indicator forum explaining what you need exa...
Nicolas Change line 62 with: drawcandle(flup,fldn,flup,fldn) coloured(169,169,169,80) bordercolor(16...
DimKar Thank you very much from Greece sir , have a nice day ....!!!! Really i do not have words...
avatar
Anonymous Bonjour, J'ai d'excellents résultats avec cet indicateur simple et efficace; Merci beaucoup;
3agl3 voglio l indicatore
Victor.Strand Hi Pableitor, the code is just great; i was playing a lil bit with these factors, darwsegmen...
micky_red Hi, I have tried to use this indicator in version 12 and it doesn't work. Do you know how...
Victor.Strand Hey Micky, indicator works well, justpaste the code on the platform, or save it as an "itf" ...
ottimo Thank you Nicolas, great indicator, N. 1
tikigai Merci Nicolas! First Happy new Year 2020. Very good indicator BUT (yes the french "oui, m...
Nicolas Whats prorealtime version? Did you try in version prior to v11? indicator's call and loop ca...

Top