Voir comment télécharger gratuitement des robots de trading
Retrouvez-nous sur Twitter !
Rejoignez notre page de fans
Un script intéressant ?
Poster un lien vers celui-ci -
laisser les autres l'évaluer
Vous avez aimé le script ? Essayez-le dans le terminal MetaTrader 5
Experts

The implementation of the MACD pattern Trend continuation - expert pour MetaTrader 4

Vues:
14798
Note:
(7)
Publié:
2008.07.25 07:11
Mise à jour:
2016.11.22 07:32
MQL5 Freelance Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur Freelance

The implementation of the MACD pattern "Trend continuation".

The EA was written in order to check the efficiency of the trading strategy described by the author. The received results and the description of the EA parameters is available in the 20th issue of the magazine. The magazine can be downloaded from our website http://www.fortrader.ru

Short description of the strategy:

  1. Time frame: H4;
  2. Symbol: EURUSD;
  3. Volume: 0.1 lot
  4. Indicators: ЕMA7, EMA21, EMA359, SMA89. MACD 5,13,1.

Searching for buy signal:

  1. The MACD histogram must form a High above 0.0015;
  2. Once a Low is formed above 0.0015, the histogram must go below -0.0005 and reverse with a value greater than 0,0005 without going below zero;
  3. The stop loss is placed 10 points below the last local minimum;
  4. The first target for the 30% position is closed at a price value higher than the 21-period Exponential Moving Average;
  5. The second target for half of the positions is closed when the price reaches a value between the 89-period Simple Moving Average and 365-period Exponential Moving Average.
  6. The third target for the remaining volume of the positions is closed when the price reaches a resistance level.

Searching for sell signal:

  1. The MACD histogram must form a High above -0.0015;
  2. Once a High is formed above -0.0015, the histogram must take a value higher than -0,0005 and reverse downwards with a value lower than -0,0005 without going above zero;
  3. The stop loss is placed 10 points above the last local maximum;
  4. The first target for the 30% position is closed at a price value lower than the 21-period Exponential Moving Average;
  5. The second target for half of the positions is closed when the price reaches a value between the 89-period Simple Moving Average and 365-period Exponential Moving Average.
  6. The third target for the remaining volume of the positions is closed when the price reaches a resistance level.

Testing of the Expert Advisor using the standard parameters:

After optimization outside the optimization area:

When working on future, good results were received on the smaller timeframes as well.

The offered EA has hard-coded default pattern parameters. The extended version of the EA can be downloaded in the issue of our journal. It comes with the ability to change and optimize the parameters, and with adaptive levels for calculating the take profit and stop loss.

!!! Note that different brokers have different quote properties and the results based on the given parameters may differ.

Traduit du russe par MetaQuotes Ltd.
Code original : https://www.mql5.com/ru/code/8249

sell zone fibs sell zone fibs

The indicator "sell zone fibs".

Orders management Orders management

The library contains the functions that ease the writing of EAs.

OzFx Signals v1.7 OzFx Signals v1.7

The indicator OzFx Signals v1.7.

MA Channels MA Channels

It displays Fibo levels of the price channel created on the moving avrage.