# Trendline Liquidity

Trendline Liquidity is an indicator on [Vela](https://vela.luxalgo.com/chart), our next-generation charting platform, written in Pine Script®.

Finds rising support and falling resistance lines with three or more respected touches, then draws the diagonal band of inferred resting orders beyond each line, deepening with every touch. Pierces resolve as liquidity sweeps or genuine breaks through reclaim, displacement and acceptance rules, with structure shifts confirming sweeps and ten alerts end to end.

- Indicator in the LuxAlgo Library, by LuxAlgo, published May 3, 2026.
- Access: free.
- Concepts: [Trendline Liquidity](https://www.luxalgo.com/library/concept/trendline-liquidity/) (primary)
- Open on Vela: https://vela.luxalgo.com/chart?pineScriptCodeId=ptz0ey8knv9i1qr7hfs7909l
- Page: https://www.luxalgo.com/library/indicator/trendline-liquidity/

**Trendline Liquidity** treats a popular trendline as a destination, not a barrier. Candidate lines from swing pairs must slope with their trend, stay unviolated and collect debounced touches; at the minimum touch count a line qualifies, and the build shades the diagonal band of [trendline liquidity](https://www.luxalgo.com/library/concept/trendline-liquidity/) resting beyond it: stops from traders leaning on the line plus pending breakout orders. A counter tags the touches and the band deepens with each one.

## How to Trade the Trendline Liquidity?

- **Pool tapped**: the first pierce beyond touch tolerance flags the pool being filled. Sell-side under a rising support line, buy-side above a falling resistance line.
- **Sweep**: the poke stalls and price closes back on the original side of the line on the bar the reclaim window ends, or reclaims it earlier on a displacement candle; a close beyond the latest opposite swing upgrades it to Sweep ✓.
- **Break**: acceptance closes beyond the line, or a reclaim window ending beyond it, resolve the event as genuine follow-through; the line re-styles dotted, its pool consumed.

## Trendline Liquidity Settings

- **Swing Length** (default 10): pivot length anchoring candidate lines; larger values isolate widely watched lines.
- **Minimum Touches** (default 3): respected touches before a line is treated as carrying liquidity.
- **Touch Tolerance (ATR)** (default 0.25): distance counting as a touch, and the pierce threshold.
- **ATR Normalization Length** (default 200): ATR length behind tolerance, band depth and displacement.
- **Show Liquidity Band** (on) with **Band Depth (ATR)** (default 0.5): the estimated order band beyond the line.
- **Reclaim Window (Bars)** (default 8), **Acceptance Closes** (default 3), **Displacement Multiplier (ATR)** (default 1.0) and **Structure Shift Window (Bars)** (default 20): the sweep-versus-break machinery.
- Style: **Line Style** (Solid), **Show Touch Counter** (on), **Show Sweep / Break Labels** (on), **Resolved Lines Kept** (default 8).

## Frequently Asked Questions

### How does this pair with the Draw on Liquidity indicator?

[Draw on Liquidity](https://www.luxalgo.com/library/indicator/draw-on-liquidity/) names the pool price is gravitating toward; this build supplies the diagonal pools themselves. A many-touch line with a deep band is the destination a draw thesis points at; the resolution records what happened on arrival.

### Why must the lines slope?

Because horizontal pools belong to equal highs and lows, the definition is diagonal: the builder demands a distinctly rising support or falling resistance line, rejecting near-flat candidates.

### What makes the band's fill darker?

Touch count: every debounced touch means another cohort traded the line and parked orders beyond it, so the fill steps darker as a proxy for the pool's depth.

## Related indicators

- [Ultimate AMD Indicator](https://www.luxalgo.com/library/indicator/ultimate-amd-indicator/) (Judas Swing): markdown at https://www.luxalgo.com/library/indicator/ultimate-amd-indicator.md
- [Sweeps & IFVGs](https://www.luxalgo.com/library/indicator/sweeps-ifvgs/) (Liquidity Sweep): markdown at https://www.luxalgo.com/library/indicator/sweeps-ifvgs.md
- [FVG + Liquidity Sweep + CISD](https://www.luxalgo.com/library/indicator/fvg-liquidity-sweep-cisd/) (Liquidity Sweep): markdown at https://www.luxalgo.com/library/indicator/fvg-liquidity-sweep-cisd.md
- [CRT Sweep & Setup Highlighter](https://www.luxalgo.com/library/indicator/crt-sweep-setup-highlighter/) (Liquidity Sweep): markdown at https://www.luxalgo.com/library/indicator/crt-sweep-setup-highlighter.md
- [MSS Sweep Fib Retrace](https://www.luxalgo.com/library/indicator/mss-sweep-fib-retrace/) (Liquidity Sweep): markdown at https://www.luxalgo.com/library/indicator/mss-sweep-fib-retrace.md
- [Price Action Concepts](https://www.luxalgo.com/library/indicator/luxalgo-price-action-concepts/) (Liquidity Sweep): markdown at https://www.luxalgo.com/library/indicator/luxalgo-price-action-concepts.md
- [Session Sweep & iFVG RR](https://www.luxalgo.com/library/indicator/session-sweep-ifvg-rr/) (Session Liquidity): markdown at https://www.luxalgo.com/library/indicator/session-sweep-ifvg-rr.md
- [Liquidity Sweeps](https://www.luxalgo.com/library/indicator/liquidity-sweeps/) (Liquidity Pool): markdown at https://www.luxalgo.com/library/indicator/liquidity-sweeps.md

---

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