
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
Question about implicit type conversion.
Can we use this construct?
Or should we still use an explicit type conversion?
Question about implicit type conversion.
Can we use this construct?
Or should we still use an explicit type conversion?
Log message "update 'C:\Program Files\MetaTrader 5\metatester.exe' failed [32]" and "failed to update terminal".
When upgrading from 470 to 478 after agreeing to restart, build 470 started again. After manually unloading, the update to 478 happened.
Log message "update 'C:\Program Files\MetaTrader 5\metatester.exe' failed [32]" and "failed to update terminal".
We know the problem - you have test agents installed as services, but they did not unload in time, so there was an error on their upgrade.
The terminal in this case postpones the update until the next start.
I can't see the bug in my code, it's written:
ObjectSetInteger(0, ID, OBJPROP_XOFFSET, x);
I print the name of the object ID and x are correct values, but in the chart it's in the upper left corner (0, 0) for some reason. What can it be?
P.S. Maybe it's not the equivalent of a quadruple call to ObjectSet(ID, OBJPROP_XDISTANCE, x) ? Then how to make an analogue?I can't see the bug in my code, it's written:
ObjectSetInteger(0, ID, OBJPROP_XOFFSET, x);
I print the object name ID and x are correct values, but in the chart it's tucked in the upper left corner (0, 0) for some reason. What could be the problem?
P.S. Maybe it's not the equivalent of a quadruple call to ObjectSet(ID, OBJPROP_XDISTANCE, x) ? Then how to make an analogue?OBJPROP_XOFFSET is used to position the displayed sprite within the image. This is explained in more detail in the exampleat Demo_BitmapOffset (OBJPROP_XOFFSET and OBJPROP_YOFFSET)
Most likely you need OBJPROP_XDISTANCE.
Good afternoon, could you please tell me if it is possible to know which period buttons I have selected on the toolbar when running the program??? (for example, I have set M2, M10, H1)
A couple of questions.
1. Reading in the documentation:
StringSetCharacter
Returns a copy of a string with a changed character value at a specified position.
boolStringSetCharacter(
Either there is an error in the verbal description or in the declaration.
2. Trying to compile the string:
StringConcatenate(Indicator_Name, " ", Base);
I get an error about wrong number of parameters. The documentation says there should be at least 2 parameters in addition to the first one, and here there are only 3.
1. Here is a more correct description of the function(https://www.mql5.com/ru/docs/strings/stringconcatenate) for the moment the description corresponds to reality
2. We need more details. It is not reproducible.