started with drawing of moving average