MarketSeries.TickVolume

17 Jan 2013, 11:42MarketSeries.TickVolume#1
Spotware Support posts: 400since: 01 Jan 2012

Access to tick volume data via MarketSeries.TickVolume DataSeries.

Use in Indicators:

public override void Calculate(int index)
{
    //...

    double currentVolume = MarketSeries.TickVolume[index];
    double previousVolume = MarketSeries.TickVolume[index-1];
    
    //...

}

 

Use in Robots:

        protected override void OnTick()
        {
            //...

            int index = MarketSeries.Close.Count - 1;
            var tickVolume = MarketSeries.TickVolume[index];
            
            //...
        }




TRADERS FIRST™