Hey folks !
I have a question regarding how to set up two “specific” conditions in my alert.
I have an open position, I would like to set an alert when 2 candlesticks closes above (or below whatever) the EMA13 line.
To code that I’d write (myEMA is the EMA13 line):
if (close[1] > myEMA and open[0] > myEMA and close[0] > myEMA).
A chart is more explainful than the post, so I joined an example when my alert should pop-up.
Thank you very much, I hope I was clear enough.
Regards !