OPEN-SOURCE SCRIPT
Liquidity Void Detector + Pro Signals

What This Indicator Does
This indicator detects “liquidity voids”—large displacement candles with very high body-to-wick ratios and size significantly above recent ATR—where price moved rapidly and left untested areas.
It automatically draws shaded boxes for new, non-overlapping voids, shows a moveable dashboard (void fill probabilities), and provides one clean, actionable long/short signal per void when price action and momentum confirm.
How It Works
Key Features
Efficient for all timeframes and asset classes.
How to Use
Add to your chart:
Click "Add to Chart" or search “Liquidity Void Detector” in the indicator search panel.
Tune your inputs:
What to look for:
Trading logic and best use:
Important Compliance & Disclaimer
If you find this useful, please consider leaving a positive review, and remember to always confirm with your own analysis.
This indicator detects “liquidity voids”—large displacement candles with very high body-to-wick ratios and size significantly above recent ATR—where price moved rapidly and left untested areas.
It automatically draws shaded boxes for new, non-overlapping voids, shows a moveable dashboard (void fill probabilities), and provides one clean, actionable long/short signal per void when price action and momentum confirm.
How It Works
- Void Detection: Candles with a body/wick ratio and size above user threshold trigger a potential liquidity void.
- Box Drawing: Each new void is drawn as a shaded box (yellow/orange) that never overlaps other active voids.
- Signal Confirmation: A “LONG” or “SHORT” label appears at the first bar within each valid void if momentum and candlestick structure align.
- Dashboard: User-selectable dashboard shows up-to-date stats on remaining unfilled, partially filled, and fully filled voids.
- Alerts: Built-in alerts fire when a new high-probability long/short signal is detected (user must add alerts manually).
Key Features
- No overlap, no clutter: Only the latest set of boxes and a single signal per event are drawn. Oldest boxes are pruned automatically.
- Momentum filter: Signals combine void and trend strength for higher conviction, filtering out weak/fake moves.
- Non-repainting: Signals, boxes, and logic only use confirmed bar data—no repaint or future leaks.
- Adjustable settings: Every threshold (body/wick ratio, ATR size, maximum boxes, dashboard location, signal label size) is user-configurable.
Efficient for all timeframes and asset classes.
How to Use
Add to your chart:
Click "Add to Chart" or search “Liquidity Void Detector” in the indicator search panel.
Tune your inputs:
- Adjust the Body/Wick Ratio and Min Size vs ATR for your market or timeframe.
- Set the Void Box Length (how many bars the box displays), signal sensitivity, and maximum concurrent voids.
- Move the dashboard as needed for your chart layout.
What to look for:
- Yellow/orange boxes highlight recent liquidity voids—untested price gaps where future reactions may occur.
- LONG/SHORT signals appear only where a fresh void coincides with confirmed momentum in that direction.
- Dashboard tracks probability of voids remaining unfilled, being partially filled, or fully refilled by price.
Trading logic and best use:
- Traders may use void boxes to anticipate where price might react, reverse, or trend continuation can resume.
- Combine signals with additional price action confirmation such as S/R levels, order blocks, wick rejections, volume spikes, or patterns (e.g., pin bars, engulfing).
- Use signal alerts in conjunction with order flow, session profile, or support/resistance tools for increased confluence.
- Always backtest and demo trade before live use.
Important Compliance & Disclaimer
- No advice: This tool provides visual context only. All trading and risk decisions are the user’s responsibility.
- No repainting, original source: The code is fully open-source, uses only native Pine Script, and never repaints.
- No spam, no links, no 3rd-party promotion: 100% TradingView House Rules compliant.
If you find this useful, please consider leaving a positive review, and remember to always confirm with your own analysis.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.