Features of the mql5 language, subtleties and tricks - page 240
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
7 - Sunday
It'smore useful when Sunday is zero.
It'smore useful when Sunday is zero.
maybe then:
As long as the two amounts are equal, any one of them is a valid minimum. Consider MathMin(1, 1), it does not differ if the function returns the first (1) or second (1).
So, returning 0.0 is not different from -0.0.
Edit: by the way, the two highlighted expressions are NOT identical.Mathematically the same expression (highlighted) can give different results in practice.
Well, it's different expressions, so the result is different. What's wrong here?
In the first case: 0 < 0? No. The second argument is returned.
In the second case: 0 <= 0? Yes. The first argument is returned.
It's different expressions
Mathematically the same expression
The < and <= signs seem to be different.....
The < and <= signs seem to be different.....
You refuse to understand.
You refuse to understand.
I don't understand why the highlighted expressions are mathematically the same either.
You refuse to understand.
Maybe I would if I knew the background of the situation. But as it stands, it looks right.