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

Fractured Fractals - expert pour MetaTrader 5

Publié par:
Vladimir Karputov
Vues:
6232
Note:
(20)
Publié:
2018.04.18 17:06
Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur Freelance

The author of the ideaScriptor, the author of the MQL5 code: barabashkakvn.

The Expert Advisor uses the iFractals indicator signals to place pending Buy Stop and Sell Stop orders and trail the Stop Loss levels of positions. A condition to place a Buy Stop order occurs when there are two upper fractals, of which the last formed one ("Up youngest") is higher than the previous fractal ("Up middle").

Stop Loss of a Buy Stop order is set at the latest lower fractal ("Down youngest"). Then, Stop Loss of a Buy position is trailed based on that "Down youngest" fractal.

Fractured Fractals Buy Stop

Fig. 1. Conditions for Buy Stop

Conditions are opposite for Sell orders and Sell positions.


Input Parameters

  • Maximum Risk in percentage - maximum allowable risk;
  • Decrease factor - lot reduction factor in case of losing trades;
  • Life time of the pending order (in hours) - pending order life time in hours;
  • magic number - unique identifier for the EA.

Testing results on M30 and H2:

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

AD AD

The AD (Accumulation Distribution) indicator with three calculation methods.

SSS SSS

SSS (Special Slow Stochastic) has an additional smoothed (slow) line based on the Stochastic signal line.

MathCeilRoundFloor MathCeilRoundFloor

Example of functions MathCeil, MathRound and MathFloor.

BHS system BHS system

The EA trades using pending Buy Stop and Sell Stop orders, applying the iAMA (Adaptive Moving Average, AMA) indicator based on a "round price". Position trailing.