OPEN-SOURCE SCRIPT
Breadth Ratio

📊 Breadth Ratio (NYSE & NASDAQ)
Breadth Ratio is a market internals indicator that displays real-time Up Volume vs Down Volume ratios for both the NYSE and NASDAQ, helping traders quickly gauge institutional participation and overall market strength.
Instead of plotting noisy lines, this indicator presents the data in a clear, color-coded table, making it ideal for intraday and swing traders who want instant context without cluttering their chart.
🔍 How It Works
Uses official Up Volume (UVOL) and Down Volume (DVOL) data
Calculates a signed ratio:
Positive values = bullish volume dominance
Negative values = bearish volume dominance
Displays NYSE and NASDAQ breadth side-by-side
Automatically updates on the last bar only for optimal performance
🟢 Color Logic
Green background → Bullish volume pressure (Up Volume > Down Volume)
Red background → Bearish volume pressure (Down Volume > Up Volume)
💡 How to Use It
Trend confirmation – Strong ratios support price direction
Reversal warnings – Weak or diverging breadth can precede turns
Risk management – Avoid longs when breadth is strongly negative (and vice versa)
Market context – Excellent companion to price action, VWAP, and index futures
⚙️ Features
✔ NYSE & NASDAQ volume breadth
✔ Clean table-based display
✔ No chart clutter
✔ Works on all timeframes
✔ Ideal for futures, indices, and ETFs
⚠️ Disclaimer
This indicator is for educational and informational purposes only. It should be used as confluence, not as a standalone trading signal.
Breadth Ratio is a market internals indicator that displays real-time Up Volume vs Down Volume ratios for both the NYSE and NASDAQ, helping traders quickly gauge institutional participation and overall market strength.
Instead of plotting noisy lines, this indicator presents the data in a clear, color-coded table, making it ideal for intraday and swing traders who want instant context without cluttering their chart.
🔍 How It Works
Uses official Up Volume (UVOL) and Down Volume (DVOL) data
Calculates a signed ratio:
Positive values = bullish volume dominance
Negative values = bearish volume dominance
Displays NYSE and NASDAQ breadth side-by-side
Automatically updates on the last bar only for optimal performance
🟢 Color Logic
Green background → Bullish volume pressure (Up Volume > Down Volume)
Red background → Bearish volume pressure (Down Volume > Up Volume)
💡 How to Use It
Trend confirmation – Strong ratios support price direction
Reversal warnings – Weak or diverging breadth can precede turns
Risk management – Avoid longs when breadth is strongly negative (and vice versa)
Market context – Excellent companion to price action, VWAP, and index futures
⚙️ Features
✔ NYSE & NASDAQ volume breadth
✔ Clean table-based display
✔ No chart clutter
✔ Works on all timeframes
✔ Ideal for futures, indices, and ETFs
⚠️ Disclaimer
This indicator is for educational and informational purposes only. It should be used as confluence, not as a standalone trading signal.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.