OPEN-SOURCE SCRIPT
RSI Confluence Matrix

**RSI Confluence Matrix**
A structured, multi-layer confirmation indicator designed to identify high-probability trade setups by combining momentum, exhaustion, and higher timeframe trend alignment.
---
### 🔍 Core Concept
This tool is built around a simple idea:
> **Trades are only valid when momentum shift aligns with broader trend direction.**
Instead of relying on a single signal, the RSI Confluence Matrix stacks three independent conditions:
---
### ⚙️ How It Works
**1. RSI Exhaustion (Setup Phase)**
* Detects when RSI reaches extreme levels:
* Below 30 (oversold)
* Above 70 (overbought)
* Requires this condition to occur **twice**, filtering out weak or premature signals.
**2. Momentum Shift (Trigger Phase)**
* Confirms direction using the RSI 50 level:
* Cross above 50 → bullish shift
* Cross below 50 → bearish shift
**3. Multi-Timeframe Trend Alignment (Filter Phase)**
* Tracks price position relative to the **EMA 200** across:
* 4H, 2H, 1H, 45M, 30M, 15M
* Each timeframe is classified as:
* **Green** → price above EMA 200
* **Red** → price below EMA 200
A valid trade requires **at least 5 timeframes aligned** in the same direction.
---
### 🟢 Signal Conditions
**BUY Setup**
* RSI crosses below 30 twice
* RSI crosses above 50
* At least 5 timeframes above EMA 200 (Green)
**SELL Setup**
* RSI crosses above 70 twice
* RSI crosses below 50
* At least 5 timeframes below EMA 200 (Red)
---
### 📊 Table Overview
The built-in matrix displays real-time trend alignment:
* Each column represents a timeframe
* Color-coded bias (Green / Red)
* Final column shows dominant direction:
* Majority Green → Bullish bias
* Majority Red → Bearish bias
* Equal → Neutral (No Trade)
---
### 🎯 How to Use
* Focus only on signals that align with the matrix bias
* Avoid trades when the table shows mixed or neutral conditions
* Best used in conjunction with key levels (structure, pivots, liquidity zones)
---
### ⚠️ Notes
* This indicator is designed to **filter noise and reduce low-quality trades**, not to increase trade frequency
* Signals may be less frequent but are intended to offer stronger confirmation
* This tool does not guarantee outcomes; proper risk management is essential
---
### 🤖 Development Note
This indicator includes enhancements developed with the assistance of AI to improve structure, clarity, and efficiency of the underlying logic.
A structured, multi-layer confirmation indicator designed to identify high-probability trade setups by combining momentum, exhaustion, and higher timeframe trend alignment.
---
### 🔍 Core Concept
This tool is built around a simple idea:
> **Trades are only valid when momentum shift aligns with broader trend direction.**
Instead of relying on a single signal, the RSI Confluence Matrix stacks three independent conditions:
---
### ⚙️ How It Works
**1. RSI Exhaustion (Setup Phase)**
* Detects when RSI reaches extreme levels:
* Below 30 (oversold)
* Above 70 (overbought)
* Requires this condition to occur **twice**, filtering out weak or premature signals.
**2. Momentum Shift (Trigger Phase)**
* Confirms direction using the RSI 50 level:
* Cross above 50 → bullish shift
* Cross below 50 → bearish shift
**3. Multi-Timeframe Trend Alignment (Filter Phase)**
* Tracks price position relative to the **EMA 200** across:
* 4H, 2H, 1H, 45M, 30M, 15M
* Each timeframe is classified as:
* **Green** → price above EMA 200
* **Red** → price below EMA 200
A valid trade requires **at least 5 timeframes aligned** in the same direction.
---
### 🟢 Signal Conditions
**BUY Setup**
* RSI crosses below 30 twice
* RSI crosses above 50
* At least 5 timeframes above EMA 200 (Green)
**SELL Setup**
* RSI crosses above 70 twice
* RSI crosses below 50
* At least 5 timeframes below EMA 200 (Red)
---
### 📊 Table Overview
The built-in matrix displays real-time trend alignment:
* Each column represents a timeframe
* Color-coded bias (Green / Red)
* Final column shows dominant direction:
* Majority Green → Bullish bias
* Majority Red → Bearish bias
* Equal → Neutral (No Trade)
---
### 🎯 How to Use
* Focus only on signals that align with the matrix bias
* Avoid trades when the table shows mixed or neutral conditions
* Best used in conjunction with key levels (structure, pivots, liquidity zones)
---
### ⚠️ Notes
* This indicator is designed to **filter noise and reduce low-quality trades**, not to increase trade frequency
* Signals may be less frequent but are intended to offer stronger confirmation
* This tool does not guarantee outcomes; proper risk management is essential
---
### 🤖 Development Note
This indicator includes enhancements developed with the assistance of AI to improve structure, clarity, and efficiency of the underlying logic.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que cualquier republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que cualquier republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.