OPEN-SOURCE SCRIPT
Updated SOFT Canal BAS + alertes (extend future, offset)

SOFT Parallel Channel (Base Support) with Alerts
This indicator allows you to define a parallel price channel based on the lower support line, extended into the future, with clean and reliable touch alerts.
The channel is defined using two historical anchor points (date/time + price) on the support line.
The upper boundary is automatically calculated using a fixed channel height.
Key Features
📐 Channel based on the LOWER line (support)
➡️ Extended into the future using extend.right
🔔 Alerts on touch of:
Lower channel (support)
Upper channel (resistance)
🧼 Anti-spam alerts (only one alert per touch)
⏱️ Optional confirmation on bar close
🎚️ Vertical offset control (move the entire channel up or down using input arrows)
👀 Optional visual labels (SUP / RES), disabled by default
How It Works
Select two points on the lower channel line
(date/time + price for Point 1 and Point 2).
Set the channel height (in Nasdaq points).
Optionally adjust the vertical offset to fine-tune the channel position.
Create TradingView alerts on:
Touch Support
Touch Resistance
Recommended Settings (Nasdaq M15 / M30)
Channel height: 200 – 400 points
Touch tolerance: 3 – 10 points
Alerts: On close + one alert per touch (cleanest behavior)
Important Notes
The channel becomes visible once TradingView has loaded the historical bars containing both anchor points.
This script does not read manual drawing tools (TradingView limitation).
The channel is fully calculated and drawn by the script itself.
No repainting: the channel geometry is fixed once defined.
Use Cases
Trend channels
Dynamic support / resistance
Mean reversion trades
Alert-based discretionary trading
SOFT – Stéphane Olivier Fabrice Trading
Designed for clean charts, precise alerts, and practical trading use.
This indicator allows you to define a parallel price channel based on the lower support line, extended into the future, with clean and reliable touch alerts.
The channel is defined using two historical anchor points (date/time + price) on the support line.
The upper boundary is automatically calculated using a fixed channel height.
Key Features
📐 Channel based on the LOWER line (support)
➡️ Extended into the future using extend.right
🔔 Alerts on touch of:
Lower channel (support)
Upper channel (resistance)
🧼 Anti-spam alerts (only one alert per touch)
⏱️ Optional confirmation on bar close
🎚️ Vertical offset control (move the entire channel up or down using input arrows)
👀 Optional visual labels (SUP / RES), disabled by default
How It Works
Select two points on the lower channel line
(date/time + price for Point 1 and Point 2).
Set the channel height (in Nasdaq points).
Optionally adjust the vertical offset to fine-tune the channel position.
Create TradingView alerts on:
Touch Support
Touch Resistance
Recommended Settings (Nasdaq M15 / M30)
Channel height: 200 – 400 points
Touch tolerance: 3 – 10 points
Alerts: On close + one alert per touch (cleanest behavior)
Important Notes
The channel becomes visible once TradingView has loaded the historical bars containing both anchor points.
This script does not read manual drawing tools (TradingView limitation).
The channel is fully calculated and drawn by the script itself.
No repainting: the channel geometry is fixed once defined.
Use Cases
Trend channels
Dynamic support / resistance
Mean reversion trades
Alert-based discretionary trading
SOFT – Stéphane Olivier Fabrice Trading
Designed for clean charts, precise alerts, and practical trading use.
Release Notes
SOFT Parallel Channel (Support) – Time-Based, Universal & AlertsThis indicator draws a parallel price channel based on a lower support line, using time-based anchors (date & time) instead of bar counting.
It is designed to be robust across all markets and timeframes, including instruments with gaps, sessions, or continuous trading.
Key Features
📐 Support-based parallel channel
🕒 Defined by two date/time + price anchor points
➡️ Extended into the future (right side of the chart)
🔔 Alerts on channel touch:
Lower band (support)
Upper band (resistance)
🧼 Anti-spam logic (one alert per touch)
⏱️ Optional confirmation on bar close
🎚️ Vertical offset control to move the entire channel up or down
🛡️ No dependency on bar_index detection (works even if history is partially loaded)
Why This Script Is Different
Unlike many channel scripts, this one:
Uses time-based geometry (bar_time), just like TradingView’s drawing tools
Does not rely on specific bars being present
Works reliably on:
Indices (NASDAQ, S&P, DAX…)
Metals (XAUUSD, XAGUSD)
Forex
Crypto
Works identically on M15 / M30 / H1 (and any timeframe)
No repainting: once the anchor points are set, the channel structure is fixed.
How to Use
Select two points on the LOWER channel line
(date/time + price).
Set the channel height (in instrument points).
Optionally adjust the vertical offset to fine-tune placement.
Create TradingView alerts on:
Support Touch
Resistance Touch
Recommended Settings
NASDAQ (M15)
Channel height: 150–300
XAUUSD (M15)
Channel height: 20–60
Tolerance: 1–2 ticks for clean alerts
Limitations
This script does not read manual drawings (TradingView limitation).
The channel must be defined through the script inputs.
Use Cases
Trend channels
Dynamic support & resistance
Mean reversion zones
Alert-based discretionary trading
Clean chart structure without clutter
SOFT – Stéphane Olivier Fabrice Trading
Built for precision, robustness, and real-world trading conditions.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.