Hello,
You should develop your own formulas that calculates average values and reset them when needed. You should enter the formulas into the Formulas table in Administrator and use them from input channels. Also you can purchase creating such formulas.