Another way to handle this is to use an "and" rule: The 7 SMA must cross the 20 SMA "and" price action must close above (or below, depending on direction) the 20 SMA.
Both MAs can of course be tweaked to best fit the data, ETF, etc.
Register for free to join our community of investors and share your ideas. You will also get access to streaming quotes, interactive charts, trades, portfolio, live options flow and more tools.