# Pocket Pivot

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

Flags pocket pivots: up closes whose volume beats the largest down-day volume of the prior 10 sessions, in constructive context (close above the 50-bar average with the low near the 10- or 50-bar SMA). Labels report the volume multiple and supporting average, a dashed line tracks the pivot day low stop, and alerts cover signals, continuations, the raw volume rule, and stop breaches.

- Indicator in the LuxAlgo Library, by LuxAlgo, published Mar 3, 2026.
- Access: free.
- Concepts: [Pocket Pivot](https://www.luxalgo.com/library/concept/pocket-pivot/) (primary)
- Open on Vela: https://vela.luxalgo.com/chart?pineScriptCodeId=y8jsl5ycl5476lh1z02avv9g
- Page: https://www.luxalgo.com/library/indicator/pocket-pivot/

**Pocket Pivot** marks the up sessions whose volume beats every down day of the recent window: the buying signature that lets an entry start inside the base rather than at the breakout. The definitive clean build of the [pocket pivot](https://www.luxalgo.com/library/concept/pocket-pivot/) enforces the constructive context the definition demands: the close above the slow average, the day's low within a proximity band of the fast or slow average. Extended and downtrending prints are skipped.

## How to Trade the Pocket Pivot?

- **Pocket pivot**: an up close beating the window's largest down day; the PP label's tooltip reports the volume multiple, supporting average, and pivot low.
- **Continuation pocket pivot**: a signal finding support at the fast average, the classical add point, alerted separately.
- **Pivot day low stop**: a dashed line under each signal day's low, the classical exit reference; a close beneath it is marked with a cross and alerted.
- **Volume Rule Met**: the raw signature before context filters, for screening with the filters off.

The dashboard scores the live bar against the volume rule and tracks trend, support, the last signal, and the standing stop.

## Pocket Pivot Settings

- **Down-Day Volume Lookback** (default 10): sessions scanned for the down-day volume an up day must beat.
- **Pivot Day Low Stop** (default enabled): tracks each signal day's low until breached or replaced.
- **Fast SMA Length** (default 10), **Slow SMA Length** (default 50): the averages defining constructive context.
- **Uptrend Filter** (default enabled): the signal must close above the slow average.
- **MA Support Filter** (default enabled): the low must reach either average's proximity band while the close holds above it.
- **Support Proximity %** (default 2): the band's width. Zero demands an intraday touch; it doubles as the extension guard.
- **Show Dashboard** (default enabled, Top Right, Small) plus Style toggles for signal markers and both average plots.

## Frequently Asked Questions

### Why compare only against down-day volume?

Down days set a hurdle matched to the share's own recent selling (modest in a calm base, demanding in a volatile one) and an up day can clear it while the base is still forming, ahead of any breakout.

### How does this differ from On-Balance Volume?

[On-Balance Volume](https://www.luxalgo.com/library/indicator/on-balance-volume/) accumulates every session's volume into a running line read through its trend. Pocket Pivot is an event detector: did this up day beat every recent down day in a constructive spot. It marks the bar when the answer is yes.

### Does it work on symbols without volume data?

No. The build stops with an error when the feed reports no volume, because the signal is a volume signature by definition.

## Related indicators

- [Volume Bubbles & Liquidity Heatmap](https://www.luxalgo.com/library/indicator/volume-bubbles-liquidity-heatmap/) (Volume Spike): markdown at https://www.luxalgo.com/library/indicator/volume-bubbles-liquidity-heatmap.md
- [Support and Resistance Levels with Breaks](https://www.luxalgo.com/library/indicator/support-and-resistance-levels-with-breaks/) (Volume at Breakout): markdown at https://www.luxalgo.com/library/indicator/support-and-resistance-levels-with-breaks.md
- [HTF Volume Spike & Imbalance Projection](https://www.luxalgo.com/library/indicator/htf-volume-spike-imbalance-projection/) (Volume Spike): markdown at https://www.luxalgo.com/library/indicator/htf-volume-spike-imbalance-projection.md
- [Session Volume Moving Average](https://www.luxalgo.com/library/indicator/session-volume-moving-average/) (Relative Volume): markdown at https://www.luxalgo.com/library/indicator/session-volume-moving-average.md
- [Volume Dry-up](https://www.luxalgo.com/library/indicator/volume-dry-up/) (Volume & Order Flow): markdown at https://www.luxalgo.com/library/indicator/volume-dry-up.md
- [Volumetric Toolkit](https://www.luxalgo.com/library/indicator/volumetric-toolkit/) (Volume Spike): markdown at https://www.luxalgo.com/library/indicator/volumetric-toolkit.md
- [Luminance Breakout Engine](https://www.luxalgo.com/library/indicator/luminance-breakout-engine/) (Volume at Breakout): markdown at https://www.luxalgo.com/library/indicator/luminance-breakout-engine.md
- [Volume Surprise](https://www.luxalgo.com/library/indicator/volume-surprise/) (Relative Volume): markdown at https://www.luxalgo.com/library/indicator/volume-surprise.md

---

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