How to Send Requests via MQL5 VPS?

 

Hello everyone,

I’m currently running my EA on MQL5 VPS and I’d like to understand how (or if) it’s possible to send external requests from the VPS environment.

Specifically:

  • Can the EA make WebRequest() calls while hosted on MQL5 VPS?

  • If not, is there any workaround or alternative method to communicate with external servers?

  • Are there any limitations or settings that must be adjusted before migration?

I’ve read that MQL5 VPS restricts some functions for security reasons, but I couldn’t find a clear explanation in the documentation.

Any clarification or example setup would be really appreciated.
Thanks in advance!

 

The answer is in the rules. Please read them ...

III. Users

6. During the synchronization, the client terminal's active environment migrates to the rented Virtual terminal. The client terminal's active environment includes:
  • active symbol charts Expert Advisors are launched on. Up to 32 charts are allowed to be migrated for a fee-based hosting, while for a free hosting the maximum number of migrated charts is 16,
  • built-in and custom indicators launched on the charts an Expert Advisor is launched on,
  • custom Expert Advisors launched on charts (up to 32 ones on a fee-based hosting and up to 16 ones on a free one),
  • the terminal settings set in FTP, Email, Signals, Notifications tabs as well as WebRequest permissions from Expert Advisors settings.

V. Migration

  1. Migration is the process of moving the client terminal's settings to the Virtual terminal connected to Virtual Hosting Cloud network.
  2. The following elements are moved during migration:
    • trade account connection data;
    • available Market Watch symbols and the depth of market;
    • active charts with launched Expert Advisors (and indicators if any), but not more than 32 charts for a fee-based hosting and not more than 16 charts for a free one;
    • active chart settings;
    • settings of Expert Advisors and indicators launched on charts;
    • executable files of the programs launched on charts, as well as EX4/EX5 libraries used by these programs;
    • MQL5.com account data from Community tab necessary to copy trades according to a Signal in case there is an active subscription to a Signal;
    • FTP, Email, Signals and Notifications tab settings;
    • the value of the maximum number of bars on the chart set in "Max bars" parameter of Charts tab but not more than 500 000 bars;
    • permission to use WebRequest and the list of allowed URLs.

Rules of Using the Virtual Hosting Service
Rules of Using the Virtual Hosting Service
  • www.mql5.com
The page contains the rules of using the Virtual Hosting service (Virtual Hosting Cloud): general provisions, virtual hosting rental conditions, payment terms, as well as violations entailing termination of service.