Volumes
<< Click to Display Table of Contents >> Volumes |
Holds an array of ISeries<double> objects holding historical bar volumes. An ISeries<double> object is added to this array when calling the AddDataSeries() method. Its purpose is to provide access to the volumes of all Bars objects in a multi-instrument or multi-time frame script.
Note: For working with Cryptocurrency instruments which report volume fractional, please use the VOL() indicator series, or store the volume for your script in a custom variable and convert alongside our VOL() indicator (Instrument.MasterInstrument.InstrumentType == InstrumentType.CryptoCurrency ? Core.Globals.ToCryptocurrencyVolume((long)Volume[0]) : Volume[0]). |
An array of ISeries<double> objects.
protected override void OnStateChange() |