OPEN-SOURCE SCRIPT

Whale Flow Trend Detector

538
What This Solves
Traditional volume indicators treat all volume equally. A retail trader buying $100 gets the same weight as an institution moving $10M. This indicator separates whale activity from retail noise to show you when the big players are actually establishing trend positions.

How It Works

Whale Detection Engine:
Identifies volume spikes 1.5x+ average with meaningful price impact
Multi-factor conviction scoring based on volume, price movement, and follow-through
Filters out retail noise and exchange glitches

Trend Flow Analysis:
Tracks cumulative whale direction over time (bullish vs bearish flow)
Shows trend regime changes when whale sentiment shifts
Flow strength meter (-100 to +100) for trend conviction

Conviction Levels:
EXTREME (🐋): Massive volume + big moves + trend alignment + confirmation
HIGH: Strong volume + decent impact + some follow-through
MEDIUM: Above-average activity with minor price impact

Why Crypto-Specific

Crypto markets offer unique advantages for whale detection:
Transparent volume data across all exchanges
24/7 trading shows true institutional vs retail patterns
Whale activity is more visible than traditional markets
No dark pools hiding large orders

Key Features
✅ Real-time whale activity detection
✅ Cumulative flow tracking for trend direction
✅ Multi-timeframe regime analysis
✅ Conviction-based signal filtering
✅ 6 comprehensive alert types
✅ Live whale activity dashboard
✅ Background regime coloring

What You See
Green triangles: Bullish whale activity
Red triangles: Bearish whale activity
Flow line: Cumulative whale sentiment (rising = bullish, falling = bearish)
Conviction labels: Details on volume ratio and price impact
Background colors: Current market regime (bullish/bearish/sideways)

Best Usage
Works on all timeframes but optimal on 4H+ where whale patterns develop.
Perfect for:
Trend following strategies
Institutional flow analysis
Regime change detection
Entry timing with whale confirmation

The Edge
While others chase every volume spike, this indicator shows you when volume actually matters. When whales move, trends follow. When whale flow shifts, regimes change.

Settings Guidance
Conservative: 2.0x volume multiplier, 0.2% min impact
Balanced: 1.5x volume multiplier, 0.1% min impact (default)
Aggressive: 1.2x volume multiplier, 0.05% min impact

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.