PROTECTED SOURCE SCRIPT

RSI with Divergences and Trendlines by zen

498
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.

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。