Donchian Trend Flow

Description
The Donchian Trend Flow indicator for NinjaTrader 8 is designed to capitalize on the market's momentum by identifying the initial breakout from a Donchian channel and ensuring the trend's continuity by monitoring subsequent price bar highs (for downtrends) and lows (for uptrends). When the market makes a new low, the trend is considered intact as long as the high of that bar isn't breached.
This approach offers traders a clear visualization of the market's trend strength and potential continuance without being prematurely invalidated by intra-bar volatility. This indicator can be utilized across various markets and timeframes, enhancing its versatility for different trading methodologies.
Key features:
- Determines initial trend direction with a Donchian channel breakout.
- Sustains trend identification by observing new bar highs/lows.
- Flexible for use on different instruments and timeframes.
- Suitable for trend-following and breakout strategies.
Use cases:
- Detecting early signs of trend formations.
- Maintaining positions in the direction of the trend until a clear sign of trend weakness.
- Implementing as a part of a multi-indicator strategy for confirmation.
Parameters
Period: Period of the Donchian Channel used in the calculation of the levels
Plots
- TrendUp (double): 1 if the trend is up (otherwise 0).
- TrendDown (double): 1 if the trend is down (otherwise 0).
- NoTrend (double): 1 if there is no trend (otherwise 0).
