OPEN-SOURCE SCRIPT
RSI + S/R + FVG + BOS + CHoCH Setup

RSI + Support/Resistance + FVG + BOS + CHoCH
This indicator combines five popular technical analysis concepts into one structured market setup: RSI, Support & Resistance, Fair Value Gaps (FVG), Break of Structure (BOS), and Change of Character (CHoCH).
The goal is to identify higher-quality potential long and short setups by requiring multiple confirmations instead of relying on a single indicator.
How the Indicator Works
🟢 Long / BUY Setup
A bullish setup is generated when the following conditions align:
Support: Price is trading near a recent swing-low support area.
BOS / CHoCH: The market confirms bullish structural strength by breaking a previous swing high.
Bullish FVG: A bullish Fair Value Gap is detected or price returns into the latest bullish FVG.
RSI: RSI is above the configured bullish level, confirming bullish momentum.
When the required conditions are satisfied, the indicator displays a BUY signal.
Basic flow:
Support → Bullish BOS/CHoCH → Bullish FVG → RSI Confirmation → BUY
🔴 Short / SELL Setup
A bearish setup is generated when:
Resistance: Price is trading near a recent swing-high resistance area.
BOS / CHoCH: The market confirms bearish structural weakness by breaking a previous swing low.
Bearish FVG: A bearish Fair Value Gap is detected or price returns into the latest bearish FVG.
RSI: RSI is below the configured bearish level, confirming bearish momentum.
When the required conditions are satisfied, the indicator displays a SELL signal.
Basic flow:
Resistance → Bearish BOS/CHoCH → Bearish FVG → RSI Confirmation → SELL
Main Features
RSI Confirmation
Uses RSI to help determine whether bullish or bearish momentum is present. The RSI levels can be customized according to your trading style.
Support & Resistance
Recent swing highs and swing lows are used to identify potential resistance and support areas.
BOS — Break of Structure
Detects when price breaks an important recent swing high or swing low, helping identify continuation or structural changes.
CHoCH — Change of Character
Helps identify potential changes in market direction when price breaks structure against the previously established trend.
FVG — Fair Value Gap
Identifies three-candle price imbalances and displays bullish and bearish FVG zones directly on the chart.
Signal Window
The structure confirmation can remain valid for a configurable number of bars, allowing price time to return toward an FVG or key level.
Alerts
BUY and SELL alert conditions are included so you can create TradingView alerts when a setup is confirmed.
Recommended Usage
The indicator is designed to be used as a confluence-based confirmation tool, rather than as a standalone automatic trading system.
For example, a trader could wait for:
1. Price to approach support.
2. A liquidity reaction or market-structure shift.
3. Bullish BOS/CHoCH confirmation.
4. A bullish FVG to form or become available for a retracement.
5. RSI to confirm bullish momentum.
6. BUY signal to appear.
7. Stop-loss to be placed below the relevant swing/support.
8. Take-profit to be based on a predefined risk/reward ratio or the next major resistance/liquidity area.
The opposite process can be used for short trades.
Important Note
This indicator does not guarantee profitable trades. Market conditions, volatility, timeframe, spread, liquidity and execution can significantly affect results.
BOS, CHoCH, FVG, support/resistance and RSI are interpreted using predefined mathematical rules in the script. These definitions may differ from how individual traders manually identify them.
Always test the indicator on your preferred market and timeframe before using it with real money, and use appropriate risk management.
Best practice: combine the signals with higher-timeframe market structure, liquidity levels and disciplined risk management rather than taking every BUY or SELL signal automatically.
This indicator combines five popular technical analysis concepts into one structured market setup: RSI, Support & Resistance, Fair Value Gaps (FVG), Break of Structure (BOS), and Change of Character (CHoCH).
The goal is to identify higher-quality potential long and short setups by requiring multiple confirmations instead of relying on a single indicator.
How the Indicator Works
🟢 Long / BUY Setup
A bullish setup is generated when the following conditions align:
Support: Price is trading near a recent swing-low support area.
BOS / CHoCH: The market confirms bullish structural strength by breaking a previous swing high.
Bullish FVG: A bullish Fair Value Gap is detected or price returns into the latest bullish FVG.
RSI: RSI is above the configured bullish level, confirming bullish momentum.
When the required conditions are satisfied, the indicator displays a BUY signal.
Basic flow:
Support → Bullish BOS/CHoCH → Bullish FVG → RSI Confirmation → BUY
🔴 Short / SELL Setup
A bearish setup is generated when:
Resistance: Price is trading near a recent swing-high resistance area.
BOS / CHoCH: The market confirms bearish structural weakness by breaking a previous swing low.
Bearish FVG: A bearish Fair Value Gap is detected or price returns into the latest bearish FVG.
RSI: RSI is below the configured bearish level, confirming bearish momentum.
When the required conditions are satisfied, the indicator displays a SELL signal.
Basic flow:
Resistance → Bearish BOS/CHoCH → Bearish FVG → RSI Confirmation → SELL
Main Features
RSI Confirmation
Uses RSI to help determine whether bullish or bearish momentum is present. The RSI levels can be customized according to your trading style.
Support & Resistance
Recent swing highs and swing lows are used to identify potential resistance and support areas.
BOS — Break of Structure
Detects when price breaks an important recent swing high or swing low, helping identify continuation or structural changes.
CHoCH — Change of Character
Helps identify potential changes in market direction when price breaks structure against the previously established trend.
FVG — Fair Value Gap
Identifies three-candle price imbalances and displays bullish and bearish FVG zones directly on the chart.
Signal Window
The structure confirmation can remain valid for a configurable number of bars, allowing price time to return toward an FVG or key level.
Alerts
BUY and SELL alert conditions are included so you can create TradingView alerts when a setup is confirmed.
Recommended Usage
The indicator is designed to be used as a confluence-based confirmation tool, rather than as a standalone automatic trading system.
For example, a trader could wait for:
1. Price to approach support.
2. A liquidity reaction or market-structure shift.
3. Bullish BOS/CHoCH confirmation.
4. A bullish FVG to form or become available for a retracement.
5. RSI to confirm bullish momentum.
6. BUY signal to appear.
7. Stop-loss to be placed below the relevant swing/support.
8. Take-profit to be based on a predefined risk/reward ratio or the next major resistance/liquidity area.
The opposite process can be used for short trades.
Important Note
This indicator does not guarantee profitable trades. Market conditions, volatility, timeframe, spread, liquidity and execution can significantly affect results.
BOS, CHoCH, FVG, support/resistance and RSI are interpreted using predefined mathematical rules in the script. These definitions may differ from how individual traders manually identify them.
Always test the indicator on your preferred market and timeframe before using it with real money, and use appropriate risk management.
Best practice: combine the signals with higher-timeframe market structure, liquidity levels and disciplined risk management rather than taking every BUY or SELL signal automatically.
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。