Long signal will be given when is above 52 on the hourly chart to confirm a higher timeframe bias as well as price closing above the 50EMA on the 5 minute chart. High + Low + Close / 3 has been used to smooth signals.
Trade will be closed when price either closes below the 50EMA on the 5 minute or drops above 52 on the hourly.
Colour coded candles included for ease of trading. Green = all signals met to buy. Red = sell.
Can change inputs to suite your style.