OPEN-SOURCE SCRIPT
Liquidity Sweep & Reversal Map

Liquidity Sweep & Reversal Map (LSRM) is a visual tool designed to help traders study how price interacts with key liquidity areas such as daily highs, daily lows, previous-day levels, and potential sweep zones. Its purpose is to map structure, highlight volatility around major reference points, and visualize how price behaves after taking liquidity.
This indicator does not attempt to predict market direction. It simply identifies conditions where price has interacted with a known reference level and marks that interaction for user analysis.
🔍 What This Indicator Shows
1. Key Liquidity Reference Levels
The script automatically draws and updates the following levels:
These levels are widely monitored by many traders and can be helpful when studying liquidity behavior and intraday volatility.
2. Liquidity Sweeps
A liquidity sweep occurs when:
The indicator marks detected sweep interactions with:
A sweep only appears after the bar has closed, helping users analyze completed price structure.
3. Optional Sweep Zones
When enabled, the tool draws a shaded zone between:
This can help highlight areas where liquidity was taken.
4. Volume & Candle Filters
The indicator includes optional filters such as:
These filters are provided only to refine the visual highlight of sweeps; they do not constitute trading signals.
🎛 Customization
Users can configure:
All settings are optional and intended for chart annotation only.
⚠️ Important Notes
This indicator does not attempt to predict market direction. It simply identifies conditions where price has interacted with a known reference level and marks that interaction for user analysis.
🔍 What This Indicator Shows
1. Key Liquidity Reference Levels
The script automatically draws and updates the following levels:
- TH — Today’s High
- TL — Today’s Low
- PDH — Previous Day High
- PDL — Previous Day Low
These levels are widely monitored by many traders and can be helpful when studying liquidity behavior and intraday volatility.
2. Liquidity Sweeps
A liquidity sweep occurs when:
- Price briefly moves beyond a major high or low
- And then closes back within the prior range
The indicator marks detected sweep interactions with:
- BS (Bullish Sweep) when liquidity is taken below a low
- SS (Bearish Sweep) when liquidity is taken above a high
A sweep only appears after the bar has closed, helping users analyze completed price structure.
3. Optional Sweep Zones
When enabled, the tool draws a shaded zone between:
- The swept wick
- The reference level
This can help highlight areas where liquidity was taken.
4. Volume & Candle Filters
The indicator includes optional filters such as:
- Relative volume spikes
- Strong candle body requirement
These filters are provided only to refine the visual highlight of sweeps; they do not constitute trading signals.
🎛 Customization
Users can configure:
- Instrument presets
- Sweep buffers
- Volume sensitivity
- Line visibility and thickness
- Label display
- Zone visibility
All settings are optional and intended for chart annotation only.
⚠️ Important Notes
- This tool is not a trading system, signal generator, or strategy.
- It does not provide buy/sell advice or predict future price movement.
- All markings are visual aids for chart study and structural analysis only.
- Users should rely on their own judgment and independent analysis when making trading decisions.
开源脚本
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.
免责声明
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.
开源脚本
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.
免责声明
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.