how moving averages work in the market

how moving averages work in the market