//+------------------------------------------------------------------+//| test_script.mq4 |//| Copyright 2015, MetaQuotes Software Corp. |//| https://www.mql5.com |//+------------------------------------------------------------------+#property copyright"Copyright 2015, MetaQuotes Software Corp."#property link"https://www.mql5.com"#property version"1.00"#property strict//+------------------------------------------------------------------+//| Script program start function |//+------------------------------------------------------------------+voidOnStart()
{
//--- объявим символьные константы & #, $, %int a='&';
int b='#';
int c='$';
int d='%';
//--- выведем константы на печатьPrint(a,b,c,d);
//--- добавим символ в строкуstring test="";
StringSetCharacter(test,0,a);
Print(test);
//--- соединим свою фразу со строкойPrint("Extremum DC"+test+"KF");
//--- заменим символ в строкеStringSetCharacter(test,0,b);
Print(test);
//--- соединим свою фразу со строкойPrint("Extremum DC"+test+"KF");
//--- заменим символ в строкеStringSetCharacter(test,0,c);
Print(test);
//--- соединим свою фразу со строкойPrint("Extremum DC"+test+"KF");
//--- заменим символ в строкеStringSetCharacter(test,0,d);
Print(test);
//--- соединим свою фразу со строкойPrint("Extremum DC"+test+"KF");
}
//+------------------------------------------------------------------+
Vladimir, hover your cursor over the open order icon in tester visual mode. I wrote - in the order comment, not in the log. My omission - I forgot to say that the symbols are not written in the order comment, which is shown in the tooltip when you hover your cursor over the order icon.
Artyom Trishkin: Vladimir, hover your cursor over the open order icon in the visual mode of the tester. My mistake - I forgot to say that the symbols are not written in the order comment, which is shown in the tooltip when you hover your cursor over the order icon.
Indeed, the tester in MT4 cuts the special characters out of the order comment.
Have you tried analysing the prev_calculated parameter?
You were talking about two indicators, one of which calls the other via iCustom. Which indicator, the first or the second, are you talking about the prev_calculated parameter?
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.
mql4 question:
You can't write some characters in the order comment? For example, writing in the comment
really writing Extremum DC _KF in the commentary
if write
Realistically in the comment you write Extremum DC KF
What other icons and their combinations are replaced by other characters? The thing is, I sometimes write my working information in the comment.
Some characters are used to find it in the string, e.g. #, $, %
Here is the solution:
and the result is printed:
is there such a character in German in the alphabet?
"d", "z".
Here's the solution:
and the result is in print:
No, but there are "ü, ö, ä" in the alphabet.
I know those, but I met those today.)
but that's probably because of the wind.
How about writing it like this? "\&"
Vladimir, hover your cursor over the open order icon in the visual mode of the tester. My mistake - I forgot to say that the symbols are not written in the order comment, which is shown in the tooltip when you hover your cursor over the order icon.
Dear, please help me to solve this problem!
The equity indicator on different demo accounts, FortFS company, in one terminal is displayed differently - I do not understand why!
Server: mt4demonl.fortfs.net:443
Login: 100156114 Investor: 3izqqrx


it is displayed normally.
and i switch to another account
Login: 100155792 Investor: 5dtfjur
it is not displayed correctly
Why does it happen and what is the reason?
Have you tried analysing the prev_calculated parameter?
Dear, please help me to solve this problem!
The equity indicator on different demo accounts, FortFS company, in one terminal is displayed differently - I do not understand why!
Server: mt4demonl.fortfs.net:443
Login: 100156114 Investor: 3izqqrx
it is displayed normally.
and i switch to another account
Login: 100155792 Investor: 5dtfjur
it is not displayed correctly
Why does it happen and what is the reason?