Free TradingView indicator: Open Liquidity Gravity SMC Engine on TradingView
Liquidity Gravity SMC Engine is a free Smart Money Concepts overlay that ranks active order blocks and fair value gaps instead of treating every zone as equally important. It combines zone strength, age, distance from price and trend context into a bounded bias reading, then adds quality-filtered buy, sell and continuation markers.
Use it as a chart-analysis tool: find where the stronger unmitigated supply or demand zones are, then decide whether your own setup agrees with that context. It is not an order-execution system and it does not guarantee a trade outcome.
Use the indicator free on TradingView
How the liquidity gravity model works
Most SMC charts become noisy when every order block and fair value gap remains visible with equal weight. This script gives each newly created zone a mass based on its displacement and relative volume. That mass decays over time, so older unmitigated zones gradually carry less influence.
On each bar, the script compares the pull from active bullish zones with the pull from active bearish zones. The result is shown as a gravity bias from -100 to +100:
- A reading near +100 means the active demand field is stronger.
- A reading near -100 means the active supply field is stronger.
- A reading around 0 means neither side has a clear advantage from the currently tracked zones.
The model uses a softened distance calculation, so a zone does not create an unrealistic spike merely because price trades inside it. The half-life, zone expiry and maximum number of zones are adjustable.
What the indicator includes
Order blocks and fair value gaps
Order blocks are created after a confirmed swing break with a configurable displacement filter. You can choose body-only or full-range zones. Fair value gaps use a three-candle imbalance pattern, with filters for minimum gap size and middle-candle displacement.
Zones are marked on first touch, removed after a decisive close through the far side, and expired after the chosen age. That lifecycle is important: a box on the chart is a reference area, not permanent proof of support or resistance.
Composite trend state
The trend engine blends three independent measurements: confirmed market structure, signed Kaufman efficiency ratio and an ATR-normalized Hull moving-average slope. It uses separate entry and exit thresholds, which helps avoid a trend label flipping repeatedly around zero.
Signals and continuation markers
A primary buy marker requires price to interact with an active bullish zone and close back above it, with trend alignment and—if enabled—gravity alignment. Sell logic is the mirror. Each candidate receives a confluence score that considers trend alignment, gravity alignment, zone-mass rank and rejection strength.
The continuation engine only accepts a fresh zone created after the previous entry bar and limits the number of adds in one trend leg. An opposing trend flip or opposing change of character ends that leg visually.
A practical way to use it
- Start on a liquid symbol with meaningful volume data.
- Choose a chart timeframe that matches your holding period; the defaults were designed around intraday charts from 5 minutes to 1 hour.
- Turn on bar-close confirmation for a steadier workflow.
- Use the gravity bias as context, not as a standalone entry.
- Check whether a signal occurred at a valid zone and agrees with the composite trend state.
- Define entry, invalidation and position risk before acting on any chart marker.
Alerts available
The script provides alert conditions for primary buys and sells, re-add longs and shorts, bullish and bearish trend flips, zone creation and zone touches. For a webhook or broker workflow, create alerts only after finalizing the chart symbol, timeframe and settings. Existing TradingView alerts run a saved copy of the script and inputs.
For the difference between intrabar and confirmed-candle alerts, read the Pine Script alert-frequency guide.
Repainting and limitations
The script uses confirmed swing pivots, so a pivot is known only after the selected pivot length has passed. With confirm-on-bar-close enabled, signals and alerts are evaluated on confirmed bars. The published script does not use request.security() calls or lookahead.
That does not make a marker certain. The gravity formula and decay rate are modelling choices, thin or gappy instruments can produce noisier zones, and volume-free symbols give the mass model less information to differentiate zones. The visual leg state is not broker position tracking.
Who this is for
This indicator is best for traders who already use market structure, order blocks or fair value gaps and want a disciplined way to prioritise active zones. It is less suitable if you need a one-click automated system or a promise of future performance.
Open Liquidity Gravity SMC Engine on TradingView — free
Source and disclosure
The indicator is published as an open-source TradingView script. Review its settings and source on TradingView before use. This page is educational and is not financial advice.

Leave a Reply