EA not trading on VPS

 

I purchased a VPS from mql5 and have it synced up with my EA as pre instructions and made sure that the auto trade is activated.  I also have the same EA activate on a demo account with the same broker but my EA on the demo account issued a buy but nothing is happening on the one on VPS.  Anyone know what the issue is?  My ping on the vps is .09ms and my ping on the demo is 167ms so it can't be a latency issue.


Thanks 

 
Eric Ma:

I purchased a VPS from mql5 and have it synced up with my EA as pre instructions and made sure that the auto trade is activated.  I also have the same EA activate on a demo account with the same broker but my EA on the demo account issued a buy but nothing is happening on the one on VPS.  Anyone know what the issue is?  My ping on the vps is .09ms and my ping on the demo is 167ms so it can't be a latency issue.


Thanks 

We couldn't know what is wrong without seeing some MQL5 VPS Journal logs.

 

Log:

2020.12.31 02:47:13.868               Virtual Hosting: close command received
2020.12.31 02:47:13.868               main window close command received
2020.12.31 02:47:13.899               Virtual Hosting: close command received
2020.12.31 02:47:13.993               stop experts command
2020.12.31 02:47:13.993               chart 'EURUSD,M30' save to 'C:\Hosting\instances\29D8894BE61DF76E33AE34B2E6BA8637\profiles\Default\chart01.chr'
2020.12.31 02:47:13.993               chart 'EURUSD,M30' saved
2020.12.31 02:47:13.993               Expert Ice Forex Eric Ma EURUSD,M30: removed
2020.12.31 02:47:13.993               main process shutdown
2020.12.31 02:47:13.993               main window destroy
2020.12.31 02:47:13.993               main window destroyed [1]
2020.12.31 02:47:13.993               main window close command processed
2020.12.31 02:47:13.993               MetaTrader 4 exit
2020.12.31 02:47:13.993               pumping stopped
2020.12.31 02:47:14.024               base dispatchers stopped
2020.12.31 02:47:14.024               base dispatchers deleted
2020.12.31 02:47:14.024               MetaTrader 4 build 1320 stopped
2020.12.31 02:47:14.196               terminal data initialized
2020.12.31 02:47:14.196               MetaTrader 4 build 1320 started (MetaQuotes Software Corp.)
2020.12.31 02:47:14.196               Windows Server 2012 R2 Standard x64, IE 11, RDP, UAC, 32 x Intel Xeon  E5-2650 v3 @ 2.30GHz, Memory: 49738 / 65428 Mb, Disk: 410 / 475 Gb, GMT+1
2020.12.31 02:47:14.196               Data Folder: C:\Hosting\instances\29D8894BE61DF76E33AE34B2E6BA8637
2020.12.31 02:47:14.212               Started with configuration file 'C:\Hosting\instances\29D8894BE61DF76E33AE34B2E6BA8637\start.ini'
2020.12.31 02:47:14.228               Chart load from 'C:\Hosting\instances\29D8894BE61DF76E33AE34B2E6BA8637\profiles\Default\CHART01.CHR'
2020.12.31 02:47:14.228               Expert Market\Ice Forex Eric Ma EURUSD,M30: loaded successfully
2020.12.31 02:47:14.228               Chart EURUSD,M30 (C:\Hosting\instances\29D8894BE61DF76E33AE34B2E6BA8637\profiles\Default\CHART01.CHR) loaded
2020.12.31 02:47:14.243               hosting socket initialized
2020.12.31 02:47:14.243               MetaTrader 4 init OK
2020.12.31 02:47:14.259               Connect: mt4d.ig.com:443
2020.12.31 02:47:14.446               '1': login on IG-LIVE
2020.12.31 02:47:14.837               '1': previous successful authorization performed from 76.14.84.219
2020.12.31 02:47:14.837               '1': 1 chart, 1 EA, 0 custom indicators, signal disabled
2020.12.31 02:47:14.931               History: first bar EURUSD,M30 on the server is 2020.10.29 21:00
2020.12.31 02:47:14.931               EURUSD,M30: 2200 bars from 2020.10.27 05:00
2020.12.31 02:47:14.931               '159054': auto connecting to a better access point Data Centre A (ping is 0.93 ms)
2020.12.31 02:47:14.946               Connect: mt4a.ig.com:443
2020.12.31 02:47:15.181               '1': login on IG-LIVE through Data Centre A (ping: 0.93 ms)
2020.12.31 02:47:15.525               Connect: mt4a.ig.com:443
2020.12.31 02:47:15.525               '1': login datacenter on IG-LIVE through Data Centre A (ping: 0.93 ms)
2020.12.31 02:47:15.556               '1': ping to current access point Data Centre A is 0.82 ms
2020.12.31 02:47:15.587               '1': previous successful authorization performed from 109.
2020.12.31 02:47:15.587               '1': 1 chart, 1 EA, 0 custom indicators, signal disabled
2020.12.31 02:56:07.675               Virtual Hosting: flush logs command received
2020.12.31 03:00:38.728               Virtual Hosting: close command received
2020.12.31 03:00:38.728               main window close command received
2020.12.31 03:00:38.837               stop experts command
2020.12.31 03:00:38.837               chart 'EURUSD,M30' save to 'C:\Hosting\instances\29D8894BE61DF76E33AE34B2E6BA8637\profiles\Default\chart01.chr'
2020.12.31 03:00:38.837               chart 'EURUSD,M30' saved
2020.12.31 03:00:38.837               Expert Ice Forex Eric Ma EURUSD,M30: removed
2020.12.31 03:00:38.837               main process shutdown
2020.12.31 03:00:38.837               main window destroy
2020.12.31 03:00:38.837               main window destroyed [1]
2020.12.31 03:00:38.837               main window close command processed
2020.12.31 03:00:38.837               MetaTrader 4 exit
2020.12.31 03:00:38.837               pumping stopped
2020.12.31 03:00:38.853               base dispatchers stopped
2020.12.31 03:00:38.853               base dispatchers deleted
2020.12.31 03:00:38.853               MetaTrader 4 build 1320 stopped
2020.12.31 03:00:39.040               terminal data initialized
2020.12.31 03:00:39.056               MetaTrader 4 build 1320 started (MetaQuotes Software Corp.)
2020.12.31 03:00:39.056               Windows Server 2012 R2 Standard x64, IE 11, UAC, 32 x Intel Xeon  E5-2650 v3 @ 2.30GHz, Memory: 49826 / 65428 Mb, Disk: 410 / 475 Gb, GMT+1
2020.12.31 03:00:39.056               Data Folder: C:\Hosting\instances\29D8894BE61DF76E33AE34B2E6BA8637
2020.12.31 03:00:39.056               Started with configuration file 'C:\Hosting\instances\29D8894BE61DF76E33AE34B2E6BA8637\start.ini'
2020.12.31 03:00:39.072               Chart load from 'C:\Hosting\instances\29D8894BE61DF76E33AE34B2E6BA8637\profiles\Default\CHART01.CHR'
2020.12.31 03:00:39.072               Expert Market\Ice Forex Eric Ma EURUSD,M30: loaded successfully
2020.12.31 03:00:39.072               Chart EURUSD,M30 (C:\Hosting\instances\29D8894BE61DF76E33AE34B2E6BA8637\profiles\Default\CHART01.CHR) loaded
2020.12.31 03:00:39.072               hosting socket initialized
2020.12.31 03:00:39.072               MetaTrader 4 init OK
2020.12.31 03:00:39.103               Connect: mt4d.ig.com:443
2020.12.31 03:00:39.353               '1': login on IG-LIVE
2020.12.31 03:00:39.712               '1': previous successful authorization performed from 76.14.84.219
2020.12.31 03:00:39.712               '1': 1 chart, 1 EA, 0 custom indicators, signal disabled
2020.12.31 03:00:39.759               '1': auto connecting to a better access point Data Centre A (ping is 0.90 ms)
2020.12.31 03:00:39.775               Connect: mt4a.ig.com:443
2020.12.31 03:00:40.009               '1': login on IG-LIVE through Data Centre A (ping: 0.90 ms)
2020.12.31 03:00:40.212               '1': ping to current access point Data Centre A is 0.83 ms
2020.12.31 03:00:40.337               Connect: mt4a.ig.com:443
2020.12.31 03:00:40.353               '1': login datacenter on IG-LIVE through Data Centre A (ping: 0.83 ms)
2020.12.31 03:00:40.400               '1': previous successful authorization performed from 109.123.101.123
2020.12.31 03:00:40.400               History: first bar EURUSD,M30 on the server is 2020.10.27 05:00
2020.12.31 03:00:40.400               EURUSD,M30: 2201 bars from 2020.10.27 05:00
2020.12.31 03:00:40.400               '1': 1 chart, 1 EA, 0 custom indicators, signal disabled
2020.12.31 03:01:24.216               Virtual Hosting: close command received
2020.12.31 03:01:24.216               main window close command received
2020.12.31 03:01:24.341               stop experts command
2020.12.31 03:01:24.341               chart 'EURUSD,M30' save to 'C:\Hosting\instances\29D8894BE61DF76E33AE34B2E6BA8637\profiles\Default\chart01.chr'
2020.12.31 03:01:24.341               chart 'EURUSD,M30' saved
2020.12.31 03:01:24.341               Expert Ice Forex Eric Ma EURUSD,M30: removed
2020.12.31 03:01:24.341               main process shutdown
2020.12.31 03:01:24.341               main window destroy
2020.12.31 03:01:24.341               main window destroyed [1]
2020.12.31 03:01:24.341               main window close command processed
2020.12.31 03:01:24.341               MetaTrader 4 exit
2020.12.31 03:01:24.341               pumping stopped
2020.12.31 03:01:24.372               base dispatchers stopped
2020.12.31 03:01:24.372               base dispatchers deleted
2020.12.31 03:01:24.372               MetaTrader 4 build 1320 stopped
2020.12.31 03:01:24.653               terminal data initialized
2020.12.31 03:01:24.653               MetaTrader 4 build 1320 started (MetaQuotes Software Corp.)
2020.12.31 03:01:24.653               Windows Server 2012 R2 Standard x64, IE 11, RDP, UAC, 32 x Intel Xeon  E5-2650 v3 @ 2.30GHz, Memory: 49822 / 65428 Mb, Disk: 410 / 475 Gb, GMT+1
2020.12.31 03:01:24.653               Data Folder: C:\Hosting\instances\29D8894BE61DF76E33AE34B2E6BA8637
2020.12.31 03:01:24.653               Started with configuration file 'C:\Hosting\instances\29D8894BE61DF76E33AE34B2E6BA8637\start.ini'
2020.12.31 03:01:24.684               Chart load from 'C:\Hosting\instances\29D8894BE61DF76E33AE34B2E6BA8637\profiles\Default\CHART01.CHR'
2020.12.31 03:01:24.684               Expert Market\Ice Forex Eric Ma EURUSD,M30: loaded successfully
2020.12.31 03:01:24.684               Chart EURUSD,M30 (C:\Hosting\instances\29D8894BE61DF76E33AE34B2E6BA8637\profiles\Default\CHART01.CHR) loaded
2020.12.31 03:01:24.684               hosting socket initialized
2020.12.31 03:01:24.684               MetaTrader 4 init OK
2020.12.31 03:01:24.716               Connect: mt4d.ig.com:443
2020.12.31 03:01:24.950               '1': login on IG-LIVE
2020.12.31 03:01:25.356               '1': previous successful authorization performed from 109.
2020.12.31 03:01:25.372               '1': 1 chart, 1 EA, 0 custom indicators, signal disabled
2020.12.31 03:01:25.403               '1': auto connecting to a better access point Data Centre A (ping is 0.90 ms)
2020.12.31 03:01:25.419               Connect: mt4a.ig.com:443
2020.12.31 03:01:25.653               '1': login on IG-LIVE through Data Centre A (ping: 0.90 ms)
2020.12.31 03:01:25.810               '1': ping to current access point Data Centre A is 0.85 ms
2020.12.31 03:01:25.935               Connect: mt4a.ig.com:443
2020.12.31 03:01:25.935               '1': login datacenter on IG-LIVE through Data Centre A (ping: 0.85 ms)
2020.12.31 03:01:25.997               '1': previous successful authorization performed from 109.123.101.123
2020.12.31 03:01:25.997               History: first bar EURUSD,M30 on the server is 2020.10.27 05:00
2020.12.31 03:01:25.997               EURUSD,M30: 2201 bars from 2020.10.27 05:


Here are some of the journal logs from my vps.  I have removed my account and IP information.  It seems to be rebooting on its own.
Below are just the EA journal logs.

2020.12.31 02:47:13.993 Ice Forex Eric Ma EURUSD,M30: uninit reason 9
2020.12.31 02:47:13.993 Expert Ice Forex Eric Ma EURUSD,M30: removed
2020.12.31 02:47:14.228 Expert Market\Ice Forex Eric Ma EURUSD,M30: loaded successfully
2020.12.31 02:47:14.228 Ice Forex Eric Ma EURUSD,M30 inputs: percent=1.0; Lot=0.0; MaxCountOrders=10; BeginHour=0; EndHour=24; Commen=IceForex; Magic=1; MaxSpred=200; Friday=false; FrHour=23; trail=false; TrailStart=200; TrailFrom=50; TrailStep=10; UseBreckeven=false; BEactivity
2020.12.31 02:47:14.931 Ice Forex Eric Ma EURUSD,M30: initialized
2020.12.31 03:00:38.837 Ice Forex Eric Ma EURUSD,M30: uninit reason 9
2020.12.31 03:00:38.837 Expert Ice Forex Eric Ma EURUSD,M30: removed
2020.12.31 03:00:39.072 Expert Market\Ice Forex Eric Ma EURUSD,M30: loaded successfully
2020.12.31 03:00:39.072 Ice Forex Eric Ma EURUSD,M30 inputs: percent=1.0; Lot=0.0; MaxCountOrders=10; BeginHour=0; EndHour=24; Commen=IceForex; Magic=1; MaxSpred=200; Friday=false; FrHour=23; trail=false; TrailStart=200; TrailFrom=50; TrailStep=10; UseBreckeven=false; BEactivity
2020.12.31 03:00:40.415 Ice Forex Eric Ma EURUSD,M30: initialized
2020.12.31 03:01:24.341 Ice Forex Eric Ma EURUSD,M30: uninit reason 9
2020.12.31 03:01:24.341 Expert Ice Forex Eric Ma EURUSD,M30: removed
2020.12.31 03:01:24.684 Expert Market\Ice Forex Eric Ma EURUSD,M30: loaded successfully
2020.12.31 03:01:24.684 Ice Forex Eric Ma EURUSD,M30 inputs: percent=1.0; Lot=0.0; MaxCountOrders=10; BeginHour=0; EndHour=24; Commen=IceForex; Magic=1; MaxSpred=200; Friday=false; FrHour=23; trail=false; TrailStart=200; TrailFrom=50; TrailStep=10; UseBreckeven=false; BEactivity
2020.12.31 03:01:26.013 Ice Forex Eric Ma EURUSD,M30: initialized

Virtual hosting for MetaTrader 5
Virtual hosting for MetaTrader 5
  • www.mql5.com
The fastest VPS server for forex trading from the MetaTrader 4/5 terminal developers
 

Yes, your EA seems to be restarting again and again, so you need to contact the author/seller for help/support.

The problem is with your EA and not with MQL5 VPS.

 

My EA is running fine on my local machine how can that not be an issue with the VPS?  If you give me rdp access in there to monitor the EA then this could be resolved easily.


As you can see from this part of the log above the VPS issued a stop command for some reason


2020.12.31 03:00:38.728               main window close command received
2020.12.31 03:00:38.837               stop experts command
2020.12.31 03:00:38.837               chart 'EURUSD,M30' save to 'C:\Hosting\instances\29D8894BE61DF76E33AE34B2E6BA8637\profiles\Default\chart01.chr'
2020.12.31 03:00:38.837               chart 'EURUSD,M30' saved
2020.12.31 03:00:38.837               Expert Ice Forex Eric Ma EURUSD,M30: removed
2020.12.31 03:00:38.837               main process shutdown
2020.12.31 03:00:38.837               main window destroy
2020.12.31 03:00:38.837               main window destroyed [1]
2020.12.31 03:00:38.837               main window close command processed

Look at the first line and tell me what that means because I didn't issue that close command and restarted the vps.

Virtual hosting for MetaTrader 5
Virtual hosting for MetaTrader 5
  • www.mql5.com
The fastest VPS server for forex trading from the MetaTrader 4/5 terminal developers
 
Eric Ma:

My EA is running fine on my local machine how can that not be an issue with the VPS?  If you give me rdp access in there to monitor the EA then this could be resolved easily.


As you can see from this part of the log above the VPS issued a stop command for some reason


Look at the first line and tell me what that means because I didn't issue that close command and restarted the vps.

If your EA requires DLL will not work in MQL5 VPS.

Check with the author/seller if your EA is MQL5 VPS compatible.

 
DLL are not needed.  What are your refund policies.  It might just be easier for me just stop using your vps than to have fingers pointed in all directions.
 
Eric Ma:
DLL are not needed.  What are your refund policies.  It might just be easier for me just stop using your vps than to have fingers pointed in all directions.

If you cancel your MQL5 VPS subscription, the remaining time will be credited to your MQL5 account as free minutes.

Reason: