The compiler used to allow all sorts of liberties. Now it's stricter. Is it bad? You look through the code and you see such pearls, even if you wanted to compare them to a missing value...
This is the end of the lafa. Why? Simply because, in particular, they make claims against meta quotas for that shit-code downloaded by users from all sorts of dumpsters. Schoolchildren write it, and freeloaders use it, not knowing that it is a bomb.
If we were calling some built-in function that specifies a symbol, then yes, but here we are comparing with an order symbol, it cannot be NULL and will not give the truth when comparing NULL and OrderSymbol().
If we were calling some inline function specifying a symbol then yes, but here we are comparing with an order symbol, it cannot be NULL and will not give the truth when comparing NULL and OrderSymbol().
I didn't say anything aboutOrderSymbol(), I only said that in Rita's case, if NULL was in the function call where I haveSymbol(), it doesn't matter. AndOrderSymbol() wasn't mentioned. It's just this site, everyone writes what they want. They may make a mistake.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Igor's:
Need:
As far as I understand, this is a useless substitution, because using NULL substitutes the current chart symbol.
What don't you like? Or in this case you can only put one and the other is no good?!
Comment( NumberOfPositions(NULL, -1, Magic) );
in this case, we can put " " orSymbol() or _Symbolor 0, but not NULL
NULL in this case does not represent the current symbol
in this case, NULLmeans the current symbol
double res=iAC(NULL,0,1);
The compiler used to allow all sorts of liberties. Now it's stricter. Is it bad? You look through the code and you see such pearls, even if you wanted to compare them to a missing value...
This is the end of the lafa. Why? Simply because, in particular, they make claims against meta quotas for that shit-code downloaded by users from all sorts of dumpsters. Schoolchildren write it, and freeloaders use it, not knowing that it is a bomb.
Comment( NumberOfPositions(NULL, -1, Magic) );
in this case, we can put " " orSymbol() or _Symbolor 0, but not NULL
NULL in this case does not represent the current symbol
in this case, NULLmeans the current symbol
double res=iAC(NULL,0,1);
As far as I understand, this is a useless substitution, because using NULL substitutes the current chart symbol.
That's for sure!
No, not in that context.
If we were calling some built-in function that specifies a symbol, then yes, but here we are comparing with an order symbol, it cannot be NULL and will not give the truth when comparing NULL and OrderSymbol().
No, not in this context.
If we were calling some inline function specifying a symbol then yes, but here we are comparing with an order symbol, it cannot be NULL and will not give the truth when comparing NULL and OrderSymbol().
Igor is not a programmer to you?!
Why not? The programmer. I like his logic, but that's how I would write the order counting function: