OPEN-SOURCE SCRIPT
Aggiornato Bob Volman - Consolidation Box

This indicator identifies consolidation zones based on Bob Volman's scalping methodology. It highlights tight price ranges where the market is coiling before a potential breakout.
🔧 Features
📊 Detects consolidation boxes based on:
• Minimum number of candles
• ATR-based range filter (ATR × multiplier)
• Proximity to EMA (EMA ± multiplier × ATR)
⏩ Automatically extends the box while price remains inside
❌ Option to hide boxes after breakout
🧾 Status line plots:
• 🔺 Box High / 🔻 Box Low
• 📏 Box Range (in ATR units)
• 🕒 Box Length (number of bars)
⚙️ Fully customizable: ATR/EMA lengths, multipliers, border color
🔔 Alert on new consolidation box
🎯 Use Cases
✅ Combine with volume, breakout confirmation, market structure, and price action for better accuracy
📚 Inspired by the book: "Understanding Price Action" by Bob Volman
🔧 Features
📊 Detects consolidation boxes based on:
• Minimum number of candles
• ATR-based range filter (ATR × multiplier)
• Proximity to EMA (EMA ± multiplier × ATR)
⏩ Automatically extends the box while price remains inside
❌ Option to hide boxes after breakout
🧾 Status line plots:
• 🔺 Box High / 🔻 Box Low
• 📏 Box Range (in ATR units)
• 🕒 Box Length (number of bars)
⚙️ Fully customizable: ATR/EMA lengths, multipliers, border color
🔔 Alert on new consolidation box
🎯 Use Cases
- Identify tight consolidation zones before breakout
- Improve scalping entries and exits
- Spot potential support/resistance areas
✅ Combine with volume, breakout confirmation, market structure, and price action for better accuracy
📚 Inspired by the book: "Understanding Price Action" by Bob Volman
Note di rilascio
✅ Added:➕ Grouped input settings (General, ATR, EMA, Option, Alert)
➕ Option to show/hide EMA (showEma, default: ON)
➕ Option to show only the latest box (showLastBoxOnly, default: ON)
➕ Option to display box info table (showLastBoxTable, default: ON)
➕ Optional alerts for new box and breakout:
• alertNewBox (default: OFF)
• alertBreakingOut (default: ON)
🔔 Alerts:
➕ Breakout and new box alerts are now optional via user settings
🛠 Changed:
➕ Cleaner box lifecycle logic with lastBox handling
➕ UI inputs now grouped for better organization
Note di rilascio
- consolidatingBorderColor: box border color during consolidation (group: Styles)
- breakoutBorderColor: box border color on breakout (group: Styles)
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.