Discussion of article "Why Virtual Hosting On The MetaTrader 4 And MetaTrader 5 Is Better Than Usual VPS" - page 48

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
The tenth point is the beginning of the night, everything works on my computer, but not on the hosting.
Forum on trading, automated trading systems and testing trading strategies
Discussion of the article "Why virtual hosting in MetaTrader 4 and MetaTrader 5 platforms is better than regular VPS"
Karputov Vladimir, 2016.07.15 19:43
What photo? You need editable code.The tenth point of the beginning of the night, on my computer everything works, but on the hosting does not work
If TimeLocal is used in the EA, it may be different on the server.
If you work with TimeCurrent or TimeGMT, there will be no difference.
If TimeLocal is used in the Expert Advisor, it may be different on the server.
If you work with TimeCurrent or TimeGMT, there will be no difference.
How can I find out what time is used in the Expert Advisor?
As far as I understand the EA can create files on virtual hosting, for example in the MQL/Files folder.
The question is: when I synchronise the EA again and delete it, will the files created by the EA be deleted? If not, how can I delete them?
How do I know what time is used in an Expert Advisor?
By looking at the code.
Or indirectly - by logs (if it writes something in them) or actions (if you know exactly how one of the functions tied to time works, just enable it on the VPS and see when it works).
As far as I understand the EA can create files on virtual hosting, for example in the MQL/Files folder.
The question is: when I synchronise the EA again and delete it, will the files created by the EA be deleted? If not, how do I delete them?
Are you sure it creates files? It didn't seem to work for me, I had to give up files.
You can always delete files using FileDelete()
Are you sure it does? It didn't seem to work for me, I had to give up on files.
You can always delete FileDelete()
A little earlier someone from MQ wrote that it can create on virtual hosting, but during synchronisation files are not transferred to the hosting.
I wanted to understand what happens to the existing files during the next synchronisation.
A little earlier someone from MQ wrote that it can be created on shared hosting, but during synchronisation the files are not transferred to the hosting.
I wanted to understand what happens to the existing files during the next synchronisation.
Experts and indicators are overwritten during synchronisation. I suspect that all files on the built-in shared hosting are deleted.
But this can always be checked:
To transfer existing files from MQL5\Files to hosting, use the #property tester_file construct
There is no reverse transfer of files from hosting to the client terminal.
During a simple start-stop of the hosting terminal, files are not destroyed.
During migration (even if repeated) the folder of the hosting terminal is created anew each time, i.e. no previous files are saved