Virtual Robot Expert Advisor For MT4

Virtual Robot Expert Advisor For MT4



PLEASE NOTE: This expert advisor was publicly available for free usage on other websites and is not programmed by us. We explain the functionality and possible improvements of the EA. Furthermore, we are convinced that fully automatic Expert Advisors will fail in the long run. On the other hand, our semi-automatic approach with detecting the best setups and then activating our Expert Advisors (e.g. V-Power EA, EdgeZone EA) produced many successful traders and some of them even got prop traders at prop trading firms. Therefore, we added a similar semi-automatic trading feature (to allow only buy or only sell trades) to the free Expert Advisors. You can download the modified version here and enjoy!


Table Of Contents:

  1. Virtual Robot Expert Advisor For MT4
  2. The Virtual Robot Expert Advisor For MT4 – Entry Criteria
  3. The Virtual Robot Expert Advisor For MT4 – Exit Criteria
  4. The Virtual Robot Expert Advisor For MT4 – Room for Improvement


The Virtual Robot Expert Advisor For MT4 uses the martingale approach to extract profits from the foreign exchange market. It is designed to be used on the hourly chart of any symbol, but the 28 major pairs are preferable due to their manageable spreads. Unlike a full martingale strategy that doubles the lot size of the previous trade to arrive at the new lot size for the next trade, this expert advisor uses a slightly lower multiplier (i.e., 1.5), reducing the risk in the process.

Initial testing with the default settings proved successful. The trading system generated a good amount of profit when tested over a period of five months of test data. This result came with an acceptable amount of drawdown. Algorithmic traders might be interested to use this expert advisor in live trading. However, as in the case with all automated trading systems and more so with martingale-type systems, automated trading involves risk to the trading capital. Therefore, the user must do further testing and exercise caution when trading live with this trading system.

FREE Virtual Robot EA

Download the FREE Virtual Robot Expert Advisor for MT4.

To receive my email 100% sure: 
Put my email on your whitelist!

The Virtual Robot Expert Advisor For MT4 – Entry Criteria

The Virtual Robot Expert Advisor uses an intricate entry strategy when entering trades. However, it does not include a technical indicator in the set of entry rules. A very simple price action is used as the primary entry criteria. The expert advisor performs various checks on every tick, but it enters trades only at the formation of a new candle.

The user is offered a few options in Inputs that he must understand and learn to use to get the best results. The most crucial options are explained below, along with their default values:

  • TF = 60 – This variable stands for timeframe, and the value is expressed in minutes. This parameter refers to the 60-minute or one-hour timeframe where trades will be taken. Even if the user changes the timeframe for the active symbol, the robot will always trade the hourly chart.

  • slippage = 1 – This figure is in pips. The user accepts a maximum of one pip of slippage for execution of orders by the terminal or server.

  • MagicNumber = 1 – This number is the main identifier for trades taken by the robot.

  • comment = "Virtual Robot" – This text is attached to every trade and can be used alone or in tandem with the magic number to manage the trades taken by the expert advisor.

  • SL = 400 – The first trade initiated by the robot will have a stop loss of 400 pips.

  • TP = 100 – The initial trade taken by the expert advisor will have a take profit of 100 pips.

  • min_tp = 15 – This figure defines the number of pips beyond the breakeven price at which one or more trades will be closed in profit.

  • Lots = 0.01 – The initial trade has a position size of 0.01.

  • MaxLots = 2 – The expert advisor will keep on adding trades when price moves against the intended direction of the previous trades as long as the lot size of the last trade is less than 2.0.

  • Multiplier = 1.5 – This number is multiplied to the position size of the previous trade to get the lot size of the next trade. This makes this trading system a semi-martingale strategy.

  • Pipstep = 18 – This number in pips is the minimum distance between trades.

  • MaxTrades = 16 – This value defines the maximum number of trades allowed.

  • visual = true – This variable must be true so that the robot works as designed.

The expert advisor does not utilize any type of technical indicator for trend identification. A simple price action strategy is used to determine the direction of the first trade. The program considers one candle only in getting the trade bias. If the previous candle of the current period and symbol opens low and closes high (bullish candle), a signal for buy trade is generated. If the candle close is lower than the candle open (bearish candle), a signal for sell trade is produced.

Trading commences after the expert advisor determines that there is no open order yet on the active symbol and if the entry criteria are satisfied. As already mentioned, the robot looks for trade opportunities on the hourly chart unless the user specifies another timeframe. The lot size for the initial trade is 0.01 as defined in expert settings. Right after the trade is executed, its stop loss and take profit are immediately added.

The Virtual Robot Expert Advisor For MT4 – Exit Criteria

The stop loss of the first trade is set at a distance of 400 pips from entry price, while the take profit is placed at a distance of 100 pips. This means that the risk-reward ratio is 4 in favor of risk. With this setup, it will take four winning trades to cover one losing trade. The only way for the virtual robot expert advisor to be successful is by having a high win rate.

When the initial trade becomes profitable and gains 40 pips, it will be forcibly closed by the expert advisor and a profit is realized. As observed in testing, although the take profit is set at 100 pips, trades are closed much earlier, that is, at a lower number of pips. On the other hand, if the initial trade is losing and price has moved at least 18 pips from the trade entry price, another trade will be taken on the same direction but with a higher lot size.

Trade addition will continue until price makes a little correction just enough to close the set of trades in profit. The lot size of the subsequent trades is 1.5 times higher than the previous trades. While the first trade has a stop loss and take profit, the subsequent trades have no such specifications. As noted in testing, the group of trades is closed when the last trade in the set earns at least 40 pips.

The Virtual Robot Expert Advisor For MT4 – Room for Improvement

As previously discussed, the Virtual Robot Expert Advisor performed well in testing. This testing was done on the EURUSD hourly chart using five months of historical data. With the default timeframe, the robot executed only very few trades (34), and about 68 percent of these trades made money. While the trading system employs the martingale approach, it managed to produce a low drawdown. The maximal drawdown is only less than three percent, which is very satisfactory.

The most apparent metric in the testing result is the huge profit factor of 10.6. A profit factor higher than one is always considered profitable. The result shows that the trading performance is remarkable, and it is possible for the robot to generate big profits for the trader for a short amount of time. As always, the user is advised to be very careful when using the trading system in live trading. He should consider the risk involved in every trading decision. Preserving the capital is still far more important than gain.

While everything sounds good so far, there is at least one area where an improvement is in order. It appears that the take profit target and the stop loss limit are not used at all in managing trades. The expert advisor is still actively involved in trade management. It can be said that the stop loss and take profit specification serves no purpose. With that being said, removing or not placing the stop loss and take profit values on the initial trade might be better. However, this change must be done programmatically and needs someone knowledgeable of MQL4 coding to be implemented.


FREE Virtual Robot EA

Download the FREE Virtual Robot Expert Advisor for MT4.

To receive my email 100% sure: 
Put my email on your whitelist!


Partially Automated Trading Besides Your Day Job

Alerts In Real-Time When Divergences Occur

About Me

I'm Mike Semlitsch the owner of My trading career started in 2007. Since 2013 I have helped thousands of traders to take their trading to the next level. Many of them are now constantly profitable traders. 

The following performance was achieved by me while trading live in front of hundreds of my clients:

Connect With Me:  

Results From 5 Months!
This service starts soon! Be the first who get's notified when it begins!

This FREE Indicator Can Transform
Your Trading!

FREE Indicator + Telegram Group

Request the Ultimate Double Top/Bottom Indicator which is used by 10,000+ traders.