PoiBox

PoiBox is a comprehensive market structure analysis tool designed to identify high-probability trading zones through advanced internal market structure (IDM) detection and points of interest (POI) calculation.
## How It Works
The indicator uses a multi-step approach to analyze price action:
1. **Market Structure Identification**: The script identifies significant highs and lows within your selected time range to determine the overall market structure direction (up or down).
2. **IDM Pattern Detection**: It then analyzes internal market structure patterns within this range, focusing on significant price movements that create trading opportunities.
3. **POI Calculation**: Using adaptive ATR measurements across multiple timeframes, the indicator calculates precise POI zones where price is likely to react. These zones are calibrated based on the volatility profile of each identified structure.
4. **Timeframe Correlation**: The script automatically determines which timeframe best matches each structure's size, providing valuable context for your trading decisions.
5. **Technical Implementation**: The indicator uses a sophisticated algorithm to analyze price swings, identify pivot points, and calculate market structure connections. It maintains a database of significant highs/lows and uses these to determine trend direction and potential reversal zones.
## Display Modes
PoiBox offers three powerful display options:
- **Main BOS**: Shows only the most significant breakout structure with its associated POI zone
- **Leg**: Displays the largest price leg within the selected range along with percentage-based POI zones
- **All IDMs**: Reveals all detected internal market structures and their POI zones
## Advanced Features
- **QM Mode**: Visualizes important market structure relationships with dashed lines connecting significant highs and lows
- **Trick Display**: Identifies nested market structures (tricks) within larger patterns, perfect for precision entries
- **Customizable POI Labels**: Control which price labels appear to maintain chart clarity
- **Extensive Color Settings**: Fully customizable colors for all visual elements
- **Safety Functions**: Includes built-in buffer management and error prevention algorithms to ensure stable performance across all timeframes and market conditions
## Trading Examples
**Downtrend Example:**
When PoiBox identifies a downtrend structure (Higher High → High → Low → Lower Low), it creates POI zones based on the market structure. As shown in the chart, these zones provide excellent entry opportunities when price returns to test previous structure. In this example, entering at the red POI zone with a stop above the zone and target at the QM level resulted in a 3.45 risk/reward trade.
**How to Read QM Lines:**
The dashed lines connecting High → Low → Higher High → Lower Low reveal the market's true structure. These connections help you anticipate where price might head next. When price breaks below a significant Low and creates a Lower Low, it confirms the downtrend continuation and provides a trading opportunity when price retests the broken structure.
**POI Zone Interpretation:**
- Red zones indicate bearish POI areas (ideal for short entries)
- Green zones indicate bullish POI areas (ideal for long entries)
- Yellow zones highlight the identified market structure
## Practical Application Example
In the GBP/USD example shown in the chart:
1. PoiBox identified a downtrend structure with Higher High → High → Low → Lower Low
2. The yellow box shows the main market structure area
3. The red POI zone appeared when price returned to test previous structure
4. Entry was taken at the POI zone with stop loss above structure
5. Target was placed at the QM level, resulting in a 3.45 risk/reward ratio trade
6. The dashed QM lines showed the overall market flow and direction
This demonstrates how PoiBox automatically identifies optimal entry and exit points based on market structure, without requiring manual analysis of each price swing.
## Mathematical Approach
PoiBox uses several mathematical concepts to determine market structure and calculate POI zones:
1. **Adaptive ATR Integration**: The script analyzes ATR (Average True Range) across multiple timeframes (M1, M5, M15, H1, H4, D1, W1, MN1) to determine the appropriate volatility context for each structure.
2. **Height-to-ATR Ratio**: The indicator calculates the ratio between structure height and the closest matching ATR value to determine the structure's timeframe context.
3. **Dynamic POI Calculation**: POI values are calculated using the formula:
`POI = factor * (atr_trigger + atr_double_trigger)`
where `factor` is derived from the structure's height-to-ATR ratio.
4. **Self-Adjusting Limits**: If the calculated POI value exceeds certain thresholds relative to structure height, the script automatically applies proportional adjustments to maintain optimal zone sizing.
## What Makes PoiBox Unique
While many indicators use common concepts like support/resistance or trend analysis, PoiBox stands apart through its:
1. **Adaptive POI Calculation**: Unlike static indicators, PoiBox automatically calibrates POI zones based on each market structure's volatility profile by analyzing ATR across multiple timeframes.
2. **Smart Timeframe Detection**: The indicator automatically determines the most relevant timeframe for each structure, eliminating guesswork and helping you align your trading with the appropriate market cycles.
3. **QM Visualization System**: Our proprietary QM visualization method reveals hidden market structure relationships that standard indicators cannot detect, giving you an edge in anticipating price movements.
4. **Nested Pattern Recognition**: The "Trick" detection feature identifies high-probability setups where smaller patterns form within larger ones, creating precise entry opportunities missed by conventional tools.
5. **Self-Adjusting Analysis**: PoiBox dynamically adapts to changing market conditions without requiring manual parameter adjustments, saving you time and increasing accuracy.
These innovations combine to create a truly original trading system that transforms complex market structure concepts into clear, actionable signals.
## How To Use
1. Define your analysis area using the time range selectors (X1 and X2)
2. Choose your preferred display mode based on your trading style
3. Enable QM Mode for additional market structure context if needed
4. Use the POI zones as potential entry and exit areas for your trades
5. Reference the automatically detected timeframe indicators to align your trading with the appropriate timeframe
### Settings Explanation
**Display Settings:**
- Display Mode: Choose between Main BOS, Leg, or All IDMs visualization
- QM Mode: Enable to see market structure connections with dashed lines
**Trick Settings:**
- Trick Display: Show the main trick or all nested patterns
- Trick POI: Control which POI zones appear for trick patterns
**Label Settings:**
- Leg POI %: Customize percentage-based POI zones in Leg mode
- POI Labels: Control which price labels appear on your chart
**Time Range:**
- X1 and X2: Define the analysis area for market structure detection
**Colors:**
- TF Color: Color for timeframe labels
- H/L Color: Color for high/low labels
- QM Lines: Color for market structure connection lines
- Trick Color: Color for nested pattern visualization
This indicator is designed for traders who understand market structure concepts and want a powerful tool that automatically identifies high-probability trading zones based on structural price patterns and volatility-adjusted measurements.
Script su invito
Solo gli utenti autorizzati dall'autore hanno accesso a questo script e ciò richiede solitamente un pagamento. Puoi aggiungere lo script ai tuoi preferiti, ma potrai utilizzarlo solo dopo aver richiesto l'autorizzazione e averla ottenuta dal suo autore - per saperne di più leggi qui. Per maggiori dettagli, segui le istruzioni dell'autore qui sotto o contatta direttamente Atabaki.
TradingView NON consiglia di pagare o utilizzare uno script a meno che non ci si fidi pienamente del suo autore e non si comprenda il suo funzionamento. Puoi anche trovare alternative gratuite e open-source nei nostri script della comunità.
Istruzioni dell'autore
Attenzione: prima di richiedere l'accesso, leggi la nostra guida per gli script su invito.
Declinazione di responsabilità
Script su invito
Solo gli utenti autorizzati dall'autore hanno accesso a questo script e ciò richiede solitamente un pagamento. Puoi aggiungere lo script ai tuoi preferiti, ma potrai utilizzarlo solo dopo aver richiesto l'autorizzazione e averla ottenuta dal suo autore - per saperne di più leggi qui. Per maggiori dettagli, segui le istruzioni dell'autore qui sotto o contatta direttamente Atabaki.
TradingView NON consiglia di pagare o utilizzare uno script a meno che non ci si fidi pienamente del suo autore e non si comprenda il suo funzionamento. Puoi anche trovare alternative gratuite e open-source nei nostri script della comunità.
Istruzioni dell'autore
Attenzione: prima di richiedere l'accesso, leggi la nostra guida per gli script su invito.