Adjustable MA Expert Advisor

Adjustable MA Forex expert advisor is a customizable moving average EA that offers flexible tuning of the traditional 2-MA cross strategy. You can set different MA periods, MA types, minimum difference, stop-loss, take-profit, trailing stop and slippage. This expert advisor always opens position on cross and closes it on the next cross.

The back-test of the Adjustable MA MetaTrader expert advisor has shown ~12.2% profit with ~12.6% maximum drawdown during a 6-year period. The used position's volume was set to 0.1 standard lots. The EA made 647 trades, of which 56.41% were profitable. The default settings were used in this back-test on EUR/USD M5 chart. As you can see, the results are not very good. It is not recommended to use this EA on live account.

MiniFAQ

What are the stop-loss and take-profit used by this EA?

By default it uses fixed stop-loss at 100 pips and take-profit at 70 pips. The trailing stop is turned off by default.

How often does it trade?

On 5-minute EUR/USD chart (the back-test settings) this EA will trade once every day on average.

Any settings other than default can be used?

The limited forward test (which should be more reliable than a back-test) on AUD/USD M5 chart showed some profitable set-up for this expert advisor. These parameters should be changed from default:

  1. StopLoss — 30
  2. TakeProfit — 50
  3. TrailingStop — 20
  4. Period_1 — 50
  5. Period_2 — 10

 

This EA is ECN-compatible. You must set ECN_Mode input parameter to true in order to enable ECN-compatibility for this expert advisor. Otherwise, you will most likely be seeing OrderSend Error 130 messages when EA will be trying to open positions. This is because, if you are trading with an ECN broker (with market execution for orders), you cannot set SL/TP on position opening. You have to open a position first without SL/TP and only then modify it, adding stop-loss and/or take-profit level.

Downloads

Download Adjustable MA expert advisor for MetaTrader 4

Download zipped Adjustable MA expert advisor for MetaTrader 4

Download Adjustable MA advisor for MetaTrader 5

Download zipped Adjustable MA expert advisor for MetaTrader 5

Discussion

Warning! Before you ask basic questions regarding installation of the expert advisors, please, read this MT4 Expert Advisors Tutorial to get the elementary knowledge on handling them.

Do you have your own trading results or any other remarks regarding this expert advisor? Discuss Adjustable MA with other traders and MQL programmers on the experts forums.