Parallel Strategies Example 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:
- Parallel Strategies Example Expert Advisor For MT4
- The Parallel Strategies Example Expert Advisor For MT4 – Entry Criteria
- The Parallel Strategies Example Expert Advisor For MT4 – Exit Criteria
- The Parallel Strategies Example Expert Advisor For MT4 – Room for Improvement
The Parallel Strategies Example Expert Advisor For MT4 is an advanced algorithmic trading system for MT4 platform. Anyone regardless of trading experience can readily use this expert advisor as the default settings work just fine. The robot will run immediately without problems the moment it is dropped on the chart. It will work on any type of trading account (five digit or otherwise), and it can be applied to any timeframe of the current symbol. It will open trades on one symbol only.
While the robot seems sophisticated when one looks at the code, it does not mean it performs well as a trading system. A short testing was done to determine the profitability of this trading system, but the account ended in negative territory at the culmination of testing. This test was not enough, though, to judge the effectiveness of the robot due to its short duration.
The Parallel Strategies Example Expert Advisor For MT4 – Entry Criteria
The Parallel Strategies Example Expert Advisor for MT4 puts one market order in the direction of the current trend when the market starts moving. If price is moving up, a buy trade will be placed, and if price is going down, a sell trade will be taken. At the time of trade execution, the trade has no stop loss and take profit. Each trade will have a lot size of 0.01 as defined in Inputs unless the user manually adjusts this value.
The following are the most important parameters that the user can set in Inputs:
- RiskMM = false – The user can set this value to true or false. If true, the robot will use the risk percent defined below. If false (default), the robot will use a fixed lot size.
- RiskPercent = 5 – This is the percentage of the account balance to be risked per trade.
- exLots = 0.01 – This is the static lot size to be used per trade if RiskMM is false.
- exStopLoss = 0 – This is the stop loss of each trade. If zero, trades have no stop loss.
- exTakeProfit = 0 – This is the take profit of each trade. If zero, trades have no take profit.
- exTrailingStop = 10 – This is the number of pips gained when trailing stop is activated.
This trading system makes use of the moving averages and the MACD as signals for trade entry and trade exit. The settings used and the manner of generating signal are explained below:
- Moving average (period 12, exponential mode, price close) and moving average (period 36, simple mode, price close) – The moving averages are applied to the current timeframe, and values are obtained for the previous and current candles. If the 12 EMA is above the 36 SMA on the current candle and there was a previous crossover, this is a buy signal. If the 12 EMA is below the 36 SMA and a previous crossover happened, then a sell signal is given.
- Moving average convergence divergence (12, 26, 9) – This is the standard setting for the MACD indicator. In this system, MACD is applied to the current timeframe and is being used as a trigger to close an open trade. If there is a buy trade and the MACD gives a sell signal, the buy trade is closed. If a sell trade exists and the MACD gives a buy signal, then the sell trade is exited. A buy signal is given if the MACD crosses above the signal line, and a sell signal is given if the MACD line crosses below the signal line. A signal might be given at any point while the current candle is developing, but the crossover might not happen when the candle completes. This is because the current candle has not closed yet.
The Parallel Strategies Example Expert Advisor For MT4 – Exit Criteria
The Parallel Strategies Example Expert Advisor for MT4 uses a complex algorithm in managing trades. It can open and manage multiple market orders in the current symbol. If a trade has been opened and is gaining pips, the robot will adjust the stop loss one point beyond the entry price the moment the trade gains at least 10 pips. One point is a tenth of a pip.
The robot adjusts the stop loss price every time the trade gains one point to secure more profits. The expert advisor will maintain a distance of 10 pips between the market price and the stop loss price if the trade is winning. This will continue until price hits the adjusted stop loss level. The robot will not place a take profit target on each trade.
When the previous trade was closed, another trade will be opened by the tick. The robot does not wait for a new candle to take another trade. If the previous trade ended in profit, the direction of the next trade is dictated by the order type of the previous winning trade. As the indicators instruct, the robot will add a trade in the direction of the previous trade. This could happen if the indicators detect a strong trend.
When multiple orders of the same type are opened and these trades start to gain pips, the stop loss of the first trade will be adjusted when it has gained 10 pips. When the succeeding trades also gain 10 pips, their stop loss will be adjusted at the same time to one price only. As it stands, the first trade in the cycle will have the most profit when the trade cycle is completed.
There are times when a trade is closed not at the stop loss price. This happens when the robot forcibly closes the trade perhaps due to a signal provided by the indicators suggesting a shift in market sentiment. If this is the case, the robot would no longer open a new trade in the direction of the previous trade. It stops trading and assumes a waiting mode. It will open a new trade when opportunity is available at the open of a new candle.
When a trade was opened and happened to be against the current momentum, the robot will forcibly close the trade after losing a few pips. The number of pips lost varies. It can be as low as five pips and as high as 20 pips. Shortly thereafter, almost concurrently, a new order in the direction of market momentum will be opened to replace the previous trade. This is to ensure that the account has at least one open order in the direction of the trend.
The Parallel Strategies Example Expert Advisor For MT4 – Room for Improvement
The Parallel Strategies Example Expert Advisor for MT4 exploits breakouts, and it thrives in those market conditions. During failed breakouts, though, it might experience a couple of losses. When the market is hesitant to trade in any direction, the robot will encounter a string of small losses while waiting for a breakout to occur or a clear trend to form in one direction or the other.
When the market moves strongly in one direction and one trade in the opposite direction happens to be left behind, the robot will not close the trade to avoid a big loss. It will wait for the market to turn around a little to exit the trade with minimal loss or better yet close the trade in profit. This makes the trading system a hedge strategy as well.
Testing the expert advisor using five months of data resulted to an unsatisfactory performance. The equity curve was going down gradually but steadily with occasional recovery runs. Win rate was low (27 percent), and 3,811 trades were taken for an average of 760 trades per month. The end result is a minimal loss. This kind of testing result illustrates that even if the robot is currently not profitable, it has a potential to become one if something is improved. Obviously, the win rate was low, but the account suffered only a marginal blow even while the robot takes too many trades.
One area to improve on is the spacing of trades. There are times when trades of the same type are bunched closely together in a narrow price area, which can lead to more losses. It is best to add a new trade only when the previous trade has been profitable and the profit is already secured. While this happens very often, sometimes a new trade is added when trailing stop has not yet been activated for the previous trade.