You did not specify what the 20-SMA referred to (days or any number of candlestick periods: 2. 5, 15), so I did the strategy that looks for a min up from the 20 day AND 20 period on 15 minute candles:
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.