VolumeProfile class

Calculated Visible Range Volume Profile (VRVP) containing all price bins, the Point of Control (POC), and the Value Area (VAH / VAL).

Constructors

VolumeProfile({required List<VolumeProfileBin> bins, required VolumeProfileBin? pocBin, required double? pocPrice, required double vahPrice, required double valPrice, required double maxBinVolume, required double totalVolume})
const

Properties

bins → List<VolumeProfileBin>
final
hashCode → int
The hash code for this object.
no setterinherited
maxBinVolume → double
final
pocBin → VolumeProfileBin?
final
pocPrice → double?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
totalVolume → double
final
vahPrice → double
final
valPrice → double
final

Methods

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

Static Methods

calculate(List<Candle> visibleCandles, {int binCount = 30, double valueAreaPercent = 0.70}) → VolumeProfile
Computes the Volume Profile for the given list of visible candles. binCount specifies the number of discrete price buckets (default 30). valueAreaPercent specifies the percentage of volume inside the Value Area (default 0.70 for 70%).