![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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 did not.
Would I need to?
The issue is with MT4 build 1421, so I didn't think I would need to put the test.dll into the MQL5 library folder.
I did however, as stated put it into MQL4 library folder!
No, not need to copy into the MQL5
So, to make sure the <data> folder is correct, open it from the menu "Terminal -> File -> Open Data Folder"
Does the folder <data>\MQL4\Libraries contain test.dll?
No, not need to copy into the MQL5
So, to make sure the <data> folder is correct, open it from the menu "Terminal -> File -> Open Data Folder"Right, yes.
I did that, double checked multiple times before posting, asking for help.
Try recompiled version, I change C++ runtime version from /MTd to /MT
Now it'll allow me to import.
It returns a 1, instead of a 0 as before
Try this code please
Try this code please
Seems like the MathRound is the problem.
Seems like the MathRound is the problem.
OMG
I forget about optimizer!
If you see this, it means MQL compiler has the same behaviour!
To be sure in call function MathRound at runtime, run this
OMG
I forget about optimizer!
If you see this, it means MQL compiler has the same behaviour!
To be sure in call function MathRound at runtime, run this
The results of your most recent code.
I don't see nothing strange in the MT4 & MQL4 native codes.
What exactly CPU do you use?
I don't see nothing strange in the MT4 & MQL4 native codes.
What exactly CPU do you use?
It's from my VPS, it's the only place where the issue is happening.
As threadstarter (Or Mikkelsen?) mentioned, its a windows server-related issue, most likely.
Device name WIN-3IHC0SQ4OTL
Processor QEMU Virtual CPU version 2.5+ 2.19 GHz (2 processors)
Installed RAM 3.00 GB
Device ID C32165BC-6BFB-4B6B-B1DF-48F0497BCF8D
Product ID 00456-50302-20523-AA702
System type 64-bit operating system, x64-based processor
Pen and touch No pen or touch input is available for this display