Errors, bugs, questions - page 2393
![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
Hi all.
Trying to combine several text labels into one long string. For some reason in absence of ticks (day off), and in usual mode functionObjectGetInteger(0,name,OBJPROP_XSIZE) periodically (not always) returns 0 while "name" object exactly exists. In the tester, errors occur less frequently but they also occur.
The error code is 0 but the value is not acquired. Question for developers and experts. Why? What am I doing wrong or is this a bug?
The code of a test Expert Advisor is below
P.S. By the way, none of the developers have ever answered my previous question
Maybe the length of the name is too long?
Wanted to publish in KB indicator building custom charts, status"being checked by moderator",https://www.mql5.com/ru/code/24839/220196#!tab=code
indicator for MT4, uses tick emulation with
how to publish?
ZS: I can of course reduce the functionality, but I would not want to
how to publish?
The answer is contained in the EA I posted in KB today. Don't know if MT4 has auto-check.
maybe the length of the name is too long?
In the general task, I'm just assembling ("gluing") a long line of text from several tags, because there is a 63-character length limit on the tag. But it has nothing to do with label length. The label object, when created, will itself trim the text to maximum length and the function should return the width of the label in pixels. Since object is created and exists, function (according to documentation) should return its width in pixels, but returns 0 :( In attached example, very short three labels are glued, but still function periodically returns 0 :( Name length is also not great. As far as I remember, there's a limit of 64 characters there too.
The answer is contained in the EA I posted in KB today. Don't know if MT4 has auto-check.
Thanks, tried it, it didn't work, posted a neutered version, so be it
indicator for MT4, uses tick emulation with
You can use ChartSetSymbolPeriod with the current values for updating.
You can use ChartSetSymbolPeriod with current values for updating.
you can, that's how the custom chart is updated, but there will be no ticks for Expert Advisor, you can check with such Expert Advisor:
without sending a message to the window
RegisterWindowMessageW("MetaTrader4_Internal_Message");
The code above will not tick, i.e., the code above will not "tick", but the chart will properly update and show bars.
There was an internet failure during optimisation, got errors
What does this mean? Are the passes corrupted or will they automatically be sent back for optimisation?
I ran out of optimization, and the log shows this
It turns out that only 2580 passes out of 3010 were processed? This is awful!
Hello!
The latest version(build 2007, 25 Feb 2019) has discovered two bugs:
1) 1) When opening the program (or changing the profile) many charts (41 in total) show an eternal "Waiting for update".
2) 2) When closing the program, it does not close completely, the task manager shows that the program is not closed, although visually it is no longer displayed.
3) Controversial bug (on the December 2018 version everything worked fine, no errors), maybe a bug in the indicator, when starting the program or changing the profile, the indicator is not calculated correctly, you can see from the rendered data that some of the data is not calculated correctly. When you reapply the template or open and close indicator properties, the data is correctly calculated.
4) For some reason agents stopped working in the cloud after the update (account is listed). Tests passed 586, time passed 0 hours 0 minutes.
Hello,
I have found a moment on the seller's side of the Market.
I noticed that after a payment for a product was cancelled (the buyer made a mistake - he has a different version of MetaTrader (4 instead of 5, or vice versa)) the sales statistics on the product page in the "Statistics" tab was not corrected. Nor have the overall product statistics from the "Seller" page been corrected (the payment has been accounted for as a sale despite the cancellation and is shown as earned funds, whereas the cancellation is accounted for and shown on the "Payments" page).
The cancellation happened today as well as the payment for the product.
I hope the information provided is up to date, thank you very much for your attention.