![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
It's not just the programme that can be taken to the point of absurdity. Which is exactly what you are doing.
If, as you say, you know how to do it, then you must understand the principle of the if operator. Or don't you?
And do not compare an if operator with a donkey, a donkey sits in your brain and writes nonsense. And don't compare the if operator to a donkey sitting in his brain writing nonsense.
Why not the other way round?
Because logic
No way, I don't even know what if is, this is the first I've heard from you.
Confession, the first step to getting it right
What about logic? Absent?
Why not the other way round?
you can do that:
there is no difference.
How would you like to flatten everyone to your plinth level?
I think that only you, Dima, were talking about "it" here )
People were discussing working code in which if is the fastest part.
Switch works almost instantly, you can use it for universal EA. Only I don't see the point...
This is some kind of pointless discussion. It is enough to take a test from https://www.mql5.com/ru/forum/66271 set, add this if to it and make sure that nothing has changed, because the effect of increasing calculation time by several nanoseconds per cycle is beyond measurement error.
No, the topic is very important! Ifes are just catastrophically slowing down programmes! Especially trading ones, it's not synthetic tests!
Forum on trading, automated trading systems and trading strategy testing
Help!
Dmitry Fedoseev, 2015.11.05 03:54
Reduces and therefore there's no reason to shove if where you can do without it.Just kidding, if anything =)