As per the above given condition
BuyScript:
CROSSOVER(EMA(CLOSE,12),EMA(CLOSE,26)) AND MACD(13, 26, 9, SIMPLE) > 0
BuyScript:
CROSSOVER(EMA(CLOSE,26),EMA(CLOSE,12)) AND MACD(13, 26, 9, SIMPLE) < 0
Thankyou GEEK
want SL code for this same algo.
Sl is below low of cross over candle.