Three Point arbitrage Demo
Demo version of the Three Point arbitrage Expert Advisor.
Limitations: The EA trades only 1 triangle - EURUSD+EURGBP+GBPUSD. There are no other restrictions.
It is not necessary to specify the triangle anywhere in the settings, the EA will automatically detect it. Any prefixes and suffixes in the name of the currency name are processed properly.
Since only one triangle is used in the work, the trades can be very rare. The full version operates dozens and hundreds of triangles simultaneously and finds the moments for entries more often.
Triangular arbitrage is a strategy that allows extracting profit without risks by tracking the inefficiencies of the market. It is very easy to manage risks as a position neutral to the market is created. Basically, the risk per each opened triangle is equal to the sum of spreads of the three pairs used in the triangle, plus possible spread fluctuations. Exceptions arise during extremely important news releases. For example, presidential elections.
Expert Advisor Settings
- Job mode - the EA operation mode, can be one of the following:
- Normal mode - normal mode when the triangles for trading are composed of symbols available in the Market Watch.
- Use file with symbols - use a previously created file with the list of symbols available for trading. This allows making the EA use only a certain set of symbols, regardless of what is available in the Market Watch window.
- Create file with symbols - creates a csv file, which is used in the Use file with symbols mode. The created file can be edited manually.
- Commission - amount of profit of the aggregate position to close it. It is recommended to use this if the broker charges a commission for opening positions. In that case, specify its aggregate amount for 3 pairs in this field. It also makes sense to use it when working with the minimum volumes, since in that case the robot is unable to level the positions due to the restrictions in the precision of the traded volumes, and a minimum directed position partially occurs.
- Trade volume - trade volume.
- Together triangles open - the number of triangles the EA is allowed to open simultaneously.
- EA number - magic number of the EA.
- Comment - comment for the opened orders.
The Expert Advisor features
- The Expert Advisor fully automated the trading. It automatically determines the triangles for trading with one broker.
- Resistant to any spread expansions.
- It is recommended to show all available symbols in the Market Watch window before starting the work.
- In most cases, it is sufficient to specify only the trade volume for the EA to work.
- Timeframe does not matter;
- The robot uses up to 200 magic numbers. The first one in the range is specified in the settings.
- Not every broker provides the opportunity for this strategy to be profitable. Therefore, it is recommended to occasionally do checks in the following way: open a real account at the broker (zero deposits are acceptable, as long as the quotes feed is received), start the EA, enable trading and leave it like that for a couple of days. The EA will print all detected entry opportunities in the Experts tab.
- Trades do not occur frequently, as the arbitrage situations are tracked by many participants of the market and by the broker in particular, which tries to prevent their occurrence. A situation where Bid XXXYYY is higher than Ask XXXZZZ* Ask ZZZYYY occurs quite often. However, if all costs are taken into account and positions are opened only when there is a potential for profit, the number of trades is dramatically reduced. Please consider this peculiarity.
- Duration of a trade can be from one second to a couple of hours.
- Since the execution speed is important, using a VPS is recommended.
- The EA can be run on one account with other robots.
- For testing purposes, you can use the MetaTrader 5 version of the EA: https://www.mql5.com/en/market/product/22123
2. Changed the comments, now the information about opening and closing triangles is written to a file.
3. Minor changes in the names of the input parameters for better understanding.
4. Added the ability to work with contracts that have the size not equal to 100000.
5. Changed the default settings, only 1 triangle is allowed to opened at a time.
6. Various fixes for reported bugs.