15 May 2022, 03:22

I need help. I am trying to build an EA that uses the 20&50EMA crossing logic. For buy I want;

  1. The 20 EMA to cross above the 50 EMA
  2. I want the price to come back and touch or break the 20EMA (retest)
  3. The candle that breaks up or closes above the 20EMA is the signal
  4. Buy on candle ID 1
    The opposite is true for Sell

Here is the link to my project. I have tried but it's not taking any trades;

https://fxdreema.com/shared/yVWYLsJAd

Thank you.