VPS: Code 0

 
2018.11.29 14:39:17.767 Experts initializing of "EA" failed with code 0. What does code 0  mean. Why was  my EA's dis-abled? When it is dis-abled by the vps, must I reinstall the EA's ?
 

VPS ... is it MQL5 VPS for MT4/MT5?
If yes so there are some limitations concerning EAs on this VPS:

no any dll is allowed for the EA to call - 

Forum on trading, automated trading systems and testing trading strategies

Is 'Allow DLL import' and 'Allow modification of signal setting ' in MQL4 Indicators dangerous?

Sergey Golubev, 2017.09.09 06:05

Rules of Using the Virtual Hosting Service MetaTrader (Forex VPS)

No DLLs are allowed on a Virtual terminal. There is no physical capacity to use DLLs there.

If a program launched on a Virtual terminal tries to call a function from any DLL, this EX4/EX5 program is immediately stopped due to a critical error. Any DLL calls are forbidden.


 

Some other limitation - from VPS rules -

Execution of any unrelated trades on the account managed in a Virtual terminal can lead to unpredictable trading results.

 

Some more limitation (from this article) - 

Terminal global variables are not migrated to the virtual hosting. If you need to initialize lots of variables when starting a program, you can use reading from files that can be passed using the "#property tester_file" directive.

----------

It is what I found now.

 
Sergey Golubev:

VPS ... is it MQL5 VPS for MT4/MT5?
If yes so there are some limitations concerning EAs on this VPS:

no any dll is allowed for the EA to call - 


Yes. It is MQL5 vps for MT5. No - disabled - dll. How can I contact the VPS provider , to find out if their VPS server was downtime? What does code 0 mean?
 
Hiram Eckstein:
Yes. It is MQL5 vps for MT5. No - disabled - dll. How can I contact the VPS provider , to find out if their VPS server was downtime? What does code 0 mean?

"disabled dll" is nothing ...
if Ea is calling dll (irrespective off - you disabled it in Metatrader or not) - this EA will not work in VPS.

But you only know from the code of EA - your EA is calling (trying to use) dll or not ...

------------

As to code 0 ...
You can try to see/read VPS logs to understand about (something).
I am not a coder (and I am not VPS expert) to provide the correct reply concerning "code 0" error; and the service desk is not providing the personal support for now sorry.

 

If you are still looking for help so there is some information (for everybody):

The thread about possible issues with VPS (MQ admins/technical team are replying on this thread)
https://www.mql5.com/en/forum/286257  

--------------

And it is more about the general information (for everybody) - 

Forum on trading, automated trading systems and testing trading strategies

vps not working

Sergey Golubev, 2018.11.24 18:01

VPS is the copy of your Metatrader in the cloud.
To make this copy of your Metatrader in cloud so you need to open chart (or charts) and attach your EA to the chart (or to the charts) to ready to trade.
After that - you make the migration: you are synchronizing your Metatrader with open charts with EA attached to the charts - with the copy of your Metatrader in the cloud.

Once you synchronized (once you sent everything to VPS) so you can close your pc (in you want): your EA will work on VPS (means: your EA will work on the copy of your Metatrader in cloud).

And all those actions (with possibe errors) are written in your VPS log files (you can check it inside your home Metatrader).

---------------

To make it shorter:

  • Your MQL5 VPS = your "2nd Metatrader in cloud". I mean: there is the cloud (somewhere). And there is "your second Metatrader" there ... this "second Metatrader in cloud" is empty ... you will need to provide migration/synchronize.
  • Migration = sending your EAs/indicators/open charts from your home Metatrader to MQL5 VPS (to "your Metatrader in cloud").
  • You can synchronize the settings/open charts/EAs/settings of your EAs/changing the settings of your EA/opened charts - from your home Metatrader with MQL5 VPS (with "your Metatrader in cloud"). You can synchronize many time (as many as you want).
  • Only open chart(s) with attached EA(s) can be migrated (can be synchronized) from your home Metatrader to MQL5 VPS (to "your Metatrader in cloud").
  • Your EA(s) will work on MQL5 VPS (on "your 2nd Metatrader in cloud"), and you can close your home Metatrader, or use your home Metatrader with the other trading account, or any.
  • Autotrading is always On in MQL5 VPS ("your second Metatrader in cloud" is having autotrading to be always ON irrespective of the settings of your home Metatrader).
  • (limitation) Your EA will not work on MQL5 VPS (on "your 2nd Metatrader in cloud") if EA is using dll irrespective off -  you allowed dll or not in your home Metatrader (irrespective of the settings of your home Metatrader). It is necessary to see the code or to be a coder to know: your EA is using/calling dll or not).
  • (limitation) It must be 64-bit client terminal to use virtual hosting - means: your home Metatrader should be 64-bit.

---------------


VPS not working
VPS not working
  • 2018.10.29
  • www.mql5.com
Seem like my VPS can't trade since Friday. MQL5 London 7...
Reason: