If the price line crosses the 12 EMA from below, generate Buy signal. if the price line crosses the 12 EMA from above, exit
Hello here is the code
Buy-
CROSSOVER(LAST, EMA(CLOSE,12))
Buy Exit-
CROSSOVER(EMA(CLOSE,12), LAST)
Sell-
0
Sell Exit-
0
1 Like