21/50 EMA crossover strategy

Help me with code for strategy on Streak :
Go long condition : 21 EMA CROSSES OVER 50 EMA FROM BELOW.
Exit Long : 21 EMA CROSSES OVER 50 EMA FROM above.

Go short condition:
(a) Wait 3 candles after exit from previous trade.
(b) 21 EMA CROSSES OVER 50 EMA FROM above.
(c) 21 EMA CROSSES OVER 50 EMA FROM BELOW.

maybe @Streak can help you .

Hi @Sks1

We have created the conditions as per our understanding of your requirements. Please refer to the image below for reference.

You can refer the above and create similar strategy for short condition. However, the specific requirement to enter a short position after waiting for 3 candles following an exit from the previous trade is currently not possible with the available functionalities on the Streak platform.

We have set the SL and TP values to 999, ensuring that the strategy exits positions only based on the exit conditions you have defined.

Hope this helps.