OPEN-SOURCE SCRIPT
Updated AMD Liquidity Sweep with Alerts

AMD Liquidity Sweep with Alerts
Identify key liquidity levels from the Asian trading session with visual markers and alerts.
📌 Key Features:
Asia Session Detection
Customizable start/end hours (0-23) to match your trading timezone
Automatically calculates session high/low
Smart Swing Level Identification
Finds the closest significant swing high ≥ Asia high
Finds the closest significant swing low ≤ Asia low
Adjustable pivot sensitivity (# of left/right bars)
Professional Visuals
Dashed reference lines extending into the future
Blue-highlighted key levels
Clean label formatting with precise price levels
Trading Alerts
Price-cross alerts for liquidity breaks
Visual markers (triangles) when levels are breached
Separate alerts for buy-side/sell-side liquidity
Customization Options
Toggle intermediate swing highlights
Adjust label sizes
💡 Trading Applications:
Institutional Levels: Identify zones where Asian session liquidity pools exist
Breakout Trading: Get alerted when price breaches Asian session ranges
S/R Flip Zones: Watch how price reacts at these key reference levels
London/NY Open: Use Asian levels for early European session trades
🔧 How to Use:
Set your preferred Asia session hours
Adjust pivot sensitivity (default 1 bar works for most timeframes)
Enable alerts for breakouts if desired
Watch for reactions at the plotted levels
Identify key liquidity levels from the Asian trading session with visual markers and alerts.
📌 Key Features:
Asia Session Detection
Customizable start/end hours (0-23) to match your trading timezone
Automatically calculates session high/low
Smart Swing Level Identification
Finds the closest significant swing high ≥ Asia high
Finds the closest significant swing low ≤ Asia low
Adjustable pivot sensitivity (# of left/right bars)
Professional Visuals
Dashed reference lines extending into the future
Blue-highlighted key levels
Clean label formatting with precise price levels
Trading Alerts
Price-cross alerts for liquidity breaks
Visual markers (triangles) when levels are breached
Separate alerts for buy-side/sell-side liquidity
Customization Options
Toggle intermediate swing highlights
Adjust label sizes
💡 Trading Applications:
Institutional Levels: Identify zones where Asian session liquidity pools exist
Breakout Trading: Get alerted when price breaches Asian session ranges
S/R Flip Zones: Watch how price reacts at these key reference levels
London/NY Open: Use Asian levels for early European session trades
🔧 How to Use:
Set your preferred Asia session hours
Adjust pivot sensitivity (default 1 bar works for most timeframes)
Enable alerts for breakouts if desired
Watch for reactions at the plotted levels
Release Notes
Remove repainting by basing calculations on previous candle close. Made Buyside and Sellside Liquidity lines more visible.
Automatically add Buyside and Sellside Liquidity labels.
Release Notes
Fix price labels not showing on the price scale.Release Notes
Provide real-time arrow indication of Liquidity SweepRelease Notes
Fixed alert only triggering after candle close.Release Notes
Changed code comment to reflect alert changesRelease Notes
Updated chart. Release Notes
AMD Liquidity Sweep with AlertsAutomatically calculates the Asian session high and low.
Identify the nearest Intermediate Swing High and Swing Low to Asian session High and Low with visual markers and alerts.
An intermediate Swing High is defined as a Swing High with a lower swing high on both sides of the Swing High. For intermediate Swing low, it's a Swing Low with a higher swing low on both sides.
Customizable start/end hours (0-23) to match your trading timezone
Adjustable pivot sensitivity (# of left/right bars) for the user to define swing point conditions, with a minimum of 1 candle on each side of the candle to form a swing point.
These levels are targeted as liquidity pools before the market reverses.
How to Use:
Set your preferred Asia session hours
Adjust pivot sensitivity (default 1 bar works for most timeframes)
Observe as the price trades through the liquidity levels on the recommended timeframe based on trading type:
D For Position Traders
H4 For Swing Traders
H1 For Day Traders
M15 for Scalpers
Watch for signs of reversal on the recommended lower timeframes.
H1 For Position Traders
M15 For Swing Traders
M5 For Day Traders
M1 for Scalpers
Enable alerts for liquidity sweeps if desired.
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.