This is not correct. A moving average is based on the average of the last XXX number of bars, NOT the last bar, so a moving average will move after the last bar closes. Your math, sir, is incorrect.
Moving averages repaint, period. The only indicators that will not by definition repaint are...