Errors, bugs, questions - page 1218
![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
here's the thing:
...
My result is higher.
P.S. It's a bit harder to reproduce with you, though. I'll try it later.
but as it is:
1. I open a new chart
2. create an object
3. copy the object name from the code
4. change the object name by copying
5. run the script:
6. I get:
EVERYTHING!!!
and previously (in older builds) the names "UP_Line" and "UP_line" could be equal to each other
turns out the names used to be:
UP_Line and UP_line were calmly equal to each other.
Is that what the problem was?
Use this in MQL4:
Is that what the problem was?
Use this in MQL4:
The code is old, I didn't change anything in it.
Everything was working fine, but today it popped up
Is that what the problem was?
Use this in MQL4:
and this did not reveal any errors, because the error is not syntactic, but logical, or rather the reason was in different object names ("Line" and "line"), which used to be equal for some reason.
So object names should be stored in variables. )))
This does not save from such an error )
HH: no, actually it does,
but at the time when this code was written, this was not taken into account.
Error in documentation or implementation of character constants
https://www.mql5.com/ru/docs/basis/types/integer/symbolconstants
" character constants.
Any single-quoted single character or hexadecimal ASCII character code as '\x10' is a character constant and is of type ushort."
Result: short
This is relevant because f('\x10' ), if overloaded, causes f( short ) to be called instead of f( ushort ) - a different method/function is actually called
Furthermore, both the argument and the result of the built-in string function are ushort
Bild 986.
On collapsed Tools (Ctrl-T), the bar that says Balance/Resources/Margin (double-click on which opened the panel) has disappeared.
Now minimised looks like this
Stretch upwards over the edge is possible, expand by double-clicking on the tab is not, only collapse.