![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
I want to move the EA comment from left to right corner ? Ask for advice as well. Get help
Just had the same problem. My solution is: create a string "blankspaces" at the beginning of the code with dozens of blank spaces, then at the comment function you do like:
PS: desconsider my variables in the Comment function.
I think this is a good and easy solution, I added it to my Include Script:
Now you can call it like this:
And the result looks something like this:
Why change all the New Line characters to a Centered Dot only to separate by the Centered Dot?
Why change all the New Line characters to a Centered Dot only to separate by the Centered Dot?
Because I want to use the StringSplit function to split the comment's "\n" line breaks to an array. And StringSplit requires a ushort letter for separator.
"\n" is 2 letters, that's why I change it to the ushort "·"
Because I want to use the StringSplit function to split the comment's "\n" line breaks to an array. And StringSplit requires a ushort letter for separator.
"\n" is 2 letters, that's why I change it to the ushort "·"
"\n"
'\n'