Voir comment télécharger gratuitement des robots de trading
Retrouvez-nous sur Facebook !
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

Donchain counter - expert pour MetaTrader 5

Publié par:
Vladimir Karputov
Vues:
5349
Note:
(17)
Publié:
2018.06.06 14:22
\MQL5\Indicators\
Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur Freelance

The author of the idea: Scriptor.

The MQL5 code author: Vladimir Karputov.

The Expert Advisor uses the Donchian Channel indicator. Limitations: no more than one position can exist in the market, the next position can be opened not earlier than in 24 hours.

Donchian Channel indicator values are used as signals for opening a position and applying the trailing stop function.

An example of a BUY signal: if the upper buffer of the indicator on the first bar is greater than that on the second bar, open BUY:

Donchain counter signal BUY

The lower indicator buffer is analyzed for SELL signals: if the lower buffer of the indicator on the first bar is less than on the second one, it is a signal to open SELL.


Input Values

  • Lots - the size of the position to open;
  • Donchian Channel: averaging period - indicator parameter;
  • Donchian Channel: Time frame - indicator parameter;
  • Magic number of the strategy - the unique ID number for the Expert Advisor.

Testing results on EURUSD (with default settings):

Donchain counter EURUSD H1

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

ILRS_MA ILRS_MA

Integral of Linear Regression Slope (ILRS MA).

Dominant_Color Dominant_Color

An indicator of the dominant direction of closing of bars.

Important_Extremums Important_Extremums

An indicator of important extremums.

JSmooth_MA JSmooth_MA

A Moving Average with the smoothing type by Mark Jurik.