add movingaverage to alor.py