I have a strategy which is on a 5 minute timeframe.
I need an average of the volume over e.g. the last 100 days. Only for today. That is all.
I have tried adding a Add(PeriodType.Daily, 1). However, it doesn't seem to work right. Am I not loading sufficient historic bars? Do I need to overload a dataseries object?
An easier way would be if I could call the VOLMA indicator, but instead of using the DataSeries from which I called it, could I not call the VOLMA indicator specifying a daily timeframe?
Thanks in advance
Comment