Open-source scriptindicator/v1
Negative Volume Index
Accumulate percentage price changes only on bars where volume decreases.
#index#nvi#volume
Description
The Negative Volume Index follows price changes during periods of lower volume while remaining unchanged when volume increases. Analysts use its cumulative direction to study how quieter trading periods participate in broader trends.
Open-source script. Everyone can inspect the source code, use the script on a chart, and save an editable copy.
Release notes
Version history · 1 published version
Version 1CurrentChart updatedNegative Volume Index · Aug 31, 2026
Source codempl-2.0View sourceHide source
indicator("Negative Volume Index", { overlay: false });
plot(nvi(), { title: "NVI", color: "#2962ff", lineWidth: 2 });
Community discussion
0 comments
No comments yet. Start the discussion.