OPEN-SOURCE SCRIPT
Swing Points & Liquidity — ENHANCED PRO (Dark/Light Mode)

This indicator — “Swing Points & Liquidity — ENHANCED PRO (Dark/Light Mode)” — automatically detects and visualizes swing highs, swing lows, and liquidity levels on the chart with rich analytics and customizable visuals.
🔍 Core Features
Smart Swing Detection: Identifies pivot highs/lows based on adjustable left/right bar settings.
Liquidity Visualization: Draws dynamic boxes and lines for liquidity pools and swing zones.
Volume & OI Integration: Filters and colors levels using volume and Open Interest Δ (change).
Strength Meter: Highlights strong liquidity levels with color gradients based on OI + volume intensity.
Automatic Trendlines: Connects swing points with selectable style and width.
Fibonacci Mapping: Automatically projects fib retracements (23.6%, 38.2%, 50%, 61.8%, 78.6%) from swing-to-swing for confluence zones.
Statistics Panel: Displays live metrics — total levels, active/filled count, success rate, and average strength.
Alerts System: Alerts for new swing formations and when price touches or breaks a level.
Multi-Timeframe Option: Analyze swing structures from higher timeframes on any chart.
Dual Theme Mode: Fully optimized for both Dark and Light interface preferences.
⚙️ Advanced Options
Adjustable lookback range
Hide or extend filled levels
Configurable volume and OI thresholds
Supports multiple OI data sources (Binance, BitMEX, Kraken)
Fully dynamic text, color, and label alignment settings
💡 Use Case
Perfect for Smart Money Concept (SMC) and ICT-style analysis, liquidity sweeps, and swing-based trading.
Traders can quickly visualize where liquidity sits, track how it gets filled, and monitor structure shifts in real time.
🔍 Core Features
Smart Swing Detection: Identifies pivot highs/lows based on adjustable left/right bar settings.
Liquidity Visualization: Draws dynamic boxes and lines for liquidity pools and swing zones.
Volume & OI Integration: Filters and colors levels using volume and Open Interest Δ (change).
Strength Meter: Highlights strong liquidity levels with color gradients based on OI + volume intensity.
Automatic Trendlines: Connects swing points with selectable style and width.
Fibonacci Mapping: Automatically projects fib retracements (23.6%, 38.2%, 50%, 61.8%, 78.6%) from swing-to-swing for confluence zones.
Statistics Panel: Displays live metrics — total levels, active/filled count, success rate, and average strength.
Alerts System: Alerts for new swing formations and when price touches or breaks a level.
Multi-Timeframe Option: Analyze swing structures from higher timeframes on any chart.
Dual Theme Mode: Fully optimized for both Dark and Light interface preferences.
⚙️ Advanced Options
Adjustable lookback range
Hide or extend filled levels
Configurable volume and OI thresholds
Supports multiple OI data sources (Binance, BitMEX, Kraken)
Fully dynamic text, color, and label alignment settings
💡 Use Case
Perfect for Smart Money Concept (SMC) and ICT-style analysis, liquidity sweeps, and swing-based trading.
Traders can quickly visualize where liquidity sits, track how it gets filled, and monitor structure shifts in real time.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.