# Trendlines with Breaks Oscillator

Converts trendline breakouts into momentum: synthetic EMAs smooth the distances price travels beyond bullish and bearish breaks, and their delta oscillates around zero with breakout dots, a signal line, and a built-in divergence detector. For traders who want breakout pressure quantified on a single pane instead of eyeballed across a chart.

- Indicator in the LuxAlgo Library, by LuxAlgo, published Nov 12, 2025.
- Access: free.
- Concepts: [Trendline](https://www.luxalgo.com/library/concept/trendline/) (primary)
- Open on Vela: https://vela.luxalgo.com/chart?pineScriptCodeId=cmpwn6q8x009ivhsgz9zj1oul
- Page: https://www.luxalgo.com/library/indicator/trendlines-with-breaks-oscillator/

**Trendlines with Breaks Oscillator** converts [trendline](https://www.luxalgo.com/library/concept/trendline/) breakouts into a measurable momentum stream. It tracks the maximum distance price travels beyond bullish and bearish breaks, smooths each side with its own synthetic EMA, and plots the delta around zero: positive when bullish breaks carry more force, negative when bearish ones do. A signal line, breakout dots, and a divergence detector complete the read.

## How to Trade the Trendlines with Breaks Oscillator?

- **Above or below zero**: the momentum regime, bullish break pressure versus bearish.
- **Slope of the oscillator**: an ascending slope signals strengthening momentum; a descending one shows it draining away.
- **Green and red dots**: bullish breakouts from descending trendlines and bearish breakouts from ascending ones, stamped onto the oscillator.
- **Signal-line crossings**: crosses above the signal line often precede upward corrections or rallies; crosses below often precede downward legs.
- **[Divergences](https://www.luxalgo.com/library/concept/regular-bullish-bearish-divergence/)**: price making higher highs against lower oscillator highs warns of a bearish turn; lower lows against higher oscillator lows argue a bullish one.

Larger alpha values smooth the oscillator for major-trend work; smaller ones make it snap to short-term movement.

## Trendlines with Breaks Oscillator Settings

- **Swing Detection Lookback**: how far back swing highs and lows are read when building trendlines.
- **Slope** and **Slope Calculation Method**: steepness (0 for flat levels, above 1 for steeper lines) and the math that sets it.
- **Short Alpha Length / Long Alpha Length**: the fast and slow synthetic-EMA periods whose difference forms the oscillator.
- **Smoothing Signal**: smoothing method and period for the signal line, chosen from 10 methods.
- **Divergences**: toggle detection and set its length. Shorter catches minor divergences, longer isolates major turning points.

## Frequently Asked Questions

### Does the Trendlines with Breaks Oscillator repaint?

No. It updates in real time using confirmed breakouts and historical price data, so a printed reading is final and dependable for rule-based confirmation.

### Do I need the base indicator alongside it?

They pair naturally. The base [Trendlines with Breaks indicator](https://www.luxalgo.com/library/indicator/trendlines-with-breaks/) shows the lines and break locations on price, while the oscillator condenses those same events into momentum: location from one, pressure from the other.

### How can I access the Trendlines with Breaks Oscillator?

Access is free through the LuxAlgo Library. And if you want to see how its crossovers and divergences would have behaved, Quant, our coding agent, can run it from this page. You can also copy the source code from this page and run it anywhere Pine Script® runs.

## Related indicators

- [Trendlines Oscillator](https://www.luxalgo.com/library/indicator/trendlines-oscillator/) (Trendline): markdown at https://www.luxalgo.com/library/indicator/trendlines-oscillator.md
- [Trendlines with Breaks](https://www.luxalgo.com/library/indicator/trendlines-with-breaks/) (Trendline): markdown at https://www.luxalgo.com/library/indicator/trendlines-with-breaks.md
- [Trendline Breakout Navigator](https://www.luxalgo.com/library/indicator/trendline-breakout-navigator/) (Trendline): markdown at https://www.luxalgo.com/library/indicator/trendline-breakout-navigator.md
- [Rolling Trendline](https://www.luxalgo.com/library/indicator/rolling-trendline/) (Trendline): markdown at https://www.luxalgo.com/library/indicator/rolling-trendline.md
- [Power Hour Trendlines](https://www.luxalgo.com/library/indicator/power-hour-trendlines/) (Trendline): markdown at https://www.luxalgo.com/library/indicator/power-hour-trendlines.md
- [Machine Learning Trendlines Cluster](https://www.luxalgo.com/library/indicator/machine-learning-trendlines-cluster/) (Trendline): markdown at https://www.luxalgo.com/library/indicator/machine-learning-trendlines-cluster.md
- [Auto Trend Drawing](https://www.luxalgo.com/library/indicator/auto-trend-drawing/) (Trendline): markdown at https://www.luxalgo.com/library/indicator/auto-trend-drawing.md
- [Parallel Pivot Lines](https://www.luxalgo.com/library/indicator/parallel-pivot-lines/) (Trendline): markdown at https://www.luxalgo.com/library/indicator/parallel-pivot-lines.md

---

Source: https://www.luxalgo.com/library/indicator/trendlines-with-breaks-oscillator/ (LuxAlgo Library). Free to use with attribution: https://www.luxalgo.com/library/license/
