PROTECTED SOURCE SCRIPT
Aggiornato TradeCraftly - 4 Flag Pattern

🚀 4 Flag
This indicator highlights **hidden market compression** by detecting a powerful **4-candle alternating pattern** where price remains tightly balanced between buyers and sellers.
It identifies sequences where candles **strictly alternate in direction** (Green-Red-Green-Red or Red-Green-Red-Green) while price stays **compressed within a shared Open-Close range**, filtering out noise and false consolidations using smart wick control.
The result is a **clean visual range box** that marks areas of **absorption, balance, and potential breakout energy**—often appearing just before strong directional moves.
---
### 💡 Ideal For
* Spotting **pre-breakout consolidation**
* Identifying **liquidity build-up zones**
* Timing **breakout or expansion trades**
* Enhancing entries with **VWAP, CPR, or session levels**
---
### ✅ Key Features
* Works on **any chart timeframe**
* **Non-repainting**
* Noise-filtered using **wick-to-body logic**
* Simple, clean, and **trader-focused**
This indicator highlights **hidden market compression** by detecting a powerful **4-candle alternating pattern** where price remains tightly balanced between buyers and sellers.
It identifies sequences where candles **strictly alternate in direction** (Green-Red-Green-Red or Red-Green-Red-Green) while price stays **compressed within a shared Open-Close range**, filtering out noise and false consolidations using smart wick control.
The result is a **clean visual range box** that marks areas of **absorption, balance, and potential breakout energy**—often appearing just before strong directional moves.
---
### 💡 Ideal For
* Spotting **pre-breakout consolidation**
* Identifying **liquidity build-up zones**
* Timing **breakout or expansion trades**
* Enhancing entries with **VWAP, CPR, or session levels**
---
### ✅ Key Features
* Works on **any chart timeframe**
* **Non-repainting**
* Noise-filtered using **wick-to-body logic**
* Simple, clean, and **trader-focused**
Note di rilascio
🔄 Update Notes- Added body size similarity filter to ensure all four candles have nearly equal body sizes
- Introduced Body Size Tolerance (%) input for fine control over pattern strictness
- Improved pattern quality by filtering out uneven and noisy candle structures
- Enhances detection of true compression and absorption zones
- No repainting behavior changed
Script protetto
Questo script è pubblicato come codice protetto. Tuttavia, è possibile utilizzarle liberamente e senza alcuna limitazione – ulteriori informazioni qui.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.
Script protetto
Questo script è pubblicato come codice protetto. Tuttavia, è possibile utilizzarle liberamente e senza alcuna limitazione – ulteriori informazioni qui.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.