Lipi Reference
Lipi

Functions

talib.vwap()

Volume-weighted average price built on `source`. The signature has one argument. There is no volume argument and no length or anchor argument.

Syntax

                talib.vwap(series float source) → series float
              

Arguments

source required series float Source used for the VWAP calculation.

Return Type

series float

Example


          //@lipi=2
indicator("VWAP Indicator", overlay=true)
vwapValue = talib.vwap(hlc3)
plot(vwapValue, color=color.blue, title="VWAP")