Errors, bugs, questions - page 1437

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
MathIsValidNumber
The behaviour is different because of more aggressive optimizer for MQL5 code.
1. Why in MT4 and MT5 does this code lead to different results (and more logical in MT4)?
Read documentation
What does EMPTY_VALUE mean in MQL4?
Can you tell me why the following line (when first accessed) gives an "out of range" error:
that's the fill-in, isn't it?
Or am I missing something?
You declared an array but didn't specify an array size...
Static exampleint buf_lup[1000], buf_ldn[20000];
that's the fill-in, isn't it?
Or am I missing something?
that's the fill-in, isn't it?
Or am I missing something?
You have to set the size of the array before you fill it. (ArrayRezise). A simple example: