OPEN-SOURCE SCRIPT
Institutional Donchian Trend Alignment System (Configurable)

Institutional Donchian Trend Alignment System
Created by JONATHAN MWENDWA
The Institutional Donchian Trend Alignment System is a professional trend-following and market-structure indicator designed to identify high-probability intraday trading opportunities using objective price action principles.
This model is built on the foundation of the classic Donchian Channel breakout concept, widely known for detecting genuine market momentum when price breaks previous highs or lows. Instead of relying on a single timeframe, the system uses multi-timeframe alignment to confirm directional bias, ensuring trades are taken only when the higher timeframe, setup timeframe, and entry timeframe are all moving in the same direction.
To improve signal quality and reduce false breakouts, the indicator incorporates liquidity sweep detection, acceptance candle confirmation, and optional volume participation filtering. These components are designed to reflect real market mechanics where price often hunts liquidity, retraces, and then continues in the dominant trend.
Risk awareness is supported through an adaptive ATR-based stop reference, which adjusts to current market volatility and helps traders manage positions more objectively.
Key Features:
• Multi-timeframe trend alignment (Bias, Setup, Entry)
• Donchian breakout-based market structure detection
• Configurable acceptance candle confirmation (default: 3)
• Optional liquidity sweep filter
• Optional volume confirmation
• Dynamic ATR stop reference levels
• Visual background showing strong trend alignment
This indicator is not intended to predict the market but to help traders participate during periods of confirmed directional strength while avoiding low-probability ranging conditions. When used with proper risk management, session awareness, and disciplined execution, it can significantly improve trade selection and overall consistency.
Designed for intraday traders across Forex, indices, commodities, and crypto markets.
Created by JONATHAN MWENDWA
Created by JONATHAN MWENDWA
The Institutional Donchian Trend Alignment System is a professional trend-following and market-structure indicator designed to identify high-probability intraday trading opportunities using objective price action principles.
This model is built on the foundation of the classic Donchian Channel breakout concept, widely known for detecting genuine market momentum when price breaks previous highs or lows. Instead of relying on a single timeframe, the system uses multi-timeframe alignment to confirm directional bias, ensuring trades are taken only when the higher timeframe, setup timeframe, and entry timeframe are all moving in the same direction.
To improve signal quality and reduce false breakouts, the indicator incorporates liquidity sweep detection, acceptance candle confirmation, and optional volume participation filtering. These components are designed to reflect real market mechanics where price often hunts liquidity, retraces, and then continues in the dominant trend.
Risk awareness is supported through an adaptive ATR-based stop reference, which adjusts to current market volatility and helps traders manage positions more objectively.
Key Features:
• Multi-timeframe trend alignment (Bias, Setup, Entry)
• Donchian breakout-based market structure detection
• Configurable acceptance candle confirmation (default: 3)
• Optional liquidity sweep filter
• Optional volume confirmation
• Dynamic ATR stop reference levels
• Visual background showing strong trend alignment
This indicator is not intended to predict the market but to help traders participate during periods of confirmed directional strength while avoiding low-probability ranging conditions. When used with proper risk management, session awareness, and disciplined execution, it can significantly improve trade selection and overall consistency.
Designed for intraday traders across Forex, indices, commodities, and crypto markets.
Created by JONATHAN MWENDWA
Skrypt open-source
W zgodzie z duchem TradingView twórca tego skryptu udostępnił go jako open-source, aby użytkownicy mogli przejrzeć i zweryfikować jego działanie. Ukłony dla autora. Korzystanie jest bezpłatne, jednak ponowna publikacja kodu podlega naszym Zasadom serwisu.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.
Skrypt open-source
W zgodzie z duchem TradingView twórca tego skryptu udostępnił go jako open-source, aby użytkownicy mogli przejrzeć i zweryfikować jego działanie. Ukłony dla autora. Korzystanie jest bezpłatne, jednak ponowna publikacja kodu podlega naszym Zasadom serwisu.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.