Yes, when you trade, your equity and balance can change at any bar, and when you do not trade, they are flat. So will be their MA (I hope). How different MA types work is described on many websites.