OPEN-SOURCE SCRIPT
Liquidity Shift Detection [LSD] (Zeiierman)

█ Overview
Liquidity Shift Detection [LSD] (Zeiierman) is a liquidity and market acceptance framework designed to identify where the market sweeps liquidity and subsequently establishes acceptance away from that liquidity event.
The script continuously tracks swing highs and swing lows, monitors for liquidity sweeps beyond those levels, and waits for confirmation through displacement or structural acceptance. Once confirmed, the swept level becomes a Liquidity Shift Detection (LSD) level.
The LSD level acts as a reference point between two important market phases:
• The Sweep Area, where liquidity was collected.
• The Acceptance Area, where the market demonstrated acceptance after the liquidity event occurred.
Rather than focusing solely on reversals, the indicator helps traders visualize where liquidity was taken, where acceptance formed, and where price subsequently began discovering value.

⚪ Acceptance and Price Discovery
The LSD framework is designed to identify where liquidity collection transitions into market acceptance.
• The Sweep Area shows where liquidity was taken.
• The LSD level shows where acceptance was established after the sweep.

From that point, the price may continue to discover value, either higher or lower, depending on future market participation. This allows traders to separate the liquidity event itself from the market behavior that followed it.
█ How It Works
⚪ Swing Structure Detection
The script continuously identifies swing highs and swing lows that may act as future liquidity pools.
Pine Script®
These levels become the reference points used to detect future liquidity sweeps and market acceptance.
⚪ Liquidity Sweep Detection
Once a swing level is established, the script monitors for sweeps beyond that level.
Pine Script®
A sweep occurs when price trades beyond a previous swing level and then returns back through it. These events often represent liquidity collection, stop runs, or failed breakout attempts.
⚪ The Sweep Area
When a valid sweep occurs, the indicator creates a Sweep Area.
The Sweep Area highlights where liquidity was collected and where the liquidity event occurred.
This area may contain:
• Triggered stop-losses
• Trapped breakout traders
• Absorbed liquidity
The Sweep Area itself does not predict direction. It simply identifies where liquidity was taken.
⚪ The LSD Level
The swept swing level becomes the Liquidity Shift Detection (LSD) level.
Pine Script®
The LSD level acts as the market’s acceptance reference after the sweep.
⚪ Confirmation
After a sweep occurs, the script waits for confirmation.
Confirmation can occur through displacement or structural acceptance.
Pine Script®
This helps filter weaker sweeps and focuses on situations where the market is actively moving away from the liquidity event.
⚪ Liquidity Shift Detection (LSD)
When a sweep is followed by confirmation, a Liquidity Shift Detection event is created. The script plots the LSD level and visualizes the completed formation.
At this stage, the market has demonstrated acceptance away from the original liquidity event.
█ How to Use
⚪ Identify Liquidity Collection
The Sweep Area shows where liquidity was taken.
This helps traders identify:
• Stop runs
• Liquidity grabs
• Failed breakouts
• Areas where resting orders may have been absorbed

⚪ Monitor Market Acceptance
Once an LSD is confirmed, traders can evaluate how the market behaves relative to the LSD level.
Acceptance above or below the level may provide insight into whether the liquidity shift remains active.
The farther price moves away from the LSD level while maintaining acceptance, the stronger the resulting move becomes.

⚪ Analyze the Relationship Between the Sweep and Acceptance
The indicator separates two distinct market concepts:
• Sweep Area → Where liquidity was collected.
• LSD Level → Where acceptance was established after the sweep.
This allows traders to clearly distinguish between the liquidity event itself and the market behavior that followed it.

█ Settings
-----------------
Disclaimer
The content provided in my scripts, indicators, ideas, algorithms, and systems is for educational and informational purposes only. It does not constitute financial advice, investment recommendations, or a solicitation to buy or sell any financial instruments. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
Liquidity Shift Detection [LSD] (Zeiierman) is a liquidity and market acceptance framework designed to identify where the market sweeps liquidity and subsequently establishes acceptance away from that liquidity event.
The script continuously tracks swing highs and swing lows, monitors for liquidity sweeps beyond those levels, and waits for confirmation through displacement or structural acceptance. Once confirmed, the swept level becomes a Liquidity Shift Detection (LSD) level.
The LSD level acts as a reference point between two important market phases:
• The Sweep Area, where liquidity was collected.
• The Acceptance Area, where the market demonstrated acceptance after the liquidity event occurred.
Rather than focusing solely on reversals, the indicator helps traders visualize where liquidity was taken, where acceptance formed, and where price subsequently began discovering value.
⚪ Acceptance and Price Discovery
The LSD framework is designed to identify where liquidity collection transitions into market acceptance.
• The Sweep Area shows where liquidity was taken.
• The LSD level shows where acceptance was established after the sweep.
From that point, the price may continue to discover value, either higher or lower, depending on future market participation. This allows traders to separate the liquidity event itself from the market behavior that followed it.
█ How It Works
⚪ Swing Structure Detection
The script continuously identifies swing highs and swing lows that may act as future liquidity pools.
These levels become the reference points used to detect future liquidity sweeps and market acceptance.
⚪ Liquidity Sweep Detection
Once a swing level is established, the script monitors for sweeps beyond that level.
A sweep occurs when price trades beyond a previous swing level and then returns back through it. These events often represent liquidity collection, stop runs, or failed breakout attempts.
⚪ The Sweep Area
When a valid sweep occurs, the indicator creates a Sweep Area.
The Sweep Area highlights where liquidity was collected and where the liquidity event occurred.
This area may contain:
• Triggered stop-losses
• Trapped breakout traders
• Absorbed liquidity
The Sweep Area itself does not predict direction. It simply identifies where liquidity was taken.
⚪ The LSD Level
The swept swing level becomes the Liquidity Shift Detection (LSD) level.
The LSD level acts as the market’s acceptance reference after the sweep.
⚪ Confirmation
After a sweep occurs, the script waits for confirmation.
Confirmation can occur through displacement or structural acceptance.
This helps filter weaker sweeps and focuses on situations where the market is actively moving away from the liquidity event.
⚪ Liquidity Shift Detection (LSD)
When a sweep is followed by confirmation, a Liquidity Shift Detection event is created. The script plots the LSD level and visualizes the completed formation.
At this stage, the market has demonstrated acceptance away from the original liquidity event.
█ How to Use
⚪ Identify Liquidity Collection
The Sweep Area shows where liquidity was taken.
This helps traders identify:
• Stop runs
• Liquidity grabs
• Failed breakouts
• Areas where resting orders may have been absorbed
⚪ Monitor Market Acceptance
Once an LSD is confirmed, traders can evaluate how the market behaves relative to the LSD level.
Acceptance above or below the level may provide insight into whether the liquidity shift remains active.
The farther price moves away from the LSD level while maintaining acceptance, the stronger the resulting move becomes.
⚪ Analyze the Relationship Between the Sweep and Acceptance
The indicator separates two distinct market concepts:
• Sweep Area → Where liquidity was collected.
• LSD Level → Where acceptance was established after the sweep.
This allows traders to clearly distinguish between the liquidity event itself and the market behavior that followed it.
█ Settings
- Swing Length / Structure Sensitivity: Controls how sensitive swing high and swing low detection becomes.
- Displacement Body ATR Multiplier: Controls the minimum candle body size required for displacement confirmation.
- LSD Display Mode: Choose between displaying only confirmed LSD formations or showing live developing formations.
-----------------
Disclaimer
The content provided in my scripts, indicators, ideas, algorithms, and systems is for educational and informational purposes only. It does not constitute financial advice, investment recommendations, or a solicitation to buy or sell any financial instruments. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
Skrip open-source
Dengan semangat TradingView yang sesungguhnya, pembuat skrip ini telah menjadikannya sebagai sumber terbuka, sehingga para trader dapat meninjau dan memverifikasi fungsinya. Salut untuk penulisnya! Meskipun Anda dapat menggunakannya secara gratis, perlu diingat bahwa penerbitan ulang kode ini tunduk pada Tata Tertib kami.
Access my indicators at: zeiierman.com
Join Our Free Discord: discord.gg/zeiiermantrading
Join Our Free Discord: discord.gg/zeiiermantrading
Pernyataan Penyangkalan
Informasi dan publikasi ini tidak dimaksudkan, dan bukan merupakan, saran atau rekomendasi keuangan, investasi, trading, atau jenis lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Ketentuan Penggunaan.
Skrip open-source
Dengan semangat TradingView yang sesungguhnya, pembuat skrip ini telah menjadikannya sebagai sumber terbuka, sehingga para trader dapat meninjau dan memverifikasi fungsinya. Salut untuk penulisnya! Meskipun Anda dapat menggunakannya secara gratis, perlu diingat bahwa penerbitan ulang kode ini tunduk pada Tata Tertib kami.
Access my indicators at: zeiierman.com
Join Our Free Discord: discord.gg/zeiiermantrading
Join Our Free Discord: discord.gg/zeiiermantrading
Pernyataan Penyangkalan
Informasi dan publikasi ini tidak dimaksudkan, dan bukan merupakan, saran atau rekomendasi keuangan, investasi, trading, atau jenis lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Ketentuan Penggunaan.