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.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.