pls code the strategy
-
Buy - when EMA 5 cuts EMA 13 and EMA 26 from below i.e. positive crossover
-
Sell - when EMA 5 cuts EMA 13 and EMA 26 from above i.e.negative crossover
pls code the strategy
Buy - when EMA 5 cuts EMA 13 and EMA 26 from below i.e. positive crossover
Sell - when EMA 5 cuts EMA 13 and EMA 26 from above i.e.negative crossover
As per the above condition
Buy Script:
CROSSOVER(EMA(CLOSE,13),EMA(CLOSE,5)) AND CROSSOVER(EMA(CLOSE,26),EMA(CLOSE,5))
Sell Script:
CROSSOVER(EMA(CLOSE,5),EMA(CLOSE,13)) AND CROSSOVER(EMA(CLOSE,5),EMA(CLOSE,26))