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.
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.