OPEN-SOURCE SCRIPT

Average Distribution of Price

7 132
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.

Aviso legal

As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.