same as here:

Latest MT4 update 1421 has a very SERIOUS BUG!!!
- 2024.07.29
- Vu Trung Kien
- www.mql5.com
Hello Developer Team, I found a very serious bug in latest MT4 update (version 4.00 build 1421 on 22 Jul 2024...
We are found a bug in the CRT function floor, when it fallback execution from SSE4.1 to SSE2 and CRT is linked as static library (/MT)
CRT function floor doesn't work properly if your CPU doesn't support SSE4.1
Ilyas #:
Thank you. I don't use servers with old computers. But clients from the market do. They use dedicated servers and get this error en masse.
We are found a bug in the CRT function floor, when it fallback execution from SSE4.1 to SSE2 and CRT is linked as static library (/MT)
CRT function floor doesn't work properly if your CPU doesn't support SSE4.1
Vladislav Andruschenko #:
Thank you. I don't use servers with old computers. But clients from the market do. They use dedicated servers and get this error en masse.
Thank you. I don't use servers with old computers. But clients from the market do. They use dedicated servers and get this error en masse.
Lets see what MS will say: https://developercommunity.visualstudio.com/t/function-floor-does-not-properly-work-on/10778831?
We will make custom floor to bypass this bug.


You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
I found that the MathRound function does not work correctly in the MT4 terminal (latest version 1421) on Windows Server 2019
Results:
Round=0
I used different functions, but the problem is only on Server 2019.
MathCeil also doesn't work.
The same code on Standard Windows 11 works without problems.
Round=30
Solution: Now I use (int) instead of Math Round and everything works correctly.
The problem is only on Windows Server 2019