Yes. the intraday trend is pre-determined by the 60min bar crossing above the 40EMA. You use the 5min bar crossing the 40EMA to time entries. It's just that simple!
If the trend is up, then you look for buying opportunities near the 40EMA.
If the trend is down, then you look for selling...