ta.pvt
Price-Volume Trend
Price-Volume Trend. A cumulative volume-based indicator that relates volume to price change percentage.
Syntax
ta.pvtReturns
series float
Code Examples
//@version=6
indicator("Price-Volume Trend")
plot(ta.pvt, color=color.yellow)
// the same on pine
f_pvt() =>
ta.cum((ta.change(close) / close[1]) * volume)
plot(f_pvt())Trading Applications
Confirm price trends with proportional volume
Detect divergences between PVT and price
Identify accumulation and distribution phases
Use as an alternative to OBV with percentage weighting
Related Functions
Frequently Asked Questions
Generate ta.pvt Code with AI
Skip the manual coding. Use Pineify's AI Coding Agent to generate Pine Script code using ta.pvt and other built-in functions instantly.
Related Pine Script Functions
ta.obv - On Balance Volume
Learn about ta.obv built-in variable in Pine Script. Access On Balance Volume for volume-based trend confirmation.
ta.accdist - Accumulation/Distribution
Learn about ta.accdist built-in variable in Pine Script. Access the Accumulation/Distribution Index for money flow analysis.
ta.wad - Williams A/D
Learn about ta.wad built-in variable in Pine Script. Access Williams Accumulation/Distribution for true range volume analysis.
ta.wvad - Williams Variable A/D
Learn about ta.wvad built-in variable in Pine Script. Access Williams Variable Accumulation/Distribution.
ta.mfi() - Money Flow Index
Learn how to use ta.mfi() in Pine Script. Syntax, parameters, code examples for the volume-weighted RSI indicator.