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

2017.01.26 09:21

EMA_WMA - expert for MetaTrader 5

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

Published by:
Vladimir Karputov
votes: 13
EMA_WMA.mq5 (17.59 KB)view

Author of the idea — Vladimir Khlystovauthor of the MQL5 code — barabashkakvn.

Intersection of two iMA (MA).

From the author of the idea: 

Users often ask to write a simple Expert Advisor.

The presented EA does not claim to be able to save the deposit from "blowing". Its task is to verify theories.

Here is one of them, hopefully, author of the idea will not mind:

Use two lines — WMA 8 and EMA 28.

When WMA crosses EMA from below — open upward position.

When WMA crosses EMA from above — open downward position.

Once the position is opened, set orders: Take Profit 50 points (from Open), Stop Loss 50 points (from Open + spread).


  • Trade using a fixed deposit size — 10% with a leverage of (1:100).
  • The system is not suitable for all currency pairs.
  • If the trend reversed and WMA crossed EMA in the direction opposite to the opened position — open a position in the direction of the trend, while closing the previous one (of course, the old orders should be deleted and new ones should be placed).


Translated from Russian by MetaQuotes Software Corp.
Original code:


The Exp_RSIOMA Expert Advisor based on the signals taken from the RSIOMA histogram.

Fractal_Momentum_HTF Fractal_Momentum_HTF

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

BreakdownLevelDay BreakdownLevelDay

The Expert Advisor trades daily breakouts. It places pending BuyStop and SellStop orders.

WeightOscillator WeightOscillator

Oscillator, representing the weighted smoothed sum of four indicators: RSI, MFI, WPR and DeMarker.