OPEN-SOURCE SCRIPT
Liquidity Lines 2.0

Liquidity Lines Indicator Description:
This indicator detects points of liquidity based on reversals in price action. It simulates simple moving average (SMA) candles and identifies when raw price candles engulf either the low of a bullish SMA candle or the high of a bearish SMA candle. The liquidity point is then placed at the high of the bearish SMA candle or the low of the bullish SMA candle. These levels often correspond to areas where many traders place stop-loss orders and can provide insight into where “smart money” might be hunting liquidity.
Features and Alerts:
Liquidity Lines automatically track upper and lower liquidity levels and plot them as customizable horizontal lines on the chart. Users can adjust line length, color, width, and style, and choose whether lines extend to the right. The indicator also detects when these liquidity levels are “swept” by price and triggers alerts in real time, allowing traders to be notified of potential stop-loss hunts or key market reactions as they happen. This makes it easy to monitor critical liquidity zones without constantly watching the chart.
How to Use Strategically:
Traders can use these liquidity points to anticipate potential price reactions. For example, if price approaches a lower liquidity line from above, it may act as support or a zone where stop orders are being triggered. Conversely, an upper liquidity line may act as resistance or a trigger zone for stops above the market. Combining these levels with your existing market structure, trend analysis, or confirmation signals can help identify high-probability entries, exits, and areas where smart money activity may occur.
This indicator detects points of liquidity based on reversals in price action. It simulates simple moving average (SMA) candles and identifies when raw price candles engulf either the low of a bullish SMA candle or the high of a bearish SMA candle. The liquidity point is then placed at the high of the bearish SMA candle or the low of the bullish SMA candle. These levels often correspond to areas where many traders place stop-loss orders and can provide insight into where “smart money” might be hunting liquidity.
Features and Alerts:
Liquidity Lines automatically track upper and lower liquidity levels and plot them as customizable horizontal lines on the chart. Users can adjust line length, color, width, and style, and choose whether lines extend to the right. The indicator also detects when these liquidity levels are “swept” by price and triggers alerts in real time, allowing traders to be notified of potential stop-loss hunts or key market reactions as they happen. This makes it easy to monitor critical liquidity zones without constantly watching the chart.
How to Use Strategically:
Traders can use these liquidity points to anticipate potential price reactions. For example, if price approaches a lower liquidity line from above, it may act as support or a zone where stop orders are being triggered. Conversely, an upper liquidity line may act as resistance or a trigger zone for stops above the market. Combining these levels with your existing market structure, trend analysis, or confirmation signals can help identify high-probability entries, exits, and areas where smart money activity may occur.
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.