EA not following conditions.
-
I am creating a robot that opens a long signal when a bullish candle closes above the Double Exponential Moving Average after the precious candle closes bullish candle crosses and closed above the Double Exponential Moving Average and vice versa for the opposite. However, what I noticed is that it opens trades abitrarily. Sometimes several candles after the conditions have been met, other times when the conditions have not even been met, it even skips entries. I do not know how to share my EA conditions so it's easier for you to see what I mean. Any help.
Below is my condition for a BUY signal.
Candle Bullish body size (pips) close X> Double Exponential Moving Average 14.
Candle Bullish body size (pips) close > Double Exponential Moving Average 14.What am I doing wrong?
-
Could You share the project? Because conditions maybe is not the case...
-
https://fxdreema.com/shared/amu5pgBK that is the link to the project.
-
@zooslinkis This is the link to my project https://fxdreema.com/shared/amu5pgBK
-
@jjzones The proble is that your condition blocks are comparing a distace in pips (left operands) while you are requiring a crossing. The EA cannot understand that. I guess you mean open price should be below the indocator and close price above it. Correct? If so just modify your blocks specifying exactly that.
-
@l-andorrà Oh, okay, I'll try it and hopefully it works, I'll keep you in the loop.