How to get Average Volume of last 20 candles?

Back to topics list To post a new topic, please log in or register
avatar
273
sheriffonline 2015.12.17 20:55
 


Your support is appreciated..

avatar
736
honest_knave 2015.12.18 08:41 #
 
long AvgVol;
for(int i=0; i<20; i++)
  {
   AvgVol+=Volume[i];
  }
AvgVol/=20;

Back to topics list  

To add comments, please log in or register