Functions
orderflow.cvd()
Returns the Cumulative Volume Delta up to the current bar. It adds the bar-by-bar delta (Buy Volume − Sell Volume) continuously, helping identify whether buyers or sellers are dominating over a period of time
Syntax
orderflow.cvd() → series int
Return Type
series int Example
indicator("Cumulative Volume Delta (CVD)", overlay=false)
cvd = orderflow.cvd()
plot(cvd, title="CVD", style=plotStyle.line, color=color.orange)