As per the above condition
BuyScript:
SET A = MACDSignal(13, 26, 9, SIMPLE) SET B = MACD(13, 26, 9, SIMPLE) CROSSOVER(A, B) = TRUE AND EMA(CLOSE,5)>EMA(OPEN,6)
SellScript:
SET A = MACDSignal(13, 26, 9, SIMPLE) SET B = MACD(13, 26, 9, SIMPLE) CROSSOVER(B, A) = TRUE AND EMA(OPEN,6)>EMA(CLOSE,5)