Voir comment télécharger gratuitement des robots de trading
Retrouvez-nous sur Telegram !
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
Publié par:
Vladimir Karputov
Vues:
3135
Note:
(16)
Publié:
2018.06.16 11:09
TST.mq5 (30.49 KB) afficher
Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur Freelance

Idea by: Iurii Tokman.

MQL5 code by: Vladimir Karputov.

The EA does not use any indicators - only the current price and the OHLC of zero bar (the rightmost bar in the chart).

Working algorithm: As soon as the price rolls down from the High at the Rollback rate distance and we are within the new bar - it is a signal to open a BUY position; if the price moves above the Low at the Rollback rate distance and we are within the new bar - it is a signal to open a SELL position.

In the parameters, you can enable trailing and reversing signals for opening positions.


Inputs

  • Lots - position volume;
  • Stop Loss - Stop Loss;
  • Take Profit - Take Profit;
  • Trailing Stop - trailing;
  • Trailing Step - trailing step;
  • Timeframe - timeframe, from which OHLC and bar opening time are taken;
  • Rollback rate - rollback from the price;
  • Reverse signal - reverse flag of signals for opening positions;
  • magic number - unique identifier for the EA.

Test results (parameter "Balance max") for all symbols on D1 in the "Every tick based on real ticks" from 2018.01.01 to 2018.05.10:

TST test

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

EMAVFS_StDev EMAVFS_StDev

The EMAVFS indicator with additional trend strength indication using colored dots based on the standard deviation algorithm.

ID_Close_Rectangle_TL_AL ID_Close_Rectangle_TL_AL

A utility for closing (reducing the right side of the length) the rectangles, trendlines, or lines with arrows to some bars/candlesticks.

Four horizontal lines Four horizontal lines

The indicator plots four horizontal lines: Two basic ones (red by default) above the High and below the Low of the "Bar number" bar and help lines (green by default) shifted from the basic ones.

EMAVFS_StDev_HTF EMAVFS_StDev_HTF

Indicator EMAVFS_StDev with the timeframe selection option available in input parameters.