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

Experts

Moving Average Trade System - expert for MetaTrader 4

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

Views:
12755
Rating:
votes: 7
Published:
2008.05.14 07:24
Updated:
2016.11.22 07:32
4_SMA.mq4 (4.67 KB)view

The strategy is based on Moving Average with the periods of 5/20/40/60.

The system is described in more details here.
A detailed article devoted to the system testing is available in our magazine's issue of 07.04.2008.
You can discuss the system and make suggestions on it on our forum.


Trading Strategy Algorithm:
1. Build four SMAs (Simple Moving Averages) with the periods of 5/20/40/60.
2. Use
M30 chart, symbol EUR/USD, lots 0.1.
3.
StopLoss: 60 points (EUR/USD).

Buying:
1. SMA40 is intersected by SMA60 from bottom to top.
2. Close when they intersect in the opposite direction.

Selling:
1. SMA40 is intersected by SMA60 from top to bottom.
2.
Close when they intersect in the opposite direction.


Testing on EURUSD М30 with standard inputs (StopLoss 60, no Trailing Stop or TakeProfit):


Optimization after Trailing Stop and TakeProfit have been added to the EA:

Testing on EURUSD М30 after optimization (for the same time period):



You can view a forward test outside the optimization area in our magazine's issue of 07.04.2008.


Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/8040

FX-TREND FX-TREND

The indicator shows the trend on a daily chart(2) using indicator ZIGZAG-FRACTALS. It also shows the enter price for HIGH/LOW of the preceding bar on the current timeframe.

Fast_oscilator_2 Fast_oscilator_2

A fast oscillatorб also suited for scalping.

RelUpTrLen RelUpTrLen

The indicator represents the ratio between the length of the up-trend found and the length of the entire range where the indicator is searching for an up-trend.

RelDownTrLen RelDownTrLen

The indicator displays the ratio between the length of the current down-trend (in bars) and the total length of the period barsToProcess (of course, in bars, as well) where the down-trend is searched for.