OPEN-SOURCE SCRIPT

RSI Divergence Strategy

4 716
Script identifies bullish and bearish divergences, hidden and regular. Accurate on all timeframes. There are several videos on trading with a divergence strategy, but the divergences are hard to spot.
These can be adjusted but chat gpt independently checked various token vitals and compared to the chart, and found the chart accurate with current settings.

lookback = input.int(40, title="Lookback Period for Divergence") (30-60)
minSwingDistPercent = input.float(1.5, title="Minimum Swing Distance (%)") (0.5-2.0)
minPriceMovePercent = input.float(0.5, title="Minimum Price Move from Last Swing (%)") (0.5-2.0)

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.