using chartpoint instead of tick in movingaverage calculation
refactor of historical data item representations