average ticks per minute

 

anyone can help?

how can i code to count the average ticks per minute?

 
double Volume[]
Series array that contains tick volumes of each bar of the current chart.
 
thanks
 
int ticks=Volume[0];
int minutes=( curTime() - Time[0] +30)/60;
Print("ticks/minute=",ticks/minutes);
Reason: