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]
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que cualquier republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que cualquier republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.