MACD and SIGNAL Difference
-
Hi guys, i need to create a condition that passes once the difference between the MACD value and the SIGNAL value of the same candle are above a set value. For example i want my EA to enter a trade once the difference between MACD and SIGNAL of candle ID 1 is above the value 2. If the difference is less than the value 2, no trade is opened. How can i do this, may you please help.
-
-
@roar Thanx hey, but i see you put the +2 on the MACD signal side. If i want the MACD Main line to be always >2 do i put a +2 on the MACD main side or i can also use the > sign
-
@vmaruziva my picture says "main line is 2 above signal line". Thats how the math works here
-
@roar I have tried the way you showed me but still its opening trades where i dont want it to. I want to enter a buy trade only if the MACD main line is at least 2 above the MACD signal. A sell trade when the MACD main is at least 2 less than the MACD signal.
