MT4 Platform & MT4 EA - With MQL5 VPS

 

Hi All,

Technical question.

I have an MT4 platform with an already developed MT4 EA, looking to get it modified on the freelance market.

Before I post the job, just looking to clarify if there is any issue between an MT4 EA operating on an MQL5 VPS, or should I seek to develop the entire program again in MQL5 language?

Hope you can help!

 

There is one main limitation:

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

Rules of Using the Virtual Hosting Service

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.

Rules of Using the Virtual Hosting Service
Rules of Using the Virtual Hosting Service
  • www.mql5.com
Virtual Hosting Service offers for rent MetaTrader 4 and MetaTrader 5 virtual terminals located on Virtual Hosting Cloud network servers.  The Virtual Hosting service is available to registered users of MQL5.com aged 18 and older. Use of Virtual Hosting service means that a User has accepted and agreed to these Rules of using the service. User...
 

Forum on trading, automated trading systems and testing trading strategies

...

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 (MT5) to use virtual hosting - means: your home Metatrader 5 should be 64-bit.
    MT4 does not have this limitation (because MT4 is always on 32-bit).

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


 
Sergey Golubev:

There is one main limitation:

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

Rules of Using the Virtual Hosting Service

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.

Awesome thank you for your help Sergey.
 
Sergey Golubev:

There is one main limitation:

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

Rules of Using the Virtual Hosting Service

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.

so just so i understand properly, i cant run my EA on the VPS because i have to allow DLL imports on my EA, i have read a lot and this is my conclusion, am i correct? thanks in advance

 
Rexmer Pateno:

so just so i understand properly, i cant run my EA on the VPS because i have to allow DLL imports on my EA, i have read a lot and this is my conclusion, am i correct? thanks in advance

Not.
It is nothing to "allow dll" in Metatrader.
It is something related to the following: if your EA is using dll or trying to use dll (according to the code of your EA) so this EA will not work on MQL5 VPS.
Virtual hosting for MetaTrader 5
Virtual hosting for MetaTrader 5
  • www.mql5.com
Virtual hosting for MetaTrader 4/5 is the best VPS solution for Forex. It is cheap, it requires no configuration and it features minimum delays to the server. For only 15 USD per month, you obtain a virtual platform that works around the clock, saves your profit and pays off. Create a remote copy of the application directly from the...
Reason: