AUTO TRENDLINE Trading Guide
Last updated: July 22, 2026
The Auto Trendline is a quantitative technical analysis tool. Automatic Trendline indicator based on Pivot Points. Draws lines connecting the last two pivot highs/lows.
What does the indicator show?
- Market Structure & Momentum: Visualizes prevailing trend directions and key reversal zones.
- BUY / SELL Signals: Highlights confirmed entry and exit opportunities based on quantitative rules.
- Dynamic Boundaries: Provides adaptive levels for managing trade risk and reward expectations.
Key Settings
- Pivot Lookback (
length): Controls the calculation period and sensitivity for market detection. - Show Construction Lines (
showVisuals): Controls the calculation period and sensitivity for market detection. - Resistance (Upper) (
dnColor): Controls the calculation period and sensitivity for market detection. - Support (Lower) (
upColor): Controls the calculation period and sensitivity for market detection. - Resistance (
resist_line): Controls the calculation period and sensitivity for market detection. - Support (
support_line): Controls the calculation period and sensitivity for market detection. - Breakout UP (
upBreak): Controls the calculation period and sensitivity for market detection. - Breakout DN (
dnBreak): Controls the calculation period and sensitivity for market detection. - Resistance Line (
resist_line): Controls the calculation period and sensitivity for market detection. - Support Line (
support_line): Controls the calculation period and sensitivity for market detection. - Breaks Resistance Up (
upBreak): Controls the calculation period and sensitivity for market detection. - Breaks Support Down (
dnBreak): Controls the calculation period and sensitivity for market detection.
How to use Strategy Parameters (Condition Source)
Within the Strategy Tester module, this indicator can be used both as a direct signal source and as a market-state filter.
1. Signal Events
upBreak- Breakout UP event signal.dnBreak- Breakout DN event signal.upBreak- Breaks Resistance Up event signal.dnBreak- Breaks Support Down event signal.
2. Filters and Trade Levels
length- Pivot Lookback value used for structural qualification or thresholds.showVisuals- Show Construction Lines value used for structural qualification or thresholds.resist_line- Resistance value used for structural qualification or thresholds.support_line- Support value used for structural qualification or thresholds.resist_line- Resistance Line value used for structural qualification or thresholds.support_line- Support Line value used for structural qualification or thresholds.
Strategy Example: Enter Long when buySignal is true and trendFilter == 1, ensuring trades align with dominant momentum.