OPEN-SOURCE SCRIPT

Auto Trend Channel

228
Auto Trend Channel
This indicator automatically draws a dynamic trend channel based on the 2 most recent swing highs and 2 most recent swing lows. It supports multi-timeframe (MTF) analysis and intelligently refreshes the channel when new pivot points are formed.
It’s designed to help traders visualize dynamic price channels in real time, making it useful for trend-following, breakout detection, and support/resistance analysis.
🛠️ Features:
🔍 Auto-detects pivot highs and lows using customizable sensitivity
📅 Works on any timeframe, with optional higher-timeframe input
➡️ Extends trendlines forward into the future by a defined number of bars
🔁 Automatically replaces old channels with new ones as new pivots form
🌈 Optional channel fill between upper and lower trendlines for better visualization
💡 Usage Tips:
Use higher sensitivity (e.g., 15–30) on higher timeframes like Daily or Weekly
Use lower sensitivity (e.g., 5–10) for intraday trading on 15m–1h charts
Combine with volume or price action for entry confirmation at channel boundaries

Declinazione di responsabilità

Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.