Future Trend Channel [ChartPrime]

Published on MillionChart by TradeMasterX.

Future Trend Channel [ChartPrime] identifies trends and projects future prices from channel formations. It uses a Simple Moving Average and volatility to draw channels that show the trend, detects moments of lower momentum with a neutral color, and projects price levels up to 50 bars ahead.

Key features:
- Dynamic trend channels: drawn when a trend is identified, green for an uptrend and orange for a downtrend.
- Momentum-based color shifts: in an uptrend, if the channel's starting point (Y1) is higher than its ending point (Y2), the channel turns neutral, suggesting lower momentum or a ranging market. In a downtrend, it turns neutral if Y1 is lower than Y2.
- Future price projection: at the end of each channel, a projected price is drawn from the channel midpoint. The default is 50 bars ahead and it can be changed.
- Diamond signals: lime diamonds confirm an uptrend channel and orange diamonds confirm a downtrend channel. Neutral channels show no diamonds.

User inputs:
- Trend Length: the number of bars used for the channels.
- Channel Width: the channel boundaries, based on an ATR multiplier.
- Up and Down Colors.
- Future Bars: the number of bars used for the projection.