InvestitoreComune

Average Distribution of Price

195
The original script was posted on ProRealCode by user Nicolas.

It reflects the extreme values of closed price over the last N periods. I add lines treshold that act like frontiers to pretend price are in its extremum values, theses ones are calculated as average of the higher and lower deviation from the N mean.

Because price will always revert to its mean, we can take opposite (contrarian) trades when price crosses upper or lower treshold.

This indicator could even be use for scalping purpose in the same direction of the price when it reach the upper or lower lines.
Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?