PROTECTED SOURCE SCRIPT

Range Trend Channels with Flip Signals 0.1.0

75
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.

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。