<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def __updatePreviousState(self, tick):
        ''' update previous state '''
        self.__previousTick=tick
        self.__previousSmaShort=self.__smaShort.getLastValue()
        self.__previousSmaMid=self.__smaMid.getLastValue()
        self.__previousSmaLong=self.__smaLong.getLastValue()
        self.__previousSmaVolumeShort=self.__smaVolumeShort.getLastValue()
        self.__previousSmaVolumeMid=self.__smaVolumeMid.getLastValue()
        self.__previousMovingLowShort=self.__movingLowShort.getLastValue()
        self.__previousMovingLowWeek=self.__movingLowWeek.getLastValue()