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.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.