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
Try inserting a line separator "\r\n"
It's strange. If I just output the string using Print() it's OK, but if I form it using StringFormat() and pass it as a parameter to OnChartEvent, the tail gets cut off.
Please check where the glitch is.
PS
As I understand the problem with custom messages in the OnChartEvent in ixicpc will now exist until the end of the championship (as no builds will be released during the championship)?
This is strange. If you just output a string using Print(), everything is OK, but if you form it using StringFormat() and pass it as a parameter to OnChartEvent, the tail is cut off.
Could you give us an example? What exactly is truncated.
what is the difference between Symbol() and _Symbol .... Period() and _Period ???
Can you give me an example? What exactly is being clipped.
The source text which is sent to OnChartEvent - "The server has allowed execution of the operations trade. Trading account №%d."
Text to be displayed in Expert Advisor's journal - "Event ID 1006 Message Parameters of the terminal - The server has allowed execution of the operations trade. Trading account #xxxxx."
Text to be displayed in Expert Advisor's log - "Event ID 1006 Message Parameters of the terminal - The server has allowed execution of the operations trade. Tradi"
I can't figure out what the problem is.
Expert Advisor uses two function libraries written in MQL5. Everything compiles normally, except that it swears that it cannot create ex in header files. When running it in the tester, the following line appears in the log: DLL loading is not allowed.
I can't figure out what the problem is.
Expert Advisor uses two function libraries written in MQL5. Everything compiles normally, except that it swears that it cannot create ex in header files. When running it in the tester, the following line appears in the log: DLL loading is not allowed.
The source text that is sent to OnChartEvent is "The server has allowed execution of the operations trade. Trading account #%d."
I understand that you send the text through sparam to EventChartCustom.
There is a restriction on the length of transmitted string - 63 characters. Anything longer than that will be truncated. This is described here(https://www.mql5.com/ru/docs/eventfunctions/eventchartcustom)
I understand that you are sending text to EventChartCustom via sparam.
There is a restriction on the length of transmitted string - 63 characters. Anything longer is truncated. This is described here(https://www.mql5.com/ru/docs/eventfunctions/eventchartcustom)
So how about increasing to 128?
And then up to 256...
Send longer strings in several messages. In an integer parameter you can pass the portion number, in a real parameter you can pass the number of portions.