PROTECTED SOURCE SCRIPT
RSI with Divergences and Trendlines by zen

Displays the standard Relative Strength Index (RSI). The RSI period, line color, and thickness are customizable by the user (defaulting to a 14-period, thin black line).
Includes traditional horizontal lines at the 70 (overbought) and 30 (oversold) levels. The background area between these levels is filled with a customizable color (defaulting to a transparent black).
The indicator intelligently analyzes the RSI's own movements to identify significant recent turning points (peaks and troughs).
It then automatically draws short trendline segments directly on the RSI chart. These lines connect recent, consecutive RSI turning points, dynamically highlighting the indicator's internal structure and immediate directional momentum.
Users can configure the sensitivity used to detect these RSI turning points via 'Pivot Lookback' settings. You can also customize the maximum number of recent trendlines displayed for upward and downward RSI movements (default is 5 each), as well as their colors and width.
These on-RSI trendlines do not extend into the future.
Includes traditional horizontal lines at the 70 (overbought) and 30 (oversold) levels. The background area between these levels is filled with a customizable color (defaulting to a transparent black).
The indicator intelligently analyzes the RSI's own movements to identify significant recent turning points (peaks and troughs).
It then automatically draws short trendline segments directly on the RSI chart. These lines connect recent, consecutive RSI turning points, dynamically highlighting the indicator's internal structure and immediate directional momentum.
Users can configure the sensitivity used to detect these RSI turning points via 'Pivot Lookback' settings. You can also customize the maximum number of recent trendlines displayed for upward and downward RSI movements (default is 5 each), as well as their colors and width.
These on-RSI trendlines do not extend into the future.
Skrip dilindungi
Skrip ini diterbitkan sebagai sumber tertutup. Akan tetapi, anda boleh menggunakannya dengan percuma dan tanpa had – ketahui lebih lanjut di sini.
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.
Skrip dilindungi
Skrip ini diterbitkan sebagai sumber tertutup. Akan tetapi, anda boleh menggunakannya dengan percuma dan tanpa had – ketahui lebih lanjut di sini.
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.