OPEN-SOURCE SCRIPT

RSI Confluence Matrix

523
**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.

Aviso legal

As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.