Adjustable MA

12/16/2022
MT4
MT5

Password:forexsignalpro.net

 

Warning! The latest backtest of this expert advisor on the period from 2013-01-01 through 2022-04-14 has shown a complete account wipeout.

Do not run this EA on a live account! Use it for educational purpose only. The backtest results presented below are outdated.


Adjustable MA
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.

Input parameters
Main

  • Period_1 (default = 20) — the period for the first moving average.
  • Period_2 (default = 22) — the period for the second moving average.
  • MA_Method (default = MODE_EMA) — the method of moving average calculation.
  • MinDiff (default = 3) — the minimum difference between the MAs for a crossover to count.
  • StopLoss (default = 0) — the stop-loss distance in pips. Set to zero to disable.
  • TakeProfit (default = 0) — the take-profit distance in pips. Set to zero to disable.
  • TrailingStop (default = 0) — the trailing stop value in pips. Set to zero to disable.

Money management

  • Lots (default = 0.1) — the volume for trades. Used if UseMM is set to false.
  • UseMM (default = false) — if true, a money management model based on the available free margin is used to calculate the position size.
  • LotsPer10000 (default = 1) — the number of lots to trade per each $10,000 of the account's free margin.

Miscellaneous

  • Slippage (default = 3) — the acceptable price slippage in pips.
  • OrderCommentary (default = "Adjustable MA") — the commentary for positions opened by this EA.

MiniFAQ
What are the stop-loss and take-profit values 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