Errors, bugs, questions - page 2299
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
Guys. Has anyone figured out how to find out if the terminal is loaded on vps MetaQuotes?
Most likely some functionality of the VPS is cut, compared to the Desktop version. It is necessary to write some kind of Unit-Test, where they create/delete OBJ_CHART, make ChartNavigate, take PROGRAM_PATH and so on. Record results of all actions in a file. And then compare the Desktop and VPS files. Differences and will show how to determine VPS.
Most likely, some functionality of VPS is cut, compared to Desktop version. It is necessary to write some kind of Unit-Test, where, for example, OBJ_CHART is created/deleted, ChartNavigate is done, PROGRAM_PATH is taken, etc. Record results of all actions in a file. And then compare the Desktop and VPS files. The differences and will show how to define VPS.
No no no, that's not what I mean.
Let the Expert Advisor on the VPS show the user that it is enabled - post a fake pending order with an appropriate comment.
Have the EA on the VPS show the user that it is on - put up a fake pending order with an appropriate comment.
Good afternoon, all. Does anyone know if it is possible to run a tester from an EA? I want to use statistical data in Expert Advisor logic.
How can I make my function accept an arbitrary number of parameters of any type, like Print() and FileWrite()?
I do not suggest overloading, it is hundreds of parameter combinations.
I am more interested in how it is implemented in Print() and FileWrite().
mql has no mechanism for working with an arbitrary number of parameters.
Up to 8 parameters can be handled by templates.
up to 8 parameters are possible via templates.
is there a code example?
is there a code example?
With 9 parameters it compiled too, there used to be a limit of 8 parameters, now I don't know.
All combinations are taken over by the template, so for 9 parameters we need 10 function overloads.
Please make the Start button in the Tester a different colour in the case of a single run, and a different colour in the case of Optimisation.
To remove the factor of randomly starting Optimisation instead of a single run.