Distribution Of Returns

v10.3
Distribution Of Returns

This indicator checks all the candles between the latest one and whatever start date you set (or all of the candles on the chart if you set StartDate to zero) and calculates the rate of return from close to close of each candle. It then counts how many candles returns fit into each specific range (in buckets of 0.25%) from -5% return to +5% return and displays it as a bar chart.

The values above the bars represent the (rounded) percentage of candles whose rate of return fell into that specific range.

The values below the chart indicates rate of return. Each bar represents a 0.25% range  (so 0.0% to 0.25% then 0.25% to 0.5% and so on). The bars at either end of the chart represent returns greater than 5% and returns lower than -5%.

An arrow is shown that represents which group the most recent still forming candles rate of return is in.

Add it as a separate indicator and zoom into the latest candles. Making the indicator full screen also makes it easier to read.

Originally intended for use on daily charts but it can also be used on other time frames. On faster time frames it is of less use as the rate of return of each candle is usually much smaller than the minimum 0.25%.

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

  1. Vonasi • 202 days ago #

    Discussion regarding this indicator can be found here: https://www.prorealcode.com/topic/distribution-of-returns-indicator/#post-99021

avatar
Register or

Likes

avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar
Related users ' posts
Jean-Teddy DAMOUR Bonjour Nicolas, Je souhaite vous contacter pour une demande particulière. Pouvez-vous me ...
Nicolas Vous pouvez utiliser le formulaire de la page programmation: https://www.prorealcode.com/tra...
robertogozzi Try uncommenting line 1, to see what happens.
ggolfet Grazie mille per la risposta. Avrei un'altra domanda (un po' off topic). Quando su esaminano...
robertogozzi Crea un topic nel supporto ProOrder, per favore. Grazie
Nicolas Sorry but I dont understand your question. You can change the period of calculation at line ...
redcatalex I understand it. The question is, if I want to receive a signal not from level 0, but, for e...
redcatalex the question is removed, thanks. I had to learn programming))) everything was simple
Vonasi
1 month ago
Maxime Baudin Very interesting for monthly stock market strategies, thank you Vonasi! :)
Marius Hi Nicolas, would you mind to take a look at my comment here: https://www.prorealcode.com/pr...
tradingpro che periodi consigli sul dax ad un minuto ... grazie
Dong Kobe THANK YOU Nicolas
Kris75 @atxeel pleasure! please share your strategies hypothesis so we can make a winner strat !
dario ti This implement In PRT is one of the greatest work on this site, i hope the IG volume data fe...
assafn I'm really new at this, so be gentle:) how can I create a scanner based on this wonderful i...
rama what is oohline
Vonasi From the indicator description above: 'The space between sessions can be either blank or hav...
denmar Awesome. Thank you.
Sapo Thank you for your indicators. As always it's perfect, I thank you for your help it's preci...
Om Hello, thanks for sharing! Getting a message that Variable P is undefined?
Sapo Thank you very much. as always your indicators are extremely effective. kind regards Vonasi.
supertiti Hello Jan All is discribe into the code , you may translate french to netherland if you wa...
Jan Wind What I meant is if you could suggest a trading concept: for instance if the color becomes d...
supertiti Hello Jan You must use this code in correspondence with other indicators, a code alone do...
Nicolas Use the color variables R and G to test if the trend is bullish (R=0) or bearish (R>0).
s00071609 Where can i find the syntax to test the colour of the line, I am calling the indicator value...
Nicolas You should open a new topic to discuss about the strategy and its coding.
Sukhdev Golen Hi Nicolas, how to use this on tradingview?
Nicolas You can't. All codes here are made for the ProRealTime trading platform: https://www.proreal...
Balmora74 Thanks a lot Nicolas. Fantastic indicator !!!!! Wawaouhh !!!
f1_maik Yes, I'd like to. But I don't know when I want to choose to leave or join. When the histog...
Marcelo Tevrizian Anyone has rewritten this to Ninja? I am working on it but it will take some time. Thanks.
anthon Salut à tous et merci ! Content que les indicateurs vous plaisent . Abonnez vous à ma page y...
Varadero54 Bonjour Anthon ... pourrais-tu me communiquer l'adresse ou le nom de ta chaine YOUTUBE ... j...
cedric croze a premiere vue la chaine youtube n'éxiste plus
Vonasi Sure that is possible. I will code it and make a post in the English ProBuilder forum and pu...
Vonasi Vama v2 with Hull moving average included can be found here: https://www.prorealcode.com/top...
JMat45 Thank you, Vonasi.
HeikinAshi https://www.prorealcode.com/topic/ssl-channel/
jobswaps oyes aste uno de soportes y recistencias
jobswaps eso lo necesitamos
Wilko Thanks for the idea! This type of scoring can really help in not only identifying regimes ...
Vonasi Thanks for the compliments Wilko.

Top