Errors, bugs, questions - page 1436
![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
The funny thing is that ex4 file compiled in my MetaEditor Version: 5.00 build 1214 12 Nov 2015 does not display graphical objects in the terminal of the person to whom I give this file. He also has MT4 terminal, build 910 and MetaEditor Version: 5.00 build 1214 12 Nov 2015.
The indicator source file compiled by him normally creates an executable that works correctly in his terminal.
What are these errors?
Write to servicedesk (attach source code), we'll try to reproduce.
OK, written, attached:
OK, written, attached:
Good afternoon everyone. I got to the point of writing EAs. I have typed the code from the example, pressed compile and got an error: EX4 Write error. Please help me to solve this problem. I know that this may be the 1000th time I am asking. I found something on the Internet about this error but did not understand how to fix it. I want to either start Metatrader with /portable parameter or copy MQL4 folder. Help me please.
Compilation error: code generation error. #2
Please read the documentation
Some math coprocessor operations can result in an invalid real number, which cannot be used in math and comparison operations because the result of performing operations on invalid real numbers is undefined.
Now pay attention to the question: what is the value of EMPTY_VALUE*2?
Read documentation
Now pay attention to the question: What is the value of EMPTY_VALUE*2?
1. Why in MT4 and MT5 this code leads to a different result (more logical in MT4)?
2. How can I determine at runtime whether the number is valid or not (for example, so that the sorting algorithm doesn't loop because of it)?