1st set
Ema cross of 50 and 200
2nd set
Give buy signal when price cross above buy alert candle and sell signal when price cross below sell alert candle
Buy alert candle:
Current candle high > previous candle high
Current candle low > previous candle low
Current candle close > previous candle high
Sell alert candle :
Current candle high < previous candle high
Current candle low < previous candle low
Current candle close < previous candle low