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]
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.