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.
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuyla, bu komut dosyasının mimarı, yatırımcıların işlevselliğini inceleyip doğrulayabilmesi için onu açık kaynaklı hale getirdi. Yazarı tebrik ederiz! Ücretsiz olarak kullanabilseniz de, kodu yeniden yayınlamanın Topluluk Kurallarımıza tabi olduğunu unutmayın.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, alım satım veya diğer türden tavsiye veya öneriler anlamına gelmez ve teşkil etmez. Kullanım Koşulları bölümünde daha fazlasını okuyun.
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuyla, bu komut dosyasının mimarı, yatırımcıların işlevselliğini inceleyip doğrulayabilmesi için onu açık kaynaklı hale getirdi. Yazarı tebrik ederiz! Ücretsiz olarak kullanabilseniz de, kodu yeniden yayınlamanın Topluluk Kurallarımıza tabi olduğunu unutmayın.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, alım satım veya diğer türden tavsiye veya öneriler anlamına gelmez ve teşkil etmez. Kullanım Koşulları bölümünde daha fazlasını okuyun.