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]
Open-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun auch andere Trader das Script rezensieren und die Funktionalität überprüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden, aber eine Wiederveröffentlichung des Codes unterliegt unseren Hausregeln.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.
Open-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun auch andere Trader das Script rezensieren und die Funktionalität überprüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden, aber eine Wiederveröffentlichung des Codes unterliegt unseren Hausregeln.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.