OPEN-SOURCE SCRIPT
DAX Flow [AM]

DAX Flow Trio [AM] — A/D Ratio & TRIN
This indicator measures the internal breadth quality of DAX40 price moves using two complementary metrics calculated directly from all 40 XETR components.
Why breadth matters
Price can move up while the majority of stocks decline — driven by a handful of heavyweight names. Breadth indicators expose this divergence and help you avoid entering low-quality moves.
Two lines. One story.
🔵 A/D Ratio (solid line)
Advancing stocks divided by declining stocks across all 40 DAX components.
Above 1.0 → more stocks rising than falling
Below 1.0 → more stocks falling than rising
🔴 TRIN (dashed line) — inverse logic
(Advancing/Declining) divided by (Up Volume/Down Volume).
Below 1.0 → bullish: volume flows into advancing stocks
Above 1.0 → bearish: volume flows into declining stocks
How to use it
When A/D crosses above 1.0 AND TRIN drops below 1.0 simultaneously → breadth confirms the price move. When they diverge → treat the move with caution.
Specs
Built on all 40 XETR components
Designed for 15M timeframe
Session-filtered: active during Xetra hours only (09:00–17:30 CET)
No repainting
Part of the DAX Breadth Toolkit [AM]
This indicator measures the internal breadth quality of DAX40 price moves using two complementary metrics calculated directly from all 40 XETR components.
Why breadth matters
Price can move up while the majority of stocks decline — driven by a handful of heavyweight names. Breadth indicators expose this divergence and help you avoid entering low-quality moves.
Two lines. One story.
🔵 A/D Ratio (solid line)
Advancing stocks divided by declining stocks across all 40 DAX components.
Above 1.0 → more stocks rising than falling
Below 1.0 → more stocks falling than rising
🔴 TRIN (dashed line) — inverse logic
(Advancing/Declining) divided by (Up Volume/Down Volume).
Below 1.0 → bullish: volume flows into advancing stocks
Above 1.0 → bearish: volume flows into declining stocks
How to use it
When A/D crosses above 1.0 AND TRIN drops below 1.0 simultaneously → breadth confirms the price move. When they diverge → treat the move with caution.
Specs
Built on all 40 XETR components
Designed for 15M timeframe
Session-filtered: active during Xetra hours only (09:00–17:30 CET)
No repainting
Part of the DAX Breadth Toolkit [AM]
Skrip open-source
Dengan semangat TradingView yang sesungguhnya, pembuat skrip ini telah menjadikannya sebagai sumber terbuka, sehingga para trader dapat meninjau dan memverifikasi fungsinya. Salut untuk penulisnya! Meskipun Anda dapat menggunakannya secara gratis, perlu diingat bahwa penerbitan ulang kode ini tunduk pada Tata Tertib kami.
Pernyataan Penyangkalan
Informasi dan publikasi ini tidak dimaksudkan, dan bukan merupakan, saran atau rekomendasi keuangan, investasi, trading, atau jenis lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Ketentuan Penggunaan.
Skrip open-source
Dengan semangat TradingView yang sesungguhnya, pembuat skrip ini telah menjadikannya sebagai sumber terbuka, sehingga para trader dapat meninjau dan memverifikasi fungsinya. Salut untuk penulisnya! Meskipun Anda dapat menggunakannya secara gratis, perlu diingat bahwa penerbitan ulang kode ini tunduk pada Tata Tertib kami.
Pernyataan Penyangkalan
Informasi dan publikasi ini tidak dimaksudkan, dan bukan merupakan, saran atau rekomendasi keuangan, investasi, trading, atau jenis lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Ketentuan Penggunaan.