Topic: MACD does not really close when Crossing the zero line downward ?

Dear Popov and Staff,
the EA has the following conditions:

Open Long when Macd Line crosses the zero line upward
Close Long when Macd Line crosses the zero line downward

but it has not closed, I had to close the position manually:

https://i.postimg.cc/wMnBBTw7/image.png

PLease find EA studio EA attached.

Thanks

Post's attachments

EA Studio XAUUSD M5 1238842970 MACD Cross Sopra Sotto 0 Traling S.mq5 56.24 kb, 1 downloads since 2026-02-25 

You don't have the permssions to download the attachments of this post.

Re: MACD does not really close when Crossing the zero line downward ?

Thank you for the report!

I'll examine the case and will post a comment.