EA ignores other conditions
-
I made this ea base on macd divergence and the divergence btw two candles. But when i test the EA it only opens a position when the macd condition is met. It totally ignores the conditions for the divergence in candles ( fractal candles buy and sell area)
please help. Here's the link https://fxdreema.com/shared/3xBdm4tjd
-
It can't because a condition only passes if the condition is true, test 1 condition at a time then you can see the problem and, fix any issues
-
@jstap I did test it, all the conditions played out well, but when combined, only the macd works
-
@jstap Can you explain how I can use flag to achieve this?
After the macd divergence, the EA should save it that first condition is met, then checks for second condition. This second condition can happen anywhere, even inside the macd divergence or even 10-20 candles after the divergence -
I don't think I can't help with this, anything I have tested, if it works singularly, it works together. Maybe try putting the divergence blocks at the bottom, just above buy/sell