OPEN-SOURCE SCRIPT
Institutional Accumulation vs Distribution Engine

The Institutional Accumulation vs Distribution Engine is a professional-grade TradingView Pine v6 indicator built to detect whether a stock is being quietly accumulated by institutions or distributed after a rally.
It combines price action, volume behavior, relative strength, volatility structure, and smart-money flow into a single weighted institutional score.
🔍 What the Indicator Detects
✅ Accumulation Signals
Higher highs & higher lows
Tight volatility contraction before breakout
Rising smart-money absorption near VWAP/support
Low-volume pullbacks during uptrends
Relative outperformance vs Nifty and sector
Breakouts with expanding volume
❌ Distribution Signals
Failed breakouts and heavy-volume reversals
Gap-up exhaustion candles
Weak relative strength
Breakdown after volume spikes
Repeated rejection near resistance
📊 Weighted Institutional Model
Price–Volume Structure → 20%
Smart Money / Delivery Proxy → 20%
Institutional Activity Proxy → 15%
Fundamental Momentum → 15%
Relative Strength → 10%
Technical Structure → 10%
Volatility Compression → 5%
Market Cycle Positioning → 5%
📈 Outputs
Institutional Score (0–100)
Accumulation / Distribution Phase
Confidence Level
Smoothed Trend Strength
The indicator uses Accumulation/Distribution (A/D) concepts widely used in institutional trading to analyze underlying supply-demand dynamics.
It combines price action, volume behavior, relative strength, volatility structure, and smart-money flow into a single weighted institutional score.
🔍 What the Indicator Detects
✅ Accumulation Signals
Higher highs & higher lows
Tight volatility contraction before breakout
Rising smart-money absorption near VWAP/support
Low-volume pullbacks during uptrends
Relative outperformance vs Nifty and sector
Breakouts with expanding volume
❌ Distribution Signals
Failed breakouts and heavy-volume reversals
Gap-up exhaustion candles
Weak relative strength
Breakdown after volume spikes
Repeated rejection near resistance
📊 Weighted Institutional Model
Price–Volume Structure → 20%
Smart Money / Delivery Proxy → 20%
Institutional Activity Proxy → 15%
Fundamental Momentum → 15%
Relative Strength → 10%
Technical Structure → 10%
Volatility Compression → 5%
Market Cycle Positioning → 5%
📈 Outputs
Institutional Score (0–100)
Accumulation / Distribution Phase
Confidence Level
Smoothed Trend Strength
The indicator uses Accumulation/Distribution (A/D) concepts widely used in institutional trading to analyze underlying supply-demand dynamics.
Skrip sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.