PROTECTED SOURCE SCRIPT

Volume Phase Map – CVD Breakout & Trap Filter

60
Volume Phase Map – CVD Breakout & Trap Filter
An intraday volume/flow framework that separates the chart into three phases: consolidation, manipulation, and true expansion. Built to isolate the big, clean trend legs that funds actually push, while avoiding noise and stop-runs.

Core idea

This script doesn’t just mark entries on price crosses. It tries to read where the auction is:

Consolidation (Value Build)

Uses normalized ATR and volume vs their moving averages to detect quiet, “value building” zones.

These areas are shaded with a gray background and framed with a yellow high/low “box”.

Manipulation / Stop-Runs (Traps)

Detects wicks that push outside the box on high volume but close back inside while CVD fails to confirm.

Prints purple BT (bull trap) or ST (bear trap) markers to highlight likely stop-runs and liquidity grabs.

Expansion / Distribution (The Trade)

A valid breakout requires:

Close outside the last value box

Volume above a user-defined multiple of its MA

Strong CVD momentum in the same direction as price

Trend alignment via EMA 50/200 on the chart timeframe

Optional higher-timeframe EMA 50/200 filter

When all conditions line up, the script plots a Long (L) or Short (S) signal at the breakout bar.

Risk template

For each breakout, the script builds a simple risk map:

Entry line at the breakout close

Stop loss beyond the opposite side of the last value box, padded by ATR

Take profit at a configurable Risk:Reward multiple (default 2.5R)

Background turns light green/red while a trade is “active”

Small XL/XS markers show where TP or SL is hit

This is a visual template only—position size and execution are up to you.

How to use it

Designed for intraday timeframes (2–5 minute charts) on liquid instruments (index ETFs, index futures, large-cap names).

Start with defaults, then tune:

Increase Min Volume/MA for Breakout and CVD Strength Mult if you want only the biggest, highest-conviction legs.

Adjust Max ATR/ATR_MA and Max Volume/MA for Consolidation to control how often value boxes appear.

The main idea is to wait for value to form, ignore most of the noise inside the box, avoid the traps, and then only trade the first clean expansion move with volume and CVD behind it in the direction of the higher-timeframe trend.

Alerts included

New Long Breakout

New Short Breakout

Exit Long (TP or SL hit)

Exit Short (TP or SL hit)

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.