OPEN-SOURCE SCRIPT
Auto Trend Channel [TCMaster]

This indicator automatically identifies key swing highs and lows to draw dynamic trend channels on your chart. It works on the current timeframe or any higher timeframe of your choice. The trend channel is extended into the future to help visualize potential price movement.
Features:
Detects significant pivot highs and pivot lows based on configurable sensitivity.
Automatically plots an upper resistance line and a lower support line to form a trend channel.
Extends the trend channel into the future by a configurable number of bars.
Optionally supports higher timeframe analysis to smooth out price action.
Fills the area between the upper and lower trend lines for better visualization.
Inputs:
Pivot Sensitivity: Number of bars used to detect pivot highs/lows. Higher values filter out minor swings.
Extend Future (bars): How many bars the trend lines should be extended forward.
Timeframe: Choose a higher timeframe to calculate pivots, or leave blank to use the current chart timeframe.
Usage:
Use this indicator to visually identify trending price channels and potential support/resistance zones. It can be helpful for trend trading, breakout strategies, and swing analysis.
Features:
Detects significant pivot highs and pivot lows based on configurable sensitivity.
Automatically plots an upper resistance line and a lower support line to form a trend channel.
Extends the trend channel into the future by a configurable number of bars.
Optionally supports higher timeframe analysis to smooth out price action.
Fills the area between the upper and lower trend lines for better visualization.
Inputs:
Pivot Sensitivity: Number of bars used to detect pivot highs/lows. Higher values filter out minor swings.
Extend Future (bars): How many bars the trend lines should be extended forward.
Timeframe: Choose a higher timeframe to calculate pivots, or leave blank to use the current chart timeframe.
Usage:
Use this indicator to visually identify trending price channels and potential support/resistance zones. It can be helpful for trend trading, breakout strategies, and swing analysis.
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.