OPEN-SOURCE SCRIPT

Auto Parallel Channel

432
Automatic parallel price channel for the last N bars. The slope follows the trend in the selected window; the upper and lower lines pass through the highest high and lowest low of that range, so price stays inside the channel. Optional right-side extension, midline, fill, and edge price labels.

Features:

Build channel from a custom lookback (bars)
True parallel boundaries (trend slope + window extremes)
Extend right by a set number of bars
Midline, fill, and price labels
Breakout alert conditions
How to use: Set lookback to the swing you want to frame. Enable extend right and choose how many bars to project forward. Use upper/lower touches for mean-reversion ideas, and breaks for continuation signals.

Disclaimer: For educational/analysis use only. Not financial advice.

Clause de non-responsabilité

Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.