add common func getMovingAverage()
add moving average line on admin swap view