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

2008.05.12 10:48

Short-Term Trends - expert for MetaTrader 4

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

votes: 1
Get_trend.mq4 (4.56 KB)view

Symbol: EUR/USD
Timeframes: M15, H1
Indicators used: Moving Average(200), Stoh
Trade volume: 0.1

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

System Rules:

2 charts with different timeframes (M15 and H1) are used in the strategy, as well as two technical indicators: Moving Average (period 200) and slow Stochastic (period 14).

1) Compare moving averages on M15 and on H1 charts. It is a trend, if the price on both charts is above or below the moving average.

2) Once having identified a trend, analyze the M15 chart for its conformity to two conditions (the situation must be conforming to both conditions at the same time):

a) the price must be no more than 20 points higher (for buying) or lower (for selling) than the moving average;

b) the fast Stochastic line must intersect the slow Stochastic line below the level of 20 (for buying) or intersect it from top to bottom below the level of 80 (for selling).

3) After entering, place StopLoss. For a long position, place it 10 points below MA200 on the M15 chart. In case of opening a short position, place StopLoss 10 points above MA on the M15 chart. If the price moves to your favor, place the stop level higher or lower (according to whether you are holding a long or a short position) to protect your profit. For the sake of simplicity, we use a trailing stop with a step of 25 points of each new peak or trough in the examples below. (When testing the EA, we placed StopLoss of the Bid/Ask price, not of the MA200 line).


Testing the EA on EURUSD М15 chart with standard inputs:

Testing the EA on EURUSD М15 chart with optimized parameters:

Translated from Russian by MetaQuotes Software Corp.
Original code:

MTS "MoneyRain" MTS "MoneyRain"

This is an EA that increases the lot size after each profitable trade if it follows some losing trades.

1-2-3 1-2-3

A realization of the method described at The author of the realization is not the author of the method, so I don't vouch for the realization correctness.

Rooks Returned Rooks Returned

One more interpretation of the well-known ZigZag. The indicator is written to work according the trading system described here: The indicator works with ZigZag by Rosh (Zigzag2_R_).

BHS system BHS system

A system based on "round" numbers.