PulseHub
OPEN-SOURCE SCRIPT

Smart Money Confluence Suite [EQH/EQL, OB/FVG, Sweeps]

5 552
Smart Money Confluence Suite combines four complementary structure- and liquidity-based concepts into a single multi-timeframe overlay, built for traders who use price structure and liquidity zones as confluence rather than relying on a single signal type.

1. Equal Highs / Equal Lows (EQH/EQL) — multi-timeframe The script requests 4H and Daily price data independently of the chart's timeframe using request.security(), and compares each new high/low to the prior one within a configurable tolerance (default 0.08%). When two highs (or lows) fall within that tolerance, the script plots a level and label marking the equal-high/equal-low zone. These zones commonly represent areas of resting stop-loss liquidity above/below range extremes. Levels are automatically removed once price trades through them (mitigation), so only unmitigated, still-relevant levels remain on the chart.

2. Fair Value Gaps (FVG) A Fair Value Gap is identified using the classic 3-candle imbalance definition: when the low of the current candle is higher than the high of the candle two bars back (bullish), or the high of the current candle is lower than the low of the candle two bars back (bearish), the script draws a box marking that gap. These zones often act as areas price returns to "rebalance" before continuing in the direction of the original move.

3. Order Blocks (OB) The script flags the last opposite-colored candle immediately preceding a directional break: a bearish candle followed by a bullish candle that closes above the bearish candle's high (bullish OB), or the inverse for bearish OB. These are treated as candidate zones of institutional order flow. Each order block box automatically extends forward and is deleted once price closes through it, so only active, unmitigated blocks are shown.

4. Liquidity Sweeps Using ta.pivothigh()/ta.pivotlow() with a user-configurable swing strength, the script tracks the most recent unbroken swing high/low. A sweep is flagged (and the candle is colored) when price wicks beyond that swing point intrabar but closes back inside the prior range — a common signature of stop-hunt / liquidity-grab behavior before a reversal or continuation move.

How to use it: All four modules can be toggled independently from the settings panel, along with colors, line width, EQ tolerance, and swing sensitivity. The script is designed as a visual confluence layer — combine EQH/EQL levels, FVGs, order blocks, and sweep signals with your own directional bias (e.g., trend, VWAP, or market structure) rather than trading any single element in isolation. It works on any symbol and timeframe, and was primarily tested on futures and index instruments (Russell 2000, Nasdaq, ES/MES/MNQ).

Originality note: this script's contribution is combining independently-calculated multi-timeframe EQH/EQL detection, 3-candle FVG imbalance, break-of-structure order block identification, and pivot-based liquidity sweep detection into one coordinated, auto-mitigating toolkit — rather than publishing each concept as a separate script.

Disclaimer: This is a visual analysis tool for identifying structure and liquidity zones. It does not generate buy/sell signals and is not financial advice. Use your own risk management and judgment.

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 PulseWire. Read more in the Terms of Use.