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.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.