OPEN-SOURCE SCRIPT

Percentile Rank of Moving Average Convergence Divergence

Atualizado
This simple indicator provides you three useful information of the Moving Average Convergence Divergence (MACD) indicator:

  • The percentile rank of the current value of the MACD line, displayed by the bright blue line.
  • The percentile rank of the current value of the Signal line, displayed by the dark blue line.
  • The percentile rank of the current value of the Histogram line, displayed by the olive histogram.


This indicator can be useful to identify the strength of trend. This indicator makes the assumption that market tends to revert into the opposite direction. If the market has been trending a lot, it should consolidate for a while later. If the market has been consolidating for a long time, it would begin trending real soon.

When we see a low percentile rank, no matter which line it is, this tells that the market hasn't been moving much, or there is little momentum. If the percentile rank stays below the median or even below the first quartile for a long time, this could suggest that the market is ready for the next trend since it has stored quite some energy.

When we see a high percentile rank, no matter which line it is, this tells that the market has been trending a lot, or there is much momentum. If the percentile rank stays above the median or even above the third quartile for a long time, it is probable that the market has used up much of its energy and is going to take a rest (consolidate).
Notas de Lançamento
Update the picture of how the indicator should look.
Moving Average Convergence / Divergence (MACD)percentilerank

Script de código aberto

No verdadeiro espírito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam compreendê-lo e analisá-lo. Parabéns ao autor! Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

Quer usar esse script no gráfico?

Aviso legal