Stop and restart EA on vps

 

Hello everyoneI

rented a vps from the metaquotes where I installed an EA

.how can I stop and restart my EA keeping the vps?

 
This is the general information as a short description about MQL5 VPS for MT4/MT5

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).

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


 

If MQL5 VPS for MT4/MT5 is the copy of your Metatrader on cloud so -

  • you can make any changes in your Metatrader (attach/dettach the charts, attach/dettach EAs, change the settings for EAs, and so on),
  • and synchtronize it with VPS (synchronize those changes with the copy of your Metatrader in cloud).

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

More info - read this small thread: How to update/adjust EAs that are hosted on a VPS?

 
lukatrader:

Hello everyoneI

rented a vps from the metaquotes where I installed an EA

.how can I stop and restart my EA keeping the vps?

If your only task is to pause and resume EA's function, you can do it from here: https://www.mql5.com/en/vps/subscriptions

Stop Server and Start Server.

You can do the same from the Navigator window of your MT4/5 terminal (right click).


 
Eleni Anna Branou:

If your only task is to pause and resume EA's function, you can do it from here: https://www.mql5.com/en/vps/subscriptions

Stop Server and Start Server.

You can do the same from the Navigator window of your MT4/5 terminal (right click).


Hi,

What is the "stop" VPS actually do?  Does it prolong the rental time till it stopped? OR does it stop working (same actually) as all the EAs in the VPS suppose not to work? Or cuts the connection to broker? What is it the stop do and how fast it activates / reactivates? Thing is I have stopped the VPS and my bot still worked/ made trades ... 

Though I have stopped it from android / sync them from win 10 ... does it really make a difference? :-)

Thank You in advance! 

 
Lauri P:

Hi,

What is the "stop" VPS actually do?  Does it prolong the rental time till it stopped? OR does it stop working (same actually) as all the EAs in the VPS suppose not to work? Or cuts the connection to broker? What is it the stop do and how fast it activates / reactivates? Thing is I have stopped the VPS and my bot still worked/ made trades ... 

Though I have stopped it from android / sync them from win 10 ... does it really make a difference? :-)

Thank You in advance! 

The Stop Server, unloads the charts and EAs and stops the server.

When you Start Server again, the server starts and all charts and EAs are loaded and function as before.

 
How can I stop server from MetaTrader app on mobile phone?
 
cromagnon #:
How can I stop server from MetaTrader app on mobile phone?

You can't do it through the MT4/5 mobile app, but you can do it through here: https://www.mql5.com/en/vps/subscriptions

Stop Server and Start Server.

You can do the same from the Navigator window of your MT4/5 terminal (right click).