EA using MACD
-
Hello fxDreema! How long?
I kept oculpado by this time, and so I have come here in the forum. But that's okay.
I need my EA works through the MACD. If the bar MACD crosses the signal line upwards buy signal. Vice versa for sell.
How do I do that?
-
Cross the main line with the signal line. See "MACD mode" in MACD settings in Condition.
-
Ok
It was as I created, but parce he is not opening at all opportunities. When the bar MACD falls below the signal line, sometimes does not work.It seems that some signals fail.
Here is my project: http://fxdreema.com/shared/FVG4RBgL
-
See the right operand, are you sure "MACD Fast EMA" is to be used for "Slow EMA period"?
-
I do not know why I asked. What is the correct way?
-
You should use the same MACD settings on the boths sides of the Condition. Now one of the parameters is the wrong one and the right MACD is wrong. See constants that are used.
-
Boy, was my mistake then. A small error had not noticed. It is what I copied and pasted in the new project, and had not seen this constant wrong.
Again thanks for the help fxDreema.