Trend Channels (MTF) | Flux Charts

Introducing our new Trend Channels (MTF) indicator! Latest trends play an important role for traders and sometimes it can be hard to spot trends in other timeframes. This indicator can plot latest trend channels across different timeframes, so you can spot trends and their channels easier. More info about the process in the "How Does It Work" section.

Features of the new Trend Channels (MTF) indicator :
  1. Plot Trend Channels Across Up To 3 Different Timeframes
  2. Broad Customizability Of Trend Detection
  3. Variety Of Trend Invalidation Options
  4. High Visual Customizability

While the detection of trend channels is a common concept among traders, trend channels across different timeframes can be as crucial as the ones in the current timeframe. This indicator can find them from up to 3 different timeframes. While the general settings will perform well enough most of the time, the indicator also provides fine-tuning options for trend detection and trend invalidation for more experienced traders.

Trend channels occur when the price of an asset starts making a strong movement in a bullish or a bearish direction. This indicator detects trend channels using the Simple Moving Average (SMA). When the slope of the SMA line exceeds the user-defined size, a trend channel will occur.

To understand how individual settings work, you can check the "⚙️SETTINGS" section.

1. General Configuration
SMA Length -> Determines the length used in the SMA function. Higher values mean that an average of a longer timespan will be taken into account when spotting trends.
Slope Length -> Used while finding the slope of the trend channel. Check this example for slope length :

ATR Size -> This setting is taken into calculation while checking if a trend channel is worth plotting. The higher this setting is, the higher the slope of the trend channel must be to get rendered. You can take a look at the chart provided above for a visual explanation.
Channel Expander -> When a trend channel occurs, the top and the bottom of the channel are initally determined by the latest highest highs / lowest lows. This setting expands the channel vertically by X times Average True Range (ATR). Check this example :

Trend Invalidation -> The trend channel gets invalidated when the bar closes / wicks above the top of the channel, or below the bottom of the channel. With this setting, you can switch the behaviour between bar close / bar wick.
Avoid False Invalidation -> This setting makes it harder for trend channels to get invalidated to prevent false invalidations.

  • Retries : The trend channel will have 5 chances for invalidation. First 4 invalidations will not invalidate the channel. The trend channel will only invalidate once the 5th invalidation occur.
  • Volume : The bar that invalidates the trend channel must have a volume higher than 1.5x the average bar volume of the current chart. Otherwise the trend channel will not be invalidated.
  • None : The trend channel will invalidate at the first invalidation.

Get Access to Flux Charts indicators: www.fluxcharts.com/?via=tv

Join our community: discord.gg/fluxcharts

本着真正的TradingView精神,该脚本的作者将其开源发布,以便交易者可以理解和验证它。为作者喝彩!您可以免费使用它,但在出版物中重复使用此代码受网站规则的约束。 您可以收藏它以在图表上使用。