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

votes: 18
2018.06.06 14:40
EMA_WMA v2.mq5 (22.93 KB)view

This EA is a further development of the first EMA_WMA version.

The position trailing function has been added in version 2.

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).

Input Values

  • EMA: averaging period - EMA parameter;
  • WMA: averaging period - WMA parameter;
  • StopLoss - stop loss value;
  • TakeProfit - take profit value;
  • Trailing Stop - trailing stop value;
  • Trailing Step - trailing step value
  • Risk - risk value used for position sizing.

Translated from Russian by MetaQuotes Software Corp.
Original code:

TrueSort_1100 TrueSort_1100

The Expert Advisor waits when the lines of MA(10), MA(20), MA(50), MA(100) and MA(200) get arranged one above the other (or one below the other).

Poker_SHOW Poker_SHOW

An Expert Advisor based on a random number generator. Trend is determined using the iMA (Moving Average, MA) indicator.

Advanced ADX Advanced ADX

This version of ADX instead uses different display in order to make that as easy as it can be. The ADX values are easily comparable to the significant level, the the color of the ADX value and histogram clearly shows the trend. That way it is easier to follow the ADX trend(s) and values.

Trend Envelopes Trend Envelopes

Trend Envelopes indicator is using only % deviation for calculation and that is the only parameter needed for calculation. It is internally using Close, High and Low price and in this version that can not be changed. Also, due to the nature of the indicator, it can be easily be used as a sort of support/resistance indicator.