MarketSeries.TickVolume
Created at 17 Jan 2013, 11:42
MarketSeries.TickVolume
17 Jan 2013, 11:42
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]; //... }
Replies
a.fernandez.martinez
12 Mar 2019, 01:52
how can you get the MarketSeries.TickVolume of an inferior timeframe
let's say you're currently in h4, how can you get the m1 tick volume per m1 period
@a.fernandez.martinez
PanagiotisCharalampous
12 Mar 2019, 14:48
Hi a.fernandez.martinez,
Here is an example
var series = MarketData.GetSeries(TimeFrame.Minute); Print(series.TickVolume.LastValue);
Best Regards,
Panagiotis
@PanagiotisCharalampous
... Deleted by UFO ...