Questions from Beginners MQL5 MT5 MetaTrader 5 - page 928
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
What shared folder? I don't use it at all. I always start in portable mode. I have everything in my installation folder.
LifeHack articlefor trader: Comparative report of several tests.
*** Here is an example of a simpleCheck_TerminalPaths.mq5 script:
This script outputs three parameters:
Example for three terminals (one of them is started with /Portable switch):
***
Shared folder:FILE_COMMON. Search, read. Thinking.
Why do I get error 5004 in the tester with the same file, but when debugging on real data everything is fine?
And why do I get error 5004 in the tester with the same file, while debugging it with real data is OK?
You don't give the full picture. You have to pincer the information out of you.
Try to describe the situation intelligently. Provide a CODE that can be STARTED.
With FILE_COMMON it passes without error both on real data and in the tester.
Can you please tell me how to calculate the cost per lot without using OrderCalcMargin?
because my function returns false
I need the indicator to display entry/exit positions on the chart and draw a line between them, on a period of today minus 1 day for example, as is usually done in an indicator or robot?
I don't understand the connection between the original question and the lines. Today minus 1 day can be assigned with several options. or the question is different?
you asked what the time variable is for? here's looking at how to set the calculation of "Server date" minus 1-2 days
and so of course there was a question and what is the difference between those two options for completing the Structure,
you asked what the time variable is for? here's looking at how to set the calculation of "Server date" minus 1-2 days
and so of course there was a question and what is the difference between those two options for filling the Structure,
Well, if only filling the structure, it's unlikely there will be any difference.
And why determine the time of the server through the time of the local computer? Why don't you like TimeCurrent() and use it?
Code
Gives this result:
What am I doing wrong?