Followed the MT4 example "STRINGS: ASCII CHARACTERS TABLE AND USE"
//+------------------------------------------------------------------+//| StringLowerCase |//+------------------------------------------------------------------+string StringLowerCase(string str)
{
string s = str;
int lenght = StringLen(str) - 1, symbol;
while(lenght >= 0)
{
symbol = StringGetChar(s, lenght);
if((symbol > 64 && symbol < 91) || (symbol > 191 && symbol < 224))
s = StringSetChar(s, lenght, symbol + 32);// тут possible loss of data due to type conversionelseif(symbol > -65 && symbol < -32)
s = StringSetChar(s, lenght, symbol + 288);// тут possible loss of data due to type conversion
lenght--;
}
return(s);
}
//+------------------------------------------------------------------+//| StringUpperCase |//+------------------------------------------------------------------+string StringUpperCase(string str)
{
string s = str;
int lenght = StringLen(str) - 1, symbol;
while(lenght >= 0)
{
symbol = StringGetChar(s, lenght);
if((symbol > 96 && symbol < 123) || (symbol > 223 && symbol < 256))
s = StringSetChar(s, lenght, symbol - 32);// тут possible loss of data due to type conversionelseif(symbol > -33 && symbol < 0)
s = StringSetChar(s, lenght, symbol + 224);// тут possible loss of data due to type conversion
lenght--;
}
return(s);
}
The code does not come to my phone when I register, it came to my mail, but not to my phone. I tried another number, but nothing came out. Can you tell me if anyone has had such a problem?
Информация о счете - Состояние окружения - Константы, перечисления и структуры - Справочник MQL5 - Справочник по языку алгоритмического/автоматического трейдинга для MetaTrader 5
After an incorrect update, it is quite possible to reboot the computer. The terminal can't roll back without rebooting, it stops/unloads anyway to start the update.
It's a good idea to check if the version of the axis and maybe something else is suitable for correct updates)
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.
If you don't mind, please help me fix it...
32 bit computer, home computer
deep night, 5 big positions open on real account, EA is working
- mt5 is trying to refresh
- I want to go for a refresh or I want to postpone ?
- I say postpone !
- But if I was drinking tea in the kitchen at the same time the update would have started ?
32 bit computer, home computer
deep night, 5 big positions open on real account, EA is working
- mt5 is trying to refresh
- I want to go for a refresh or I want to postpone ?
- I say postpone !
- But if I was drinking tea in the kitchen at the same time, the update would have started ?
No idea, I don't drink tea at night, much less in the kitchen, only coffee and in the office :)
P.S. And seriously, the window is not made for nothing, until there is no confirmation, nothing will happen.
No idea, I don't drink tea at night, much less in the kitchen - only coffee and in the office :)
P.S. In all seriousness, the window is done for a reason, nothing will happen until there is confirmation.
God willing !
32 bit computer, home computer
deep night, 5 big positions open on real account, EA is working
- mt5 is trying to refresh
- I want to go for a refresh or I want to postpone ?
- I say postpone !
- If I was drinking tea in the kitchen at the same time, the update would have started ?
It wouldn't. And from what I understand, these updates are for 64 bit. On 32 bit these updates will not work. It was posted on a forum somewhere.
Please correct me if I am wrong.
It wouldn't run. And from what I understand, these updates are for 64 bit. These updates would not work on 32 bit. It was on the forum somewhere.
Correct me if I'm wrong.
They won't, but if you press the button, it will reboot.
They won't, but if you press the button, it will reboot.
The computer or the terminal?
Compa or terminal?
Galaxy :)
Galaxies :)
After an incorrect update, it is quite possible to reboot the computer. The terminal can't roll back without rebooting, it stops/unloads anyway to start the update.
It's a good idea to check if the version of the axis and maybe something else is suitable for correct updates)