Watch how to download trading robots for free
Find us on Facebook!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Experts

Short-Term Trends - expert for MetaTrader 4

Views:
13090
Rating:
(3)
Published:
2008.05.12 10:48
Updated:
2016.11.22 07:32
Get_trend.mq4 (4.56 KB) view
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

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

Image:

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 Ltd.
Original code: https://www.mql5.com/ru/code/8031

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 http://www.tradejuice.com/forex/forex-1-2-3-methode-mm.htm. 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: http://forum.fibo-forex.ru/viewtopic.php?t=1368 The indicator works with ZigZag by Rosh (Zigzag2_R_).

BHS system BHS system

A system based on "round" numbers.