VPS question on best practices

 

Hello there!

I just deployed my first VPS instance on my demo account with my broker by performing the following steps:


1) configured my local MT4 with the EA and chart I want to use

2) hid all other trading pairs aside what is on my single chart

3) configured my chart with the EA settings I am need

4) right clicked my demo account VPS server and synchronized experts, signals and indicators


When I deployed it the Auto Trading button went red and I see it was disabled in the journal and red on my local MT 4 desktop.

My questions are:

1) is the MT4 screen on my desktop *always* my local instance, i.e., this is not a representation of the actual VPS?

2) will trades the VPS executes automatically populate in the trade window on my local desktop MT4 or will it only show up on the MT4 phone app if I was logged in there with my demo account

3) is the correct procure to update the VPS is simply to reconfigure the local desktop instance and migrate again?

4) if I wanted to run different scenarios locally with auto-trading enabled do I simply make the changes locally and it will run independently of the VPS until I actually manually migrate the changes over


Thank you in advance for your time!

 

I am replying in general because when I was reading your questions so I think that you need some more information about.

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

If you synchronized the chart with the EA attached so you can check VPS journal/logs to confirm this action: is was sucessful or not.
Because MQL5 VPS is "your second Metatrader in cloud" (MQL5 VPS = Metatrader; but it is not your home Metatrader; and synchronization/migration is the action to send everything from your home Metatrader to MQL5 VPS Metatrader).

To make it shoter - read this description:

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

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

About synchronization and so on -

Quick questions on MQL5 VPS (Syncing and Activations)
https://www.mql5.com/en/forum/337526

Quick questions on MQL5 VPS (Syncing and Activations)
Quick questions on MQL5 VPS (Syncing and Activations)
  • 2020.04.14
  • www.mql5.com
I have 2 live MT5 accounts with my broker. I want to create 2 virtual servers (2 VPS's from MQL5) one for each account...
 
Wardsback:

Hello there!

I just deployed my first VPS instance on my demo account with my broker by performing the following steps:


1) configured my local MT4 with the EA and chart I want to use

2) hid all other trading pairs aside what is on my single chart

3) configured my chart with the EA settings I am need

4) right clicked my demo account VPS server and synchronized experts, signals and indicators


When I deployed it the Auto Trading button went red and I see it was disabled in the journal and red on my local MT 4 desktop.

My questions are:

1) is the MT4 screen on my desktop *always* my local instance, i.e., this is not a representation of the actual VPS?

2) will trades the VPS executes automatically populate in the trade window on my local desktop MT4 or will it only show up on the MT4 phone app if I was logged in there with my demo account

3) is the correct procure to update the VPS is simply to reconfigure the local desktop instance and migrate again?

4) if I wanted to run different scenarios locally with auto-trading enabled do I simply make the changes locally and it will run independently of the VPS until I actually manually migrate the changes over


Thank you in advance for your time!

Thank you very much that answered all my questions!