VWAPIndicator class

Volume Weighted Average Price (VWAP) Indicator.

Intraday benchmark calculated from cumulative (Typical Price × Volume) / Cumulative Volume. Resets at session/day boundaries. Includes optional standard deviation bands.

Inheritance

Constructors

VWAPIndicator({double bandMultiplier = 2.0, Color vwapColor = const Color(0xFFAB47BC), Color bandColor = const Color(0xFF7E57C2), double strokeWidth = 1.5, bool showBands = true})

Properties

bandColor → Color
final
bandMultiplier → double
final
hashCode → int
The hash code for this object.
no setterinherited
id → String
no setteroverride
isOverlay → bool
no setteroverride
name → String
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
showBands → bool
final
strokeWidth → double
final
vwapColor → Color
final

Methods

calculate(List<Candle> candles) → IndicatorResult
Pure computation function that produces an IndicatorResult from candles.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited