Open-source scriptindicator/v1
Positive Volume Index
Accumulate percentage price changes only on bars where volume increases.
#index#pvi#volume
Description
The Positive Volume Index follows price changes during periods of expanding volume while remaining unchanged when volume declines. Its cumulative direction provides a way to examine price behavior when market participation grows.
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 updatedPositive Volume Index · Aug 31, 2026
Source codempl-2.0View sourceHide source
indicator("Positive Volume Index", { overlay: false });
plot(pvi(), { title: "PVI", color: "#00bcd4", lineWidth: 2 });
Community discussion
0 comments
No comments yet. Start the discussion.