EA Robots
Now you are reading
How to run a Forex slot machine (Expert Advisor)
1

How to run a Forex slot machine (Expert Advisor)

created Janusz EkertNovember 29 2014

Forex automat, FX robot, EA (Expert Advisor), self-trading system, algotrading - all these terms refer to the same, i.e. a program or script that concludes transactions or takes other investment actions on the trading platform without the investor's interference or with a significant reduction in his activity .

There is no doubt that automated strategies are the future of trading and can make the life of traders a lot easier. Their possibilities are theoretically unlimited. They can be active in the market all the time in many pairs, which at Forex, who works around the clock, gives them an extraordinary advantage over the time and processing capacity of a man.

How to run a strategy on the Meta Trader 4 and JForex platforms


MetaTrader 4


JForex Dukascopy

Forex automaton and transaction possibilities

Trading systems have several major advantages over manual trading used by most individual investors. In addition to the previously mentioned, i.e. vigilance to take action at any time around the clock, tracking multiple markets at the same time, another advantage is performing many activities at the same time, e.g. modifying a parameter Stop Loss and Take Profit in many positions almost instantly.

Besides the technical aspects, by using a Forex machine, we deprive trading of the emotional factor. What remains is a cool calculation of the program / script based on the guidelines introduced by the investor or programmer. EA does not look at the market through greed or fear and deals with the execution of code tasks.

The most popular programming language among individual investors, supporting machines is undoubtedly MQL4 due to the fame of MetaTrader 4.

Helpful articles:

Pingi and the speed of execution of orders

To a large extent, the speed of execution of orders on Forex platforms depends on the quality of connection and packet transfer time between the investor and the broker server. In order for the strategy to be as effective as possible, and the orders recorded as little as possible price slippages or re-quotes, it is necessary to ensure the lowest time of information transfer. This is important especially for scalping or other strategies where every fraction of a second and a decimal pip value are important.

The average time of data transfer below 60 ms can be considered a good result while the ideal is to achieve a result below 20 ms.

How do you check your ping?

Dukascopy

To check ping to the server Dukascopy please contact the technical support by e-mail (support@dukascopy.com) providing your IP address. The reply will include information about the times obtained.

Brokers with the MetaTrader 4 platform

server

Server rescanning on the MT4 platform

MT4 upgrade to Build 830 version introduced automatic ping measurement to individual DataCenter after connection to a specific server (demo / real) broker. This option is available in the bottom right corner of the platform after clicking on the connection bar.

You can manually change the DataCenter to the one with the lowest ping by selecting an item from the list. After that, the connection will be automatically restarted - you can also refresh the measurement by selecting Server rescanning.

VPS. What is this?

VPS stands for Virtual Private Server, i.e. a private virtual server. It probably won't say much to most of it, so when translated into a more friendly language, it is a division of the machine (server) into several smaller ones provided by the company, which can be of different configuration (disk size, operating system, etc.).

Why do we need a VPS?

VPSs can have a variety of applications, including trading in Forex. The main advantages are:

  • stable internet connection,
  • very low ping to broker servers (when choosing the right VPS),
  • fast execution of orders (due to low ping),
  • EA, scripts or trailing stop can work without interruption, and the computer does not have to be switched on,
  • the ability to connect to the VPS server from anywhere in the world where the Internet is
  • in the case of a VPS restart, previously started applications are turned on automatically.

How to start VPS

The VPS activation itself is handled by the IT company from which we buy such a service (most often there are monthly fees). After activation, all necessary data is sent to us - mainly we are interested in the server's IP address and password. To log into VPS, we can use various free or paid programs or even a standard application that is on Windows (for Win 7 in Start -> Accessories -> Remote Desktop Connection).

forex vps slot machine

RDP connection login screen

 

vps expert advisor

Desktop of a remote computer running MT4 platform.

Recommended VPSs

  • SWVPS - checked by Forex Club and many other investors with a very good opinion and high standard of services. One of the best on the market in terms of quality: price ratio.
  • BeeksFX - the company offers access to VPSs located in London. It cooperates with many currency brokers, which contributes to high-quality services for solutions in this sector.
What do you think?
I like it
38%
Interesting
13%
Heh ...
13%
Shock!
13%
I do not like
13%
Detriment
13%
About the Author
Janusz Ekert
Private investor with 15 years of experience in the investment market, specialist in the currency market. He puts the effectiveness of fundamental and technical analysis above all, focusing on simplicity and consistency. President of OnTrade Sp. z o. o., owner of the Forex Club brand. Snooker enthusiast.
1 Comments
  • Raphael FX
    19 April 2020 at 16: 05

    VPS only for strategies that have to be run all the time or for scalping where milliseconds matter. otherwise loss of cash ...

Leave a Response