Download MetaTrader 5

Watch how to download trading robots for free

Interesting script?
So post a link to it -
let others appraise it

You liked the script? Try it in the MetaTrader 5 terminal


DoubleMA Crossover EA - expert for MetaTrader 5

Scriptor | English Русский 中文 Español Deutsch 日本語 Português

Published by:
Vladimir Karputov
votes: 27
2017.03.22 16:24
2018.02.26 10:25

Author of the idea — John Smithauthor of the MQL5 code — barabashkakvn

Trades only the following symbols:

  • "AUDCAD"
  • "AUDJPY"
  • "AUDNZD"
  • "AUDUSD"
  • "CHFJPY"
  • "EURAUD"
  • "EURCAD"
  • "EURCHF"
  • "EURGBP"
  • "EURJPY"
  • "EURUSD"
  • "GBPCHF"
  • "GBPJPY"
  • "GBPUSD"
  • "NZDUSD"
  • "USDCAD"
  • "USDCHF"
  • "USDJPY"

Trailing of open positions. Signals of two indicators (Moving Average, MA). Indicator parameters, such as "averaging period", "horizontal shift", "smoothing type" and "type of price" are available as inputs. Therefore, you can test the strategy using a wide range of parameters. The EA trades during a certain period a certain period of the day.‌ It works on every tick, but uses the indicator values on the bar with the "Signal Candle" index.

Symbol EURUSD, M5, period from 2016.01.01 to 2017.02.28, initial balance 3000:

 DoubleMA Crossover EA

Translated from Russian by MetaQuotes Software Corp.
Original code:

Pinball machine Pinball machine

Trade direction is chosen based on a random number generator. Stop Loss and Take Profit are set based on the random number generator. Lot calculation based on the risk value as a percentage of free margin. The code contains protection against the "not enough money" error.

StrangeIndicator StrangeIndicator

The smoothed StrangeIndicator oscillator with the color indication of overbought/oversold level breakouts and of the histogram direction.


Trend indicator.

ColorXCCI_Histogram_HTF ColorXCCI_Histogram_HTF

The ColorXCCI_Histogram indicator with the timeframe selection option available in the input parameters.