EMA Retest EA
-
I need help. I am trying to build an EA that uses the 20&50EMA crossing logic. For buy I want;
- The 20 EMA to cross above the 50 EMA
- I want the price to come back and touch or break the 20EMA (retest)
- The candle that breaks up or closes above the 20EMA is the signal
- 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.
-
@denkuf The same candle can't close above and below a MA, you also need to add the candle ID to the MA.
-
@jstap Thanks for the feedback, I changed the candle ID as you suggested but it won’t take trade. Can you show me how it should be?
-
@denkuf Put a shared project here, did you change your condition to expect the same candle is above and below the MA?
-
Please here is the project link. So that you know, I'm new to Fxdreema and this is my first attempt at building a bot, so pardon my ignorance.
-
@denkuf Change the candle ID's, this should place trades, if not it may be the likely hood of all happening at the same time. Remove conditions and back test 1 at a time until you find which one stop's things working.
-
What do you suggest I should change the IDs to?
-
@denkuf I can't attach a picture for some reason, make the right operand ID same as left.
-
Please I have changed it as suggested. See below
https://fxdreema.com/shared/7WnVP75Bb