added three hour rolling average to algos