Kindly help me on writing code for the below strategy:
Buy: Price higher than the EMA (13,34) CROSSOVER candle high
Sell: Price lower than the EMA (34,13) CROSSOVER candle low
Kindly help me on writing code for the below strategy:
Buy: Price higher than the EMA (13,34) CROSSOVER candle high
Sell: Price lower than the EMA (34,13) CROSSOVER candle low
As per the above condition
Buy Script:
LAST > CROSSOVER(EMA(HIGH,13),EMA(HIGH,34))
Sell Script:
LAST < CROSSOVER(EMA(HIGH,34),EMA(HIGH,13))