Supervillain

Divergence Detector v1

This indicator looks for divergences between price (close) and the indicator of your choice. You can see which indicators are supported further down. I discovered that there are 2 slight variations on how to calculate divergences in Pinescript, so I used both in this script. 

Benefit: The accuracy of divergence detection becomes much higher. 
Tradeoff: Some of the labels will overlap each other, not looking too pretty. I know how to fix this, but I didn't prioritize it with this version. 

Supported indicators: 

You can switch between them in the settings display of the indicator. Default is set to RSI.

Script protégé
Ce script est publié en code source fermé et vous pouvez l'utiliser librement. Vous pouvez le préférer pour l'utiliser sur un graphique. Vous ne pouvez pas visualiser ou modifier son code source.
Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.

Vous voulez utiliser ce script sur un graphique ?