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.

Skrip terproteksi
Skrip ini dipublikasikan secara closed-source dan anda dapat menggunakannya dengan bebas. Anda dapat memfavoritkannya untuk digunakan pada grafik. Anda tidak dapat melihat atau mengubah kode sumbernya.
Pernyataan Penyangkalan

Informasi dan publikasi tidak dimaksudkan untuk menjadi, dan bukan merupakan saran keuangan, investasi, perdagangan, atau rekomendasi lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Persyaratan Penggunaan.

Inggin menggunakan skrip ini pada chart?