OPEN-SOURCE SCRIPT
Updated StO Price Action - Buy | Sell Side Liquidity

Short Summary
- Visualizes Buy-Side and Sell-Side Liquidity levels
- Highlights resting liquidity above highs and below lows
- Designed for price-action and liquidity-based trading
Full Description
Overview
- Detects liquidity pools using pivot-based price structure
- Buy-Side Liquidity (BSL) forms above relative highs
- Sell-Side Liquidity (SSL) forms below relative lows
- Liquidity levels represent areas where stop orders are likely resting
- Levels are extended forward to visualize potential draw-on-liquidity zones
- Optional historical liquidity tracking for contextual analysis
Handling
- Focuses on price-driven liquidity rather than indicators
- Supports BSL only, SSL only or combined visualization
- Uses configurable pivot lookback to define significant swings
- Distinguishes active liquidity from historical liquidity
- Clean, minimal chart overlay with customizable styles
Usage
- Select which liquidity side to display (BSL, SSL or both)
- Adjust pivot lookback to control sensitivity
- Configure line length and extension behavior
- Enable history mode to keep older liquidity levels visible
- Use liquidity levels as targets, reaction zones or confluence areas
Notes
- Liquidity levels do not predict direction, only attraction
- Once plotted, levels remain static and do not repaint
- Higher lookback values produce fewer but stronger levels
- Best combined with market structure, entries, or rejection logic
- Particularly effective around session highs and lows
- Visualizes Buy-Side and Sell-Side Liquidity levels
- Highlights resting liquidity above highs and below lows
- Designed for price-action and liquidity-based trading
Full Description
Overview
- Detects liquidity pools using pivot-based price structure
- Buy-Side Liquidity (BSL) forms above relative highs
- Sell-Side Liquidity (SSL) forms below relative lows
- Liquidity levels represent areas where stop orders are likely resting
- Levels are extended forward to visualize potential draw-on-liquidity zones
- Optional historical liquidity tracking for contextual analysis
Handling
- Focuses on price-driven liquidity rather than indicators
- Supports BSL only, SSL only or combined visualization
- Uses configurable pivot lookback to define significant swings
- Distinguishes active liquidity from historical liquidity
- Clean, minimal chart overlay with customizable styles
Usage
- Select which liquidity side to display (BSL, SSL or both)
- Adjust pivot lookback to control sensitivity
- Configure line length and extension behavior
- Enable history mode to keep older liquidity levels visible
- Use liquidity levels as targets, reaction zones or confluence areas
Notes
- Liquidity levels do not predict direction, only attraction
- Once plotted, levels remain static and do not repaint
- Higher lookback values produce fewer but stronger levels
- Best combined with market structure, entries, or rejection logic
- Particularly effective around session highs and lows
Release Notes
Minor ChangesRelease Notes
Minor ChangesOpen-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.