PROTECTED SOURCE SCRIPT
Range Trend Channels with Flip Signals 0.1.0

Range Trend Channels with Flip Signals 0.1.0
Purpose:
- Detects "range trend" patterns on the chart using
4-bar structures.
- Draws main channel lines, parallel lines, and "third lines"
on valid hard closes above/below.
- Generates BUY/SELL signals based on candle interaction
with the third lines.
Features:
• Configurable number of recent patterns to keep.
• Adjustable hard-close buffer in ticks.
• Adjustable line width and style.
• Separate colors for bullish (green) and bearish (black) ranges.
• Extra third line colors for each type.
• Option to enable/disable hard-close detection per side.
• Signal system with:
– Strict next-bar or window-based mode
– Candle color filtering
– Minimum body size requirement
– Optional momentum filter
• Alerts for BUY/SELL signals.
Usage Tips:
- Use on your preferred timeframe for spotting
structure-based continuation/reversal points.
- "Hard-close buffer" helps prevent false triggers
from small overlaps.
- In strict mode, signals fire on the very next bar
after the third line is created.
- In window mode, signals can trigger within a
specified number of bars after third line creation.
Purpose:
- Detects "range trend" patterns on the chart using
4-bar structures.
- Draws main channel lines, parallel lines, and "third lines"
on valid hard closes above/below.
- Generates BUY/SELL signals based on candle interaction
with the third lines.
Features:
• Configurable number of recent patterns to keep.
• Adjustable hard-close buffer in ticks.
• Adjustable line width and style.
• Separate colors for bullish (green) and bearish (black) ranges.
• Extra third line colors for each type.
• Option to enable/disable hard-close detection per side.
• Signal system with:
– Strict next-bar or window-based mode
– Candle color filtering
– Minimum body size requirement
– Optional momentum filter
• Alerts for BUY/SELL signals.
Usage Tips:
- Use on your preferred timeframe for spotting
structure-based continuation/reversal points.
- "Hard-close buffer" helps prevent false triggers
from small overlaps.
- In strict mode, signals fire on the very next bar
after the third line is created.
- In window mode, signals can trigger within a
specified number of bars after third line creation.
Skrip dilindungi
Skrip ini diterbitkan sebagai sumber tertutup. Akan tetapi, anda boleh menggunakannya dengan percuma dan tanpa had – ketahui lebih lanjut di sini.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.
Skrip dilindungi
Skrip ini diterbitkan sebagai sumber tertutup. Akan tetapi, anda boleh menggunakannya dengan percuma dan tanpa had – ketahui lebih lanjut di sini.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.