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 • 246 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
juanj I have just the place for this.. love John Ehlers's work. Thanks Nicolas!
Maxime Baudin Very useful! Thanks Mat, and Happy New Year
Nicolas
2 weeks ago
Rex Oscillator
Rex Oscillator
0
Indicators
Nicolas
2 weeks ago
KDJ
KDJ
1
Indicators
fireleg79 Bonsoir Nicolas. Merci pour tout ton travail. Quand tu auras le temps pourras-tu jeter un oe...
Nicolas Add indicator on price by using the wrench on the left upper side of your price chart.
efahmy Thanks Mate, Much appreciated.,
Alps007 Hi Nicolas. Happy New Year. Can you please program me several MACD divergence screeners ...
efahmy I'm using V10.3 with IG and whenever I'm importing an indicator it doesnt overlay on the cha...
PEDRAM.JOKAR Is this compatible with IBKR PRT platform? how can i get a tutorial of IBKR coding?
robertogozzi I don't know, if you have a demo account on it you can try. I don't have it, sorry.
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
3 months 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
assafn I'm really new at this, so be gentle:) how can I create a scanner based on this wonderful i...
Varadero54 Bonjour J'ai essayé de mettre en place dans PRT mais j'ai un message d'erreur? "Erreur d...
jeanguy Quel travail ! Good job thank you !
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.
mitsu21 Hi, it looks nice. I'll try it tomorrow thank you for your share kind regards bruno
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...

Top