# Negative Volume Index

The definitive clean build of the Negative Volume Index: a cumulative line that updates only on sessions with falling volume, compounding each quiet day's percentage close change, paired with the conventional 255-period signal EMA. Regime coloring and a gradient fill show at a glance whether NVI holds above or below its average, with alerts on both crosses.

- Indicator in the LuxAlgo Library, by LuxAlgo, published Jan 30, 2026.
- Access: free.
- Concepts: [Negative Volume Index](https://www.luxalgo.com/library/concept/negative-volume-index/) (primary)
- Open on Vela: https://vela.luxalgo.com/chart?pineScriptCodeId=hr6v1hnt88ogo3t1wqfjfsb4
- Page: https://www.luxalgo.com/library/indicator/negative-volume-index/

**Negative Volume Index** isolates what price does when the crowd goes quiet. The [Negative Volume Index](https://www.luxalgo.com/library/concept/negative-volume-index/) is a cumulative line that moves only on bars whose volume prints below the prior bar's, compounding by that session's percentage close-to-close change; equal- or rising-volume sessions leave it flat. The line seeds at an arbitrary 1000 (the absolute level carries no information) and is read through its slope and its standing relative to a long EMA of itself, the conventional one-year signal. The build colors the line by that regime, fills the gap to the average with a gradient, and alerts on both crosses.

## How to Trade the Negative Volume Index?

- **NVI above its signal EMA**: quiet-session price behavior supports the primary trend, the classic constructive configuration.
- **NVI below its signal EMA**: quiet days lean toward distribution, the caution regime.
- **Signal crosses**: the Bullish and Bearish Signal Cross alerts mark regime changes; they are infrequent by design.
- **Gradient depth**: the fill strengthens with the distance between line and average, so the conviction of the current regime reads at a glance.

This is deliberately a slow instrument: it describes the backdrop and is not meant to time entries on its own.

## Negative Volume Index Settings

- **Base Level** (default 1000): seed of the cumulative line; only sets the scale of the numbers.
- **Signal EMA** (default on, length 255): the conventional one-trading-year average. Hiding it removes only the plotted overlay. Coloring, fill, and alerts still use it.
- **Line Coloring** (default Position vs Average): regime coloring, or a single neutral color.
- **Gradient Fill** (default on): the regime fill between line and average.
- Color inputs set the bullish, bearish, neutral, and signal EMA colors.

## Frequently Asked Questions

### How does NVI relate to the Positive Volume Index?

They partition the tape: NVI accumulates price change only on falling-volume sessions, while the [Positive Volume Index](https://www.luxalgo.com/library/indicator/positive-volume-index/) does so only on rising-volume ones. Running both against their averages shows whether the quiet-day cohort and the loud-day crowd agree.

### Why is the signal EMA 255 periods?

That is one trading year of daily sessions, the horizon the classic signal was defined on. On other timeframes the input still means 255 bars, so adjust it deliberately if you want the same one-year meaning elsewhere.

### What data does it need?

A genuine volume feed: without one no session can register falling volume, and the script raises an error rather than plotting a flat line. Comparisons are also most meaningful on liquid symbols where turnover differences reflect participation rather than noise.

## Related indicators

- [Oscillator Matrix](https://www.luxalgo.com/library/indicator/luxalgo-oscillator-matrix/) (Money Flow Index): markdown at https://www.luxalgo.com/library/indicator/luxalgo-oscillator-matrix.md
- [LuxAlgo - Screener (OSC)](https://www.luxalgo.com/library/indicator/luxalgo-screener-osc/) (Money Flow Index): markdown at https://www.luxalgo.com/library/indicator/luxalgo-screener-osc.md
- [Delta ZigZag](https://www.luxalgo.com/library/indicator/delta-zigzag/) (Weis Wave Volume): markdown at https://www.luxalgo.com/library/indicator/delta-zigzag.md
- [Price Zone Oscillator](https://www.luxalgo.com/library/indicator/price-zone-oscillator/) (Volume & Order Flow): markdown at https://www.luxalgo.com/library/indicator/price-zone-oscillator.md
- [OBV Divergence](https://www.luxalgo.com/library/indicator/obv-divergence/) (Volume & Order Flow): markdown at https://www.luxalgo.com/library/indicator/obv-divergence.md
- [Smart Money Index](https://www.luxalgo.com/library/indicator/smart-money-index/) (Volume & Order Flow): markdown at https://www.luxalgo.com/library/indicator/smart-money-index.md
- [Trade Volume Index](https://www.luxalgo.com/library/indicator/trade-volume-index/) (Volume & Order Flow): markdown at https://www.luxalgo.com/library/indicator/trade-volume-index.md
- [Volume Flow Indicator](https://www.luxalgo.com/library/indicator/volume-flow-indicator/) (Volume & Order Flow): markdown at https://www.luxalgo.com/library/indicator/volume-flow-indicator.md

---

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