OPEN-SOURCE SCRIPT
🐋 Whale Flow 🐋

Whale Flow: Institutional Order Tracking
Uncover the Footprints of Smart Money
The Whale Flow indicator is a comprehensive institutional analysis suite designed to expose the activity of large market participants. Retail traders often rely on lagging indicators; Whale Flow focuses on the primary driver of price action: Volume Anomalies.
By combining Wick-Adjusted Volume pressure, Smart VWAP logic, and High-Volume Nodes (POC), this tool filters out retail noise and highlights where significant capital is entering and exiting the market.
1. The Whale Engine (Candle Coloring)
The core of this indicator uses a relative volume (RVOL) algorithm to color-code candles based on institutional participation.
Whale Accumulation (Purple): Indicates a massive volume spike associated with buying pressure. This often marks the start of a trend or a defense of a support level.
Whale Distribution (Yellow): Indicates a massive volume spike associated with selling pressure. Look for these at tops or breakdowns.
Noise Filter (Gray): Candles with low volume or "Doji" bodies (indecision) are turned Gray. Pro Tip: Ignore price action in gray zones; wait for the colors to return.
Standard Trend (Green/Red): When no anomalies are present, candles default to standard Bull/Bear colors based on the Delta Trend.
2. Whale Point of Control (POC)
The Blue Stepline tracks the single highest volume level over your lookback period (Default: 100 bars).
How to use it: This line acts as a "Magnet." If price moves too far away from the Whale POC, it often snaps back to re-test this level. It serves as major Support/Resistance.
3. Smart VWAP & Money Flow
This is not a standard VWAP. The line changes color based on Chaikin Money Flow (CMF).
Green Line: Money is flowing IN (Institutional Accumulation).
Red Line: Money is flowing OUT (Institutional Distribution).
Outer Bands: These represent "Institutional Deviation" (2.0 Standard Deviations). When price hits these bands, it is statistically overextended, and a reversion to the mean (the center line) is likely.
4. Liquidity & Fair Value Gaps (FVG)
The script automatically detects and highlights imbalances in price.
Teal Boxes: Bullish Gaps (Support).
Maroon Boxes: Bearish Gaps (Resistance).
How to Trade with Whale Flow
Strategy A: The Trend Continuation
Ensure the Smart VWAP is Green (Positive Flow).
Wait for a Purple (Whale Buy) candle to appear.
Entry: On the close of the Purple candle or a retest of its high.
Stop Loss: Below the low of the Purple candle.
Strategy B: The Mean Reversion
Wait for price to hit the Upper Institutional Band (Overbought).
Look for a Yellow (Whale Sell) candle.
Entry: Short targeting the central VWAP line.
Strategy C: The POC Bounce
Identify the Blue POC Line.
If price crashes down into the POC line and you see a Purple Candle or a Bullish FVG form, this confirms institutions are defending their entry level.
Data HUD (Dashboard)
A non-intrusive table provides real-time metrics:
Whale Vol: Shows the current volume multiplier (e.g., 3.0x average).
Money Flow: Inflow vs Outflow status.
Delta Trend: Who is winning the immediate battle (Buyers vs Sellers).
Deviation: Readout of Overbought/Oversold status relative to VWAP.
Dist to POC: Percentage distance to the biggest volume level.
Settings Configuration
Sensitivity: Increase Whale Size (default 2.8) to see fewer, but stronger signals.
Defense Lines: Projects short-term support/resistance lines from Whale Candles to help you place stops.
Visuals: You can toggle the display of specific icons or lines in the settings menu to keep your chart clean.
Disclaimer: This tool is for educational purposes and market analysis only. Volume analysis is subjective. Always manage risk.
Uncover the Footprints of Smart Money
The Whale Flow indicator is a comprehensive institutional analysis suite designed to expose the activity of large market participants. Retail traders often rely on lagging indicators; Whale Flow focuses on the primary driver of price action: Volume Anomalies.
By combining Wick-Adjusted Volume pressure, Smart VWAP logic, and High-Volume Nodes (POC), this tool filters out retail noise and highlights where significant capital is entering and exiting the market.
1. The Whale Engine (Candle Coloring)
The core of this indicator uses a relative volume (RVOL) algorithm to color-code candles based on institutional participation.
Whale Accumulation (Purple): Indicates a massive volume spike associated with buying pressure. This often marks the start of a trend or a defense of a support level.
Whale Distribution (Yellow): Indicates a massive volume spike associated with selling pressure. Look for these at tops or breakdowns.
Noise Filter (Gray): Candles with low volume or "Doji" bodies (indecision) are turned Gray. Pro Tip: Ignore price action in gray zones; wait for the colors to return.
Standard Trend (Green/Red): When no anomalies are present, candles default to standard Bull/Bear colors based on the Delta Trend.
2. Whale Point of Control (POC)
The Blue Stepline tracks the single highest volume level over your lookback period (Default: 100 bars).
How to use it: This line acts as a "Magnet." If price moves too far away from the Whale POC, it often snaps back to re-test this level. It serves as major Support/Resistance.
3. Smart VWAP & Money Flow
This is not a standard VWAP. The line changes color based on Chaikin Money Flow (CMF).
Green Line: Money is flowing IN (Institutional Accumulation).
Red Line: Money is flowing OUT (Institutional Distribution).
Outer Bands: These represent "Institutional Deviation" (2.0 Standard Deviations). When price hits these bands, it is statistically overextended, and a reversion to the mean (the center line) is likely.
4. Liquidity & Fair Value Gaps (FVG)
The script automatically detects and highlights imbalances in price.
Teal Boxes: Bullish Gaps (Support).
Maroon Boxes: Bearish Gaps (Resistance).
How to Trade with Whale Flow
Strategy A: The Trend Continuation
Ensure the Smart VWAP is Green (Positive Flow).
Wait for a Purple (Whale Buy) candle to appear.
Entry: On the close of the Purple candle or a retest of its high.
Stop Loss: Below the low of the Purple candle.
Strategy B: The Mean Reversion
Wait for price to hit the Upper Institutional Band (Overbought).
Look for a Yellow (Whale Sell) candle.
Entry: Short targeting the central VWAP line.
Strategy C: The POC Bounce
Identify the Blue POC Line.
If price crashes down into the POC line and you see a Purple Candle or a Bullish FVG form, this confirms institutions are defending their entry level.
Data HUD (Dashboard)
A non-intrusive table provides real-time metrics:
Whale Vol: Shows the current volume multiplier (e.g., 3.0x average).
Money Flow: Inflow vs Outflow status.
Delta Trend: Who is winning the immediate battle (Buyers vs Sellers).
Deviation: Readout of Overbought/Oversold status relative to VWAP.
Dist to POC: Percentage distance to the biggest volume level.
Settings Configuration
Sensitivity: Increase Whale Size (default 2.8) to see fewer, but stronger signals.
Defense Lines: Projects short-term support/resistance lines from Whale Candles to help you place stops.
Visuals: You can toggle the display of specific icons or lines in the settings menu to keep your chart clean.
Disclaimer: This tool is for educational purposes and market analysis only. Volume analysis is subjective. Always manage risk.
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。