I am writing a code where the condition is:
EMA(5) and EMA(13) should both cross today's first 5 minute bar and the (bar's) closing price should be above EMA(5) and EMA(13).
Any idea how to achieve this? Please help.
Thanks in advance.