Martingale Smart Expert Advisor For MT4
WE IMPROVED THIS EXPERT ADVISOR FOR YOU!!!
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:
- Martingale Smart Expert Advisor For MT4
- The Martingale Smart Expert Advisor For MT4 – Entry Criteria
- The Martingale Smart Expert Advisor For MT4 – Exit Criteria
- The Martingale Smart Expert Advisor For MT4 – Room for Improvement
The Martingale Smart Expert Advisor For MT4 is a martingale algorithmic trading system for MT4 platform. Unlike other types of martingale systems, this expert advisor accepts losing trades and attempts to recover the lost amount and gain some profit by doubling the trade volume on the next trade.
This trading system works in both new trading accounts whose exchange rates are expressed in five digits for dollar pairs and three digits for yen pairs and older accounts whose price quotes are given in four digits for dollar pairs and two digits for yen pairs. Users can apply the robot on any foreign exchange currency pair and on any timeframe.
Anyone interested to give this robot a try must use it first in a demo account, and only after the robot shows positive results in demo trading should it be used in live trading. A short test run in the strategy tester resulted in a loss, but it cannot speak for the effectiveness of the trading system. It might have happened by chance. To get confidence on this trading system, the user must perform his own testing preferably for a longer period of time.
The Martingale Smart Expert Advisor For MT4 – Entry Criteria
The Martingale Smart Expert Advisor for MT4 looks for trade entry once on every new candle. It does not use pending orders when sending trade requests to the trade server. If a trade opportunity exists, the robot executes a market order right away. Each trade comes with a stop loss and take profit. The default stop loss and take profit are five pips each. However, during trade execution, the robot takes the current spread into consideration.
When the robot sends an order to the trade server, it adds the spread to the stop loss price and subtracts the spread from the take profit price. The result is a skewed risk-reward ratio that is unfavorable for the trader. If a trade happens to be a loser, the trader stands to lose more than if the trade had otherwise won. The trader might consider adjusting the values of the stop loss and take profit to tip the scale in favor of reward.
The expert advisor would take one trade at a time, and each trade will have a lot size of 0.01 at first. If the trade hits take profit, the next trade will use the same lot size (0.01). If instead the trade hits the stop loss limit, the next trade will have a lot size 0.01 higher than the previous trade. For instance, if two consecutive trades resulted in a loss, the third trade would have a lot size of 0.03. The lot size increment takes effect regardless of the order type of the previous trade. If the previous trade was a buy and ended up a loser, the next trade would have a trade volume of 0.02 whether it is a buy or a sell.
The trading system looks to the technical indicators for direction as to which side of the market to trade and for instruction if such opportunity is available at the open of a new candle. The technical indicators, their settings and manner of use are explained below:
- Moving averages (period 1 and 50, simple mode, price close) – The simple moving averages are applied to the current timeframe for the current candle. A buy signal is given if the 1 SMA goes below the 50 SMA, and a sell signal is indicated if the 1 SMA goes above the 50 SMA. The signal might appear reversed, but it is how the moving averages are used in the program based on the code.
- Envelopes (period 13, simple mode, shift 10, price close, deviation 0.2) – The envelopes indicator is applied on the current timeframe for the current candle. If ask price is above the lower envelope, a bullish signal is given. If ask price is below the upper envelope, a bearish signal is indicated. This kind of signal generation suggests that the indicator is being used as a support and resistance indicator, wherein price is expected to reverse after hitting the line.
The technical indicators above are not used at the same time to confirm each other’s signal. Each indicator is used depending on the result of the previous trade, win or loss. If the previous trade was profitable, the expert advisor will use the moving averages to determine the direction of the next trade. If the previous trade was a loss, the robot will refer to the envelopes indicator for signal as to the trade bias for the next trade.
The Martingale Smart Expert Advisor For MT4 – Exit Criteria
On most occasions, the Martingale Smart Expert Advisor for MT4 allows the market to decide the outcome of a trade. This is because each trade comes with stop orders for stop loss and take profit. While breakeven and trailing stop functions are available as options to close live trades, it appears these functions are not normally used or triggered. This is due to the proximate distance of the stop loss and take profit orders from the market price. Most of the time, trades are closed by the stop loss or the take profit and no stop loss adjustment took place as observed in the strategy tester.
The Martingale Smart Expert Advisor For MT4 – Room for Improvement
The Martingale Smart Expert Advisor for MT4 appears to be a sophisticated algorithmic trading system when one looks at the code. However, this seeming sophistication does not translate to profitability in this case. A few rounds of testing revealed a disappointing result.
Testing with the default settings showed an equity curve that was going downhill from start to finish. Possibly, the spread was to blame for this poor performance. However, when the current spread was being used, the result was the same. The trading account lost 19 percent after five months of testing, and the maximum drawdown was 19 percent.
However, the win rate was not at all bad. Forty-nine percent of the 5,153 total trades taken were winners. It seems this robot is hungry for trades as it averages 1,000 trades per month for a testing done on the 15-minute chart.
Another round of testing was done to possibly negate the previous result. The default risk-reward ratio might be working against the trading system at the get-go, so it was adjusted in the next testing. Stop loss was maintained at 5 pips (plus the spread), but take profit was increased to two times the spread. Surprisingly enough, the result was not the same, but actually worse. The account lost more money than before (24 percent).
One factor that might have contributed to this poor performance is the way the technical indicators are used to give signals for trade direction. It appears the signals given are counterintuitive. For instance, a buy signal is given when it should have been a sell signal and vice versa. Therefore, anyone with programming knowledge who is interested to revamp the performance of this robot might consider editing the code. If the signals are reversed, the robot might show an entirely different result.
As the equity curve declined continuously during testing, it suggests that the trading system is not yet suitable for any type of trading, even demo trading. The robot must be improved programmatically until it shows a promising result worthy of being put to the test in the strategy tester and later in a demo account. Only after the robot yields a positive result in demo trading after a sufficient amount of time should a trader consider putting money on the line to trade with this robot.