OPEN-SOURCE SCRIPT
Profit Purify + Ultimate RSI

Range-Bound Oscillator
RSI values range from 0 to 100.
Typically, an asset is considered:
Overbought when RSI > 70 (may indicate a potential pullback or reversal).
Oversold when RSI < 30 (may suggest a possible bounce or upward move).
Default Period
Most traders use a 14-period RSI (can be adjusted for different timeframes).
Formula
R
S
I
=
100
−
(
100
1
+
R
S
)
RSI=100−(
1+RS
100
)
Where RS (Relative Strength) = Average Gain / Average Loss over the selected period.
Divergence
Bullish Divergence: Price makes lower lows, but RSI makes higher lows (potential upward reversal).
Bearish Divergence: Price makes higher highs, but RSI makes lower highs (potential downward reversal).
Failure Swings
Strong signals when RSI breaks below 30 (oversold) and then rises back above it, or breaks above 70 (overbought) and then falls back below.
Common Uses:
Trend Confirmation: RSI staying above 50 suggests bullish momentum, while below 50 indicates bearish momentum.
Entry/Exit Signals: Traders look for overbought/oversold conditions to time trades.
Combining with Other Indicators: Often used with moving averages, MACD, or support/resistance levels for stronger signals.
RSI values range from 0 to 100.
Typically, an asset is considered:
Overbought when RSI > 70 (may indicate a potential pullback or reversal).
Oversold when RSI < 30 (may suggest a possible bounce or upward move).
Default Period
Most traders use a 14-period RSI (can be adjusted for different timeframes).
Formula
R
S
I
=
100
−
(
100
1
+
R
S
)
RSI=100−(
1+RS
100
)
Where RS (Relative Strength) = Average Gain / Average Loss over the selected period.
Divergence
Bullish Divergence: Price makes lower lows, but RSI makes higher lows (potential upward reversal).
Bearish Divergence: Price makes higher highs, but RSI makes lower highs (potential downward reversal).
Failure Swings
Strong signals when RSI breaks below 30 (oversold) and then rises back above it, or breaks above 70 (overbought) and then falls back below.
Common Uses:
Trend Confirmation: RSI staying above 50 suggests bullish momentum, while below 50 indicates bearish momentum.
Entry/Exit Signals: Traders look for overbought/oversold conditions to time trades.
Combining with Other Indicators: Often used with moving averages, MACD, or support/resistance levels for stronger signals.
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。