Trendline Breakout Navigator
By LuxAlgoApr 2, 2025290 chart adds
Trendline Breakout Navigator is an indicator on Vela, our next-generation charting platform, written in Pine Script®.
Trendline Breakout Navigator keeps three trendlines alive at once: a solid long-term line for overall market direction, a dashed medium-term line for intermediate movement, and a dotted short-term line for immediate fluctuations. Each begins as a horizontal line at a swing point, connects once a new higher low or lower high forms, and then optimizes itself against the historical closes that pierced it. The result is diagonal structure at three scales, maintained without a single manual drawing.
How to Trade the Trendline Breakout Navigator?
- Blue and orange dots: a higher low or lower high pierced a bullish (blue) or bearish (orange) trendline without the close breaking it. Tested lines like these can precede continuations or reversals.
- Green background: price broke above a bearish trendline, or a new higher high printed.
- Red background: price fell below a bullish trendline, or a lower low appeared.
- Bar colors: green and red hues deepen according to how the close stacks up against the long, medium, and short-term lines together, a three-layer trend read at a glance.
HH/LL labels mark where fresh trendlines are born, and the Period setting can source everything from a higher timeframe, with trendlines spanning up to 5000 bars, so a lower-timeframe chart can trade against bigger structure.
Trendline Breakout Navigator Settings
- Period: "chart" for the current timeframe, or a higher timeframe for broader trend recognition.
- Swing Length: set per trendline; longer values produce longer-term swing levels.
- Term: choose whether the Long, Medium, or Short-term line drives HH/LL labels and background coloring.
- HH/LL Labeling, Background Coloring, Bar Coloring: independent visual layers, plus color controls for lines and wick dots.
Frequently Asked Questions
Free to use
Run it on Vela. Go further with a paid plan.
- Up to 500 Custom Alerts, with webhook automation
- Up to 10× the chart history of Free
- Orderflow lookback up to full history
- More Quant usage to customize it, plus extra usage when you need it
- Futures data alongside crypto, stocks, forex and commodities
Also works on
Related indicators
All 10 Trendline indicatorsRun it on Vela. Make it yours with Quant.
Open this indicator free on Vela, our next-generation charting platform. Then ask Quant, our coding agent built into Vela, to retune it or turn it into a backtested strategy of your own.





