OPEN-SOURCE SCRIPT
Imbalance Repricing Engine [ZOM]

Imbalance Repricing Engine [ZOM]
The Imbalance Repricing Engine is an overlay framework designed to map displacement imbalances, fair-value-gap style zones, repricing reactions, mitigation behavior, and failed imbalance structures using standard OHLCV data.
The idea behind the tool is that strong displacement often leaves inefficient price areas behind. When price later returns to those zones, the reaction can provide useful context: continuation, mitigation, rejection, or failure.
This script attempts to visualize that process directly on the chart.
Core features:
- Bullish and bearish imbalance zone detection
- Displacement filtering using ATR expansion, candle body share, and relative volume
- Active zone tracking with forward projection
- Midpoint traces for each imbalance
- Zone state changes for active, mitigated, and failed areas
- VWAP cloud for premium/discount context
- Estimated delta-pressure score derived from OHLCV structure and volume
- LONG REPRICE and SHORT REPRICE labels with setup scores
- Optional failure labeling
- Latest projection lines for entry, invalidation, target 1, and target 2
- Compact ZOM dashboard with active zone count, last event, delta pressure, relative volume, VWAP state, and score
- Multiple visual templates: Rogue, Emerald, Gold Rush, Arctic, and Mono
How to read it:
Bullish imbalance zones are areas where upside displacement left a gap-like inefficiency behind. If price later revisits the zone and responds with supportive structure, the tool can mark a LONG REPRICE signal.
Bearish imbalance zones work the opposite way. If price revisits a bearish imbalance and rejects with confirming structure, the tool can mark a SHORT REPRICE signal.
Mitigated zones show areas where price has traded back into the imbalance. Failed zones show areas where price closed through the structure strongly enough to weaken the original imbalance thesis.
This tool is most useful on liquid futures and index products where displacement and repricing behavior are easy to observe. The default view was staged for ES / NQ style 15m and 5m analysis with enough structure to be visually useful without flooding the chart.
Important note:
TradingView Pine scripts do not have access to true order book, time-and-sales, or full market depth. Delta pressure, imbalance behavior, and absorption-style context here are modeled from OHLCV-based proxies. Treat this as a contextual framework, not financial advice or a predictive system.
The Imbalance Repricing Engine is an overlay framework designed to map displacement imbalances, fair-value-gap style zones, repricing reactions, mitigation behavior, and failed imbalance structures using standard OHLCV data.
The idea behind the tool is that strong displacement often leaves inefficient price areas behind. When price later returns to those zones, the reaction can provide useful context: continuation, mitigation, rejection, or failure.
This script attempts to visualize that process directly on the chart.
Core features:
- Bullish and bearish imbalance zone detection
- Displacement filtering using ATR expansion, candle body share, and relative volume
- Active zone tracking with forward projection
- Midpoint traces for each imbalance
- Zone state changes for active, mitigated, and failed areas
- VWAP cloud for premium/discount context
- Estimated delta-pressure score derived from OHLCV structure and volume
- LONG REPRICE and SHORT REPRICE labels with setup scores
- Optional failure labeling
- Latest projection lines for entry, invalidation, target 1, and target 2
- Compact ZOM dashboard with active zone count, last event, delta pressure, relative volume, VWAP state, and score
- Multiple visual templates: Rogue, Emerald, Gold Rush, Arctic, and Mono
How to read it:
Bullish imbalance zones are areas where upside displacement left a gap-like inefficiency behind. If price later revisits the zone and responds with supportive structure, the tool can mark a LONG REPRICE signal.
Bearish imbalance zones work the opposite way. If price revisits a bearish imbalance and rejects with confirming structure, the tool can mark a SHORT REPRICE signal.
Mitigated zones show areas where price has traded back into the imbalance. Failed zones show areas where price closed through the structure strongly enough to weaken the original imbalance thesis.
This tool is most useful on liquid futures and index products where displacement and repricing behavior are easy to observe. The default view was staged for ES / NQ style 15m and 5m analysis with enough structure to be visually useful without flooding the chart.
Important note:
TradingView Pine scripts do not have access to true order book, time-and-sales, or full market depth. Delta pressure, imbalance behavior, and absorption-style context here are modeled from OHLCV-based proxies. Treat this as a contextual framework, not financial advice or a predictive system.
Скрипт с открытым кодом
В истинном духе TradingView, создатель этого скрипта сделал его открытым исходным кодом, чтобы трейдеры могли проверить и убедиться в его функциональности. Браво автору! Вы можете использовать его бесплатно, но помните, что перепубликация кода подчиняется нашим Правилам поведения.
Отказ от ответственности
Информация и публикации не предназначены для предоставления и не являются финансовыми, инвестиционными, торговыми или другими видами советов или рекомендаций, предоставленных или одобренных TradingView. Подробнее читайте в Условиях использования.
Скрипт с открытым кодом
В истинном духе TradingView, создатель этого скрипта сделал его открытым исходным кодом, чтобы трейдеры могли проверить и убедиться в его функциональности. Браво автору! Вы можете использовать его бесплатно, но помните, что перепубликация кода подчиняется нашим Правилам поведения.
Отказ от ответственности
Информация и публикации не предназначены для предоставления и не являются финансовыми, инвестиционными, торговыми или другими видами советов или рекомендаций, предоставленных или одобренных TradingView. Подробнее читайте в Условиях использования.