DownVolume
public double DownVolumeContains the down volume assigned to this Volume Profile price range. The VolumeProfile calculation considers a source bar to be down when its Close is less than the previous bar's Close.
API documentation, members, signatures, and C# examples.
Find classes, members, and documentation.
The VolumeProfileItem class represents a single horizontal price bin in a Volume Profile. The VolumeProfile.Items collection contains the VolumeProfileItem instances generated for a Volume Profile. Each item represents a specific price range and contains the up volume, down volume, Value Area status, Point of Control status, and relative display widths associated with that range.
public double DownVolumeContains the down volume assigned to this Volume Profile price range. The VolumeProfile calculation considers a source bar to be down when its Close is less than the previous bar's Close.
public bool InValueAreaReturns true if this VolumeProfileItem is included in the Volume Profile's Value Area. The Value Area begins at the Point of Control and expands outward until approximately VolumeProfile.ValueRangePct percent of the profile's total volume has been included.
public bool IsPOCReturns true if this VolumeProfileItem is the Point of Control. The Point of Control is the VolumeProfileItem having the greatest TotalVolume in the profile.
public bool IsValueInRange(double value)public bool IsValueInRange( double high, double low)Determines whether a value or price range intersects this VolumeProfileItem's price range. The single-value overload returns true when:
value >= RangeMin && value < RangeMax
Consequently, RangeMin is inclusive and RangeMax is exclusive. The second overload returns true when the price range represented by high and low intersects the VolumeProfileItem's range. This includes cases where:
public double RangeMaxContains the upper boundary of the price range represented by this VolumeProfileItem. For IsValueInRange(double value), this boundary is exclusive.
public double RangeMinContains the lower boundary of the price range represented by this VolumeProfileItem. For IsValueInRange(double value), this boundary is inclusive.
public double TotalVolumeReturns the total volume assigned to this VolumeProfileItem. It is calculated as:
UpVolume + DownVolume
public double UpVolumeContains the up volume assigned to this Volume Profile price range. The VolumeProfile calculation considers a source bar to be up when its Close is greater than or equal to the previous bar's Close.
public double WidthPctContains the relative width of this VolumeProfileItem compared to the Point of Control. It is calculated as:
TotalVolume / PointOfControlItem.TotalVolume
The Point of Control therefore has a WidthPct of 1.0, while lower-volume profile items have proportionally smaller values.
public double WidthPctDownContains this item's DownVolume relative to the Point of Control's total volume. It is calculated as:
DownVolume / PointOfControlItem.TotalVolume
public double WidthPctUpContains this item's UpVolume relative to the Point of Control's total volume. It is calculated as:
UpVolume / PointOfControlItem.TotalVolume
Ask the community or explore custom development services.