My strategy uses the variable VOLMA(10)[1], which means I need to set Min Bars Required to 11 and Days To Load to 22 (double the bars because it's using an exponential average).
To reduce the number of bars required, I tried using FundamentalDataType : AverageDailyVolume, but it appears that IB doesn't support this.
So, does IB support AverageDailyVolume?
If yes, how do I get the AverageDailyVolume from IB? I used the sample code in the reference manual under FundamentalDataEventArgs.
If no, is there a more efficient way to calculate the average volume than VOLMA? For example, is there a way to get a simple moving average for the last 10 daily bars, which would allow me to reduce Days To Load from 22 to 11?

Comment