Skip to main content

IVolumeDeltaIndicator

IVolumeDeltaIndicator provides programmatic access to the mzVolumeDelta chart indicator. It exposes per-bar volume and delta data, cumulative delta, iceberg alerts, and display settings.

Namespace: MZpack Inheritance: IVolumeDeltaIndicator : IOrderFlowIndicator : ITickIndicator : IIndicator Conditional: #if !FREE Source: MZpackBase/mzVolumeDelta/IVolumeDeltaIndicator.cs

Key Data Properties​

PropertyTypeDescription
VolumeDeltaBarsDictionary<int, IVolumeDeltaBar>Volume/delta bars indexed by bar index

Configuration Properties​

PropertyTypeDescription
VolumeDeltaModeVolumeDeltaModeDisplay mode
TradeFilterMindoubleMinimum trade size filter
TradeFilterMaxdoubleMaximum trade size filter
VolumeDeltaDisplayFilterdoubleMinimum display value
ZeroLineboolShow zero reference line

Volume Properties​

PropertyTypeDescription
VolumeModeVolumeModeVolume display mode
VolumeAlignVolumeAlignVolume bar alignment
VolumeColorCodeVolumeColorCodeColor coding scheme
BarMaxValueBarMaxValueMaximum bar value reference

Delta Properties​

PropertyTypeDescription
DeltaModeDeltaModeDelta calculation mode
CumulateSessionboolReset cumulative delta on session start

Alert Properties​

PropertyTypeDescription
UseVolumeAlertboolEnable volume threshold alert
VolumeAlertThresholddoubleVolume alert threshold
VolumeAlertSoundstringVolume alert sound file
UseIcebergAlertboolEnable iceberg detection alert
IcebergAlertThresholddoubleIceberg alert threshold
IcebergAlertSoundstringIceberg alert sound file

Custom Filter Properties​

PropertyTypeDescription
CustomValueLessFilterdoubleFilter for values below this threshold
CustomValueFilter1doubleCustom color filter level 1
CustomValueFilter2doubleCustom color filter level 2
CustomValueFilter3doubleCustom color filter level 3

Example: Read Delta Per Bar​

IVolumeDeltaIndicator vdIndicator = ...;

// Get the current bar data
IVolumeDeltaBar bar = vdIndicator.VolumeDeltaBars[CurrentBar];

// Read volume and delta
// (IVolumeDeltaBar properties depend on VolumeDeltaMode)

See Also​