OPEN-SOURCE SCRIPT
Multi-Indicator Dashboard

# Multi-Indicator Dashboard v3.7
## What Makes This Script Original?
This dashboard is **not a simple indicator mashup**. It implements a **unique multi-layer decision system** that combines three distinct methodologies into a unified framework:
1. **Ehlers' Laguerre Mathematics** - 18 weighted Laguerre filters with consensus voting
2. **Minervini's Trend Template** - Structural trend analysis using SMA relationships
3. **Defensive Voting System** - A 7-jury protection mechanism to prevent false signals
The key innovation is the **layered signal override architecture**: each layer can downgrade (but never upgrade) signals from the previous layer, creating a "safety net" that catches bull traps and false breakouts.
---
## How It Works: The 5-Layer Protection System
### Layer 1: Laguerre Consensus (Signal Generation)
The script calculates 18 Laguerre filters with gamma values from 0.10 to 0.95. Each filter "votes" bullish or bearish based on:
- Price position relative to filter
- Filter direction (rising/falling)
Votes are weighted by gamma (slower filters = higher weight). The **Effective Consensus** percentage determines the base signal strength.
### Layer 2: Market Filter (Macro Protection)
```
IF Reference Index (SPY/QQQ) < 200-day SMA
THEN Market = Bearish → Block ENTER signals
```
This prevents new entries during bear markets, regardless of individual stock strength.
### Layer 3: Regime Filter (Market Condition)
The script detects three market regimes using 7 criteria:
- ADX level (trend strength)
- DI+ vs DI- spread
- RSI position
- SMA convergence
- Volatility contraction
- Laguerre spread
**Choppy or Sideways regime** → Downgrade TREND/ENTER to CAUTION
### Layer 4: Protection Score (7-Jury System)
Seven independent "juries" vote on structural health:
| Jury | Condition | Meaning |
|------|-----------|---------|
| Laguerre | Close < Lag01 | Fast support broken |
| MACD | Histogram < 0 | Momentum negative |
| OBV | Trend = -1 | Volume selling |
| SMA20 | Close < SMA20 | Short-term trend broken |
| EMA Structure | EMA10 < SMA20 | Trend structure damaged |
| RS Line | RS < RS SMA50 | Underperforming index |
| Net Momentum | RSC < 50 | Sellers stronger than buyers |
**Scoring:**
- 0-1 points: Normal
- 2 points: Yellow Alert (TREND → WAIT)
- 3+ points: Red Alert (→ CAUTION)
### Layer 5: RSI Divergence Alert (Visual Warning)
When price approaches a 60-day high but RSI is 5+ points lower than at the previous peak, a warning icon (⚠️) appears. This **does not change signals** - it's informational only.
---
## Signal Interpretation
| Signal | Code | Meaning | Action |
|--------|------|---------|--------|
| 🟢 ENTER | 5 | Strong setup, all layers confirm | Consider entry |
| 🟢 TREND | 4 | Trend continues, structure intact | Hold position |
| 🟠 CAUTION | 3 | Warning signs present | Avoid new entries |
| 🟡 WATCH | 2 | Developing, too early | Monitor closely |
| ⚪ WAIT | 1 | Conditions unfavorable | Stay in cash |
---
## Key Indicators Explained
### RSC (Relative Strength of Change)
```
RSC = Sum of Positive Changes / Total Changes × 100
```
- RSC > 50: Buyers creating larger moves
- RSC < 50: Sellers creating larger moves
### Effective Consensus
Weighted average of 18 Laguerre filter votes. Higher gamma filters (slower, more reliable) have 2x weight compared to fast filters.
### LaRSI (Laguerre RSI)
Ehlers' smoothed RSI variant. Key zones:
- Below 0.20: Oversold (potential bottom)
- 0.30-0.55: Pullback zone (entry opportunity if turning up)
- Above 0.80: Overbought (caution)
---
## How to Use
1. **Check FINAL SIGNAL** - This is the output after all 5 layers process
2. **Read Status Row** - Shows which filter is currently active (if any)
3. **Monitor RSI Alert** - Orange color with ⚠️ means divergence detected
4. **Use Data Window** - Right-click chart → Data Window for all raw values
### Settings
- **Reference Index**: SPY for US stocks, BTCUSD for crypto
- **RS Lookback**: Period for relative strength calculation (default 50)
- **Filters can be toggled** on/off based on your strategy
---
## Important Disclaimers
- This indicator does not guarantee profits
- Past performance ≠ future results
- ENTER signal ≠ "buy immediately" - always confirm with your own analysis
- Risk management remains your responsibility
---
## Credits & Methodology Sources
- **Laguerre Filters**: John Ehlers, "Cybernetic Analysis for Stocks and Futures"
- **Trend Template**: Mark Minervini, "Trade Like a Stock Market Wizard"
- **CANSLIM**: William O'Neil, "How to Make Money in Stocks"
---
## What Makes This Script Original?
This dashboard is **not a simple indicator mashup**. It implements a **unique multi-layer decision system** that combines three distinct methodologies into a unified framework:
1. **Ehlers' Laguerre Mathematics** - 18 weighted Laguerre filters with consensus voting
2. **Minervini's Trend Template** - Structural trend analysis using SMA relationships
3. **Defensive Voting System** - A 7-jury protection mechanism to prevent false signals
The key innovation is the **layered signal override architecture**: each layer can downgrade (but never upgrade) signals from the previous layer, creating a "safety net" that catches bull traps and false breakouts.
---
## How It Works: The 5-Layer Protection System
### Layer 1: Laguerre Consensus (Signal Generation)
The script calculates 18 Laguerre filters with gamma values from 0.10 to 0.95. Each filter "votes" bullish or bearish based on:
- Price position relative to filter
- Filter direction (rising/falling)
Votes are weighted by gamma (slower filters = higher weight). The **Effective Consensus** percentage determines the base signal strength.
### Layer 2: Market Filter (Macro Protection)
```
IF Reference Index (SPY/QQQ) < 200-day SMA
THEN Market = Bearish → Block ENTER signals
```
This prevents new entries during bear markets, regardless of individual stock strength.
### Layer 3: Regime Filter (Market Condition)
The script detects three market regimes using 7 criteria:
- ADX level (trend strength)
- DI+ vs DI- spread
- RSI position
- SMA convergence
- Volatility contraction
- Laguerre spread
**Choppy or Sideways regime** → Downgrade TREND/ENTER to CAUTION
### Layer 4: Protection Score (7-Jury System)
Seven independent "juries" vote on structural health:
| Jury | Condition | Meaning |
|------|-----------|---------|
| Laguerre | Close < Lag01 | Fast support broken |
| MACD | Histogram < 0 | Momentum negative |
| OBV | Trend = -1 | Volume selling |
| SMA20 | Close < SMA20 | Short-term trend broken |
| EMA Structure | EMA10 < SMA20 | Trend structure damaged |
| RS Line | RS < RS SMA50 | Underperforming index |
| Net Momentum | RSC < 50 | Sellers stronger than buyers |
**Scoring:**
- 0-1 points: Normal
- 2 points: Yellow Alert (TREND → WAIT)
- 3+ points: Red Alert (→ CAUTION)
### Layer 5: RSI Divergence Alert (Visual Warning)
When price approaches a 60-day high but RSI is 5+ points lower than at the previous peak, a warning icon (⚠️) appears. This **does not change signals** - it's informational only.
---
## Signal Interpretation
| Signal | Code | Meaning | Action |
|--------|------|---------|--------|
| 🟢 ENTER | 5 | Strong setup, all layers confirm | Consider entry |
| 🟢 TREND | 4 | Trend continues, structure intact | Hold position |
| 🟠 CAUTION | 3 | Warning signs present | Avoid new entries |
| 🟡 WATCH | 2 | Developing, too early | Monitor closely |
| ⚪ WAIT | 1 | Conditions unfavorable | Stay in cash |
---
## Key Indicators Explained
### RSC (Relative Strength of Change)
```
RSC = Sum of Positive Changes / Total Changes × 100
```
- RSC > 50: Buyers creating larger moves
- RSC < 50: Sellers creating larger moves
### Effective Consensus
Weighted average of 18 Laguerre filter votes. Higher gamma filters (slower, more reliable) have 2x weight compared to fast filters.
### LaRSI (Laguerre RSI)
Ehlers' smoothed RSI variant. Key zones:
- Below 0.20: Oversold (potential bottom)
- 0.30-0.55: Pullback zone (entry opportunity if turning up)
- Above 0.80: Overbought (caution)
---
## How to Use
1. **Check FINAL SIGNAL** - This is the output after all 5 layers process
2. **Read Status Row** - Shows which filter is currently active (if any)
3. **Monitor RSI Alert** - Orange color with ⚠️ means divergence detected
4. **Use Data Window** - Right-click chart → Data Window for all raw values
### Settings
- **Reference Index**: SPY for US stocks, BTCUSD for crypto
- **RS Lookback**: Period for relative strength calculation (default 50)
- **Filters can be toggled** on/off based on your strategy
---
## Important Disclaimers
- This indicator does not guarantee profits
- Past performance ≠ future results
- ENTER signal ≠ "buy immediately" - always confirm with your own analysis
- Risk management remains your responsibility
---
## Credits & Methodology Sources
- **Laguerre Filters**: John Ehlers, "Cybernetic Analysis for Stocks and Futures"
- **Trend Template**: Mark Minervini, "Trade Like a Stock Market Wizard"
- **CANSLIM**: William O'Neil, "How to Make Money in Stocks"
---
Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.
Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.