Price Rating and Distribution

Price Rating and Distribution

This indicator will analyse historical prices over any look back period and display the results as both a distribution chart and a price rating chart side by side.

This indicator only works on PRTv11 onwards

Apply the indicator to your price chart.

Set the number of bars back that you want to analyse with the ‘Length’ setting. If you set this to zero then the indicator analyses all available data. It can take a few moments to analyse all the data if there is lots of it so there is sometimes a short wait when the indicator is first loaded if you have set ‘Length’ very high or set it to analyse all the data.

The data being tested is checked at intervals of 1% above and 1% below and the number of candles that crossed each price level is totalled up and its location in history of that crossing taken into consideration.

To the left of the dots is the distribution chart. This shows how many bars crossed each price level. The quantity is shown at the far left of each bar.

To the right of the dots is the price levels rating chart. Each price level can score between 0 and 100. This rating is higher if price recently crossed this price and higher if it has crossed it a lot of times. So a price level cross a very long time ago is given less weight in the calculation than one yesterday. The score is shown to the right of the bars.

The blue line is the current price level. You can set ‘CustomClose’ to whatever price type you like – Close, Median Price, High, Low etc

The colour of the lines can be adjusted by switching on ‘HeatMap’ which causes higher scoring price levels and price levels that have been crossed a lot to be shown as darker colours. You can also switch on and off ‘Fade’ which fades out lower scoring lines and lines that have not been crossed very much.

The ‘DataBox’ option allows you to display a box around the data that has been used in the analysis.

As always I advise downloading and importing to get full functionality.

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?

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

Register or


avatar avatar avatar avatar avatar avatar avatar
Related users ' posts
Albaran Hi Vonasi, Could you explain what "$perc[a]" is? I tried to apply it but it keeps telling...
Nicolas Code compatible only with version 11, as it is written in bold in the text of this post: Thi...
Albaran Ah I had hoped it was a problem unrelated to the version of prorealtime! We'll keep waiting ...
Vonasi I guess it might be a nice addition so that you can check back in history and compare whethe...
Marcot18 Scusate, quindi la linea blu é dove andrà il prezzo con le maggiori possibilità di successo?...
Vonasi La linea blu è ciò che fa il mercato in media se si apre uno scambio su ogni barra. È il nos...
Vinks_o_7 Vonasi you're a beast !!! ;-)))
pableitor Amazing indicator , you are pushing PRT to the limit! But looking at the scatter its not c...
Bard Excellent job Vonasi, thanks very much for updating and improving your previous indicator.
luxrun Vonasi, is it possible to have a screenshot of an index chart (eg djia) and below the breako...
Vonasi I can't add any images here now that the library post has been listed. Perhaps you could sta...
Vinks_o_7 Thanks again Vonasi !
Vonasi In the all the DRAWTEXT lines of code change the 10 to a larger number.
Lotech123 Vonasi. Thank you for a very prompt response.
Lotech123 Following on from your earlier advice, I changed the ‘drawtext’ command to various sizes bef...
Vonasi Discussion regarding this indicator can be found here:
GraHal Wow! Thank you Vonasi, great idea!
Vonasi No Problem GraHal. Please share anything interesting that you find using it.
Vonasi I've made a small improvement by adding a Buy and Hold line for comparison. This line can be...
Vonasi Thanks for your thanks Real Pro and yes everyone should import the itf file to make sure tha...
Pepsmile Good job, which could be applied for a spectrum of another indicators.
Pepsmile As to better understand which parameters are better for an indicators in a specific period (...
Bard I was talking to a Machine Learning coder today who's algos have apparently managed to get 7...