OPEN-SOURCE SCRIPT
מעודכן

Whale Absorption and Liquidity Zones

112

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. קרא עוד ב־תנאי השימוש.