Wait for the price to touch the moving average, which happens when the price trades at the current moving average price.
For a long trade, the previous price bars should have been making lower lows as the price approached the moving average, and for a short trade, the previous price bars should have been making higher highs as the price approached the moving average. There is no specific number of bars that need to make consecutive lower lows or higher highs, but I recommend at least 3 bars.
In the chart shown below, the price touches the moving average on the fourth bar to make a consecutive lower low.


