OPEN-SOURCE SCRIPT
已更新 Whale Absorption and Liquidity Zones

This indicator identifies institutional absorption zones by analyzing the convergence of high relative volume and specific price action signatures (VSA - Volume Spread Analysis).
How it works (The Math):
1. Volume Anomaly: The script calculates a 20-period Simple Moving Average (SMA) of volume. An "Institutional Spike" is detected when current volume exceeds the SMA by a user-defined multiplier (default 1.5x).
2. Absorption Logic: To confirm absorption, the price must close within a specific range of the candle's total spread. For a "Whale Buy", the close must be in the upper 40% of the candle despite high selling pressure during the bar.
3. Dynamic Liquidity: It uses ta.pivothigh and ta.pivotlow functions with a 20-period lookback to map where "Stop Losses" (Liquidity) are likely resting. These levels are extended to the right until mitigated by price action.
Instructions:
*. Triangles: Signal potential institutional entries.
*. Dashed Lines: Major liquidity pools (Targets).
*. Optimized for Pine Script v6.
版本注释
V2.3 Update: Re-added alert conditions for Liquidity Top and Bottom (S/R levels). Optimized for automation and webhook integration with LeviatanSignals bot.
版本注释
V2.8 Update: Total Integration & Visual Cleanup
*. Hybrid Alerts: Added separate AlertConditions for "Sniper" entries (Whale) and "Trend" entries (Liquidity).
*. Auto-Cleaner Engine: Implemented a mitigation system that automatically stops liquidity lines once price touches them, keeping the chart free of visual noise.
*. Spam Filter: Added a signal recurrence filter to ensure only significant institutional moves are highlighted.
*. Precision Positioning: Improved wick-to-label alignment for better technical analysis.
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
🔱 LeviatanSignals® — automação de fluxo institucional (SMC) para Binance e MEXC Futures. Vídeos, app e mais: leviatansignals.com.br/
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
🔱 LeviatanSignals® — automação de fluxo institucional (SMC) para Binance e MEXC Futures. Vídeos, app e mais: leviatansignals.com.br/
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。