OPEN-SOURCE SCRIPT

ScalpFlow: Dynamic Range & Structure Engine

122
"Intraday S/R + Fractal Liquidity Mapper"

Navigate the Noise with Precision Structure Mapping
In the world of 5-minute scalping, the biggest challenge is identifying true trend shifts versus minor noise. ScalpFlow transforms your chart into a structural map, grouping price action into time-based "Blocks" that automatically label market highs and lows.

Stop guessing where the next support level is—ScalpFlow draws it for you based on realized market volatility.

Key Features
Automated Block Structure: Groups price action into clear visual boxes. Each box is color-coded (Bullish/Bearish) and automatically identifies HH (Higher Highs), LH (Lower Highs), LL (Lower Lows), and HL (Higher Lows).

Instant S/R Projection: The script identifies the High and Low of the previous completed block and projects them forward as dashed Support & Resistance lines. This gives you immediate targets for breakouts or mean-reversion trades.

Fractal HH/LL Labels: High-speed "Mini-Pivots" (Fractals) are labeled on the candles themselves, allowing you to spot micro-reversals before the larger block even closes.

Dynamic Trend-Line Midpoints: A blue trend line connects the midpoints of every block, providing a smoothed visual representation of the overall price trajectory.

Scalper’s HUD: A clean dashboard in the bottom-right corner that tells you exactly where price is relative to the range: "BREAKOUT UP," "INSIDE RANGE," or "BREAKDOWN DOWN."

Integrated VWAP: Standardized institutional volume weighting to ensure you are trading with the "Value" of the day.

The Scalper's Edge
This tool is designed for "Structure Traders." By seeing the market as a series of boxes rather than just lines, you can easily identify "Equality Highs" (EQH) or "Equality Lows" (EQL)—common areas where liquidity sits and where big moves often begin.

Best Used For:
Asset: Crypto (BTC/ETH), Forex (Major pairs), and Equities.

Timeframe: 1-Minute to 15-Minute (Optimized for 5m).

Style: Trend Following, Breakout Trading, and Range Scalping.

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.