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が提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。