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 อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน