It seems properly configured, and yes, there are times when both averages run close to each other and there are multiple crossings between them. It won’t be possible to filter all bad trades, but I find that using a slower moving average or another indicator like a supertrend helps. So I would add for example an extra condition supertrend must be bullish, in 4H or above. You can run a backtest and see the result.