MakarFX, looked it up, opens on both buy and sell, nothing wrong with that. But still no reaction to MACD crossing to the opposite side, while the fast remains on the same. As a result, if MACD goes back to the fast and passes 4 confirmation candles, there is no order entry. I attached a screenshot in this message to make it clear what I mean
MakarFX, in your last edit, the order is opened from the 1st candle if the fast one has crossed the slow one and then returned to the same zone where the MACD is. And it has to be confirmed 4 times and the order should open on the 4th candle. I attached a file to make it visually clear.
SanAlex, can you zoom in to clearly see the MACD bars and how the fast one crosses the slow one? I can hardly see it.
artem artem the MACD is. And it has to be confirmed 4 times and the order should open on the 4th candle. I attached a file to make it visually clear.
SanAlex, can you zoom in to have clearly visible MACD bars and how fast one crosses slow ones? I can hardly see it.
It turns out that the bull has switched when the fast one crosses the slow one and the signal on the next bar recalculates the current state and opens the trade
I understand the problem, but I do not know how to solve it...
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
I have attached a screenshot, if you don't understand anything, just ask
This should work
I've attached a screenshot, if you don't understand anything, just ask.
Compile it so it doesn't get in the way
if (Init) InitMetod();Try this one - will it open in those places?
That's how it opens - how should it open?
That's how it opens - how should it open?
this is how it opens - which I've poked around in.
and this is how you put the code above.
Attached a screenshot, if you don't understand something - ask
Tweaked it a bit
and this is the picture - the right dots ???
MakarFX, in your last edit, the order is opened from the 1st candle if the fast one has crossed the slow one and then returned to the same zone where the MACD is. And it has to be confirmed 4 times and the order should open on the 4th candle. I attached a file to make it visually clear.
SanAlex, can you zoom in to clearly see the MACD bars and how the fast one crosses the slow one? I can hardly see it.
SanAlex, can you zoom in to have clearly visible MACD bars and how fast one crosses slow ones? I can hardly see it.
It turns out that the bull has switched when the fast one crosses the slow one and the signal on the next bar recalculates the current state and opens the trade
I understand the problem, but I do not know how to solve it...