OPEN-SOURCE SCRIPT

Percentile Rank of Moving Average Convergence Divergence

Mis à jour
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).
Notes de version
Update the picture of how the indicator should look.
Moving Average Convergence / Divergence (MACD)percentilerank

Script open-source

Dans le plus pur esprit TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par nos Règles. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Vous voulez utiliser ce script sur un graphique ?

Clause de non-responsabilité