OPEN-SOURCE SCRIPT
Flow Sate CVD [by Oberlunar]

Flow Sate CVD [by Oberlunar] framework combining cumulative volume delta gap and fair-value gap geometry with an adaptive order-flow and market-state model. It maps Absorption, AAA and Exhaustion structures to price while continuously tracking Flow, Response, Structure and Regime states.
The indicator detects two CVD discontinuity models across configurable timeframes: two-bar TimeFixed CVD gaps and same-anchor three-bar CVD FVGs. Detected events are projected onto their corresponding price zones, with opacity determined solely by the relative magnitude of the CVD gap.
An adaptive classifier evaluates signed CVD pressure, flow persistence, price-impact efficiency, resistance, impact decay, ATR regime, EMA fan structure, multi-scale TRIX/RSI momentum, liquidity and price/CVD divergence. Internal thresholds and fast/mid/slow weights adapt to the observed market state automatically.
The resulting structures are classified as Absorption, AAA (Absorption-Acceptance-Aggression) or Exhaustion. Absorption and AAA create persistent, directionally polarised price zones; Exhaustion is displayed as a point event.
Four continuous lanes summarise the underlying model:
A Flow State meter provides the same four states in compact form. A separate composite combines FLOW, RESPONSE and STRUCTURE, while REGIME adjusts confidence. Its current state is displayed on the price chart through a colour-coded EMA(7): aqua for bullish consensus, red for bearish consensus and grey when the adaptive threshold is not reached.
The UK, US1, and US2 liquidity windows are shown with adaptive session backgrounds and opening labels and can be independently filtered for structural events.
The script uses confirmed historical information with barmerge.lookahead_off for its MTF requests and does not intentionally access future data.
How to Use
Set TF1 for the displayed CVD and optionally enable additional MTF references. Use TimeFixed GAP CVD, CVD FVG, or both. Read the four lanes and Flow State meter as contextual diagnostics; projected Abs/AAA zones identify persistent price areas associated with classified CVD events, while Exhaustion circles mark decay events.
The EMA(7) is a compact visualisation of the composite state: increasing aqua intensity indicates stronger bullish agreement across the model, increasing red intensity indicates stronger bearish agreement, and grey indicates insufficient consensus.
Some specifications
CVD is derived from the volume data available to TradingView and is not equivalent to full limit-order-book order flow. The FLOW component is therefore a CVD-derived signed-flow proxy, not true exchange-level OFI. Classification is contextual and descriptive; Absorption, AAA, Exhaustion and composite states do not imply future price outcomes. MTF structures may also become available later than lower-timeframe observations because higher-timeframe information must develop and be confirmed.
Enjoy,
Oberlunar 👁★
The indicator detects two CVD discontinuity models across configurable timeframes: two-bar TimeFixed CVD gaps and same-anchor three-bar CVD FVGs. Detected events are projected onto their corresponding price zones, with opacity determined solely by the relative magnitude of the CVD gap.
An adaptive classifier evaluates signed CVD pressure, flow persistence, price-impact efficiency, resistance, impact decay, ATR regime, EMA fan structure, multi-scale TRIX/RSI momentum, liquidity and price/CVD divergence. Internal thresholds and fast/mid/slow weights adapt to the observed market state automatically.
The resulting structures are classified as Absorption, AAA (Absorption-Acceptance-Aggression) or Exhaustion. Absorption and AAA create persistent, directionally polarised price zones; Exhaustion is displayed as a point event.
Four continuous lanes summarise the underlying model:
- FLOW: directional pressure and persistence.
- RESPONSE: The Drive, Resistance or Decay pattern.
- STRUCTURE: simple EMA/TRIX/RSI alignment adjusted for price/CVD divergence.
- REGIME: liquidity and volatility environment.
A Flow State meter provides the same four states in compact form. A separate composite combines FLOW, RESPONSE and STRUCTURE, while REGIME adjusts confidence. Its current state is displayed on the price chart through a colour-coded EMA(7): aqua for bullish consensus, red for bearish consensus and grey when the adaptive threshold is not reached.
The UK, US1, and US2 liquidity windows are shown with adaptive session backgrounds and opening labels and can be independently filtered for structural events.
The script uses confirmed historical information with barmerge.lookahead_off for its MTF requests and does not intentionally access future data.
How to Use
Set TF1 for the displayed CVD and optionally enable additional MTF references. Use TimeFixed GAP CVD, CVD FVG, or both. Read the four lanes and Flow State meter as contextual diagnostics; projected Abs/AAA zones identify persistent price areas associated with classified CVD events, while Exhaustion circles mark decay events.
The EMA(7) is a compact visualisation of the composite state: increasing aqua intensity indicates stronger bullish agreement across the model, increasing red intensity indicates stronger bearish agreement, and grey indicates insufficient consensus.
Some specifications
CVD is derived from the volume data available to TradingView and is not equivalent to full limit-order-book order flow. The FLOW component is therefore a CVD-derived signed-flow proxy, not true exchange-level OFI. Classification is contextual and descriptive; Absorption, AAA, Exhaustion and composite states do not imply future price outcomes. MTF structures may also become available later than lower-timeframe observations because higher-timeframe information must develop and be confirmed.
Enjoy,
Oberlunar 👁★
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
Founder of UnconventionalTraders, a platform for 0DTE/ORB analysis:
unconventionaltraders.com
unconventionaltraders.com
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
Founder of UnconventionalTraders, a platform for 0DTE/ORB analysis:
unconventionaltraders.com
unconventionaltraders.com
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。