# Parallel Pivot Lines

Draws sets of parallel lines through past pivot highs and lows, every line sharing a slope you set between -1 and 1 via linear regression. Slope zero produces horizontal shelves; positive or negative values map sloped channels of support and resistance. A drawing-tool-like study for traders who want fixed reference levels that stay put.

- Indicator in the LuxAlgo Library, by LuxAlgo, published Mar 24, 2021.
- Access: free.
- Concepts: [Parallel Channel](https://www.luxalgo.com/library/concept/parallel-channel/) (primary), [Trendline](https://www.luxalgo.com/library/concept/trendline/), [Swing High/low](https://www.luxalgo.com/library/concept/swing-high-low/)
- Open on Vela: https://vela.luxalgo.com/chart?pineScriptCodeId=cmpwn4el10065vhsgiyfgwvlq
- Page: https://www.luxalgo.com/library/indicator/parallel-pivot-lines/

**Parallel Pivot Lines** connects past pivot highs and lows with families of parallel lines, every line adopting a slope derived from linear regression. The result behaves less like a live indicator and more like an automated drawing tool: stacked [parallel channels](https://www.luxalgo.com/library/concept/parallel-channel/) laid through the swings that actually anchored price, ready to serve as sloped or horizontal support and resistance.

## How to Trade the Parallel Pivot Lines?

- **Slope = 1**: lines reproduce the slope of a regression fitted from the outermost displayed pivot to the current bar, a fast way to project with-trend support and resistance.
- **Slope = 0**: horizontal lines anchored at pivots, classic fixed shelves across the chart.
- **Negative Slope**: lines cut against the prevailing trend for counter-trend mapping.
- **Repeated touches**: a line price keeps respecting earns the same standing as a carefully drawn [trendline](https://www.luxalgo.com/library/concept/trendline/).

The lines are computed from historical pivots and do not re-anchor as new bars print. To realign them with the latest swings, hide and unhide the indicator or nudge any setting; with very high *Length* or *Lookback* values, pivots can fall outside the 5,000-bar rendering buffer and no lines will appear.

## Parallel Pivot Lines Settings

- **Length**: pivot detection length; higher values connect only the more significant pivots.
- **Lookback**: how many lines to draw per pivot type. The total displayed is Lookback × 2.
- **Slope**: the shared slope of every line, adjustable from -1 to 1.

## Frequently Asked Questions

### Why don't the lines update as new bars form?
Rendering is fixed to historical pivots, so the drawing stays put while the market moves. That stability is deliberate. Toggle its visibility or adjust a setting whenever you want it re-fitted to recent structure.

### What if I want lines that signal breaks automatically?
Reach for [Trendlines with Breaks](https://www.luxalgo.com/library/indicator/trendlines-with-breaks/), which maintains its own trendlines and flags price breaking through them. Parallel Pivot Lines is deliberately static, better suited to mapping stable reference levels than to generating signals.

### How can I start using Parallel Pivot Lines?
It's a free indicator in the LuxAlgo Library. You can also send it into Quant, our coding agent, from this page and experiment with slopes and lookbacks there. You can also copy the source code from this page and run it anywhere Pine Script® runs.

## Related indicators

- [FVG Channel](https://www.luxalgo.com/library/indicator/fvg-channel/) (Parallel Channel): markdown at https://www.luxalgo.com/library/indicator/fvg-channel.md
- [Zig Zag Channels](https://www.luxalgo.com/library/indicator/zig-zag-channels/) (Parallel Channel): markdown at https://www.luxalgo.com/library/indicator/zig-zag-channels.md
- [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
- [Swing Highs/Lows & Candle Patterns](https://www.luxalgo.com/library/indicator/swing-highs-lows-candle-patterns/) (Swing High/low): markdown at https://www.luxalgo.com/library/indicator/swing-highs-lows-candle-patterns.md
- [Unreached Highs/Lows Oscillator](https://www.luxalgo.com/library/indicator/unreached-highs-lows-oscillator/) (Swing High/low): markdown at https://www.luxalgo.com/library/indicator/unreached-highs-lows-oscillator.md
- [Volumetric Regression Heatmap](https://www.luxalgo.com/library/indicator/volumetric-regression-heatmap/) (Linear-regression Channel): markdown at https://www.luxalgo.com/library/indicator/volumetric-regression-heatmap.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

---

Source: https://www.luxalgo.com/library/indicator/parallel-pivot-lines/ (LuxAlgo Library). Free to use with attribution: https://www.luxalgo.com/library/license/
