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
Vues:
3528
Note:
(21)
Publié:
2018.01.22 09:56
Mise à jour:
2018.06.27 14:50
Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur Freelance

The Expert Advisor searches for N identical candlesticks in a row. It buys on bullish candlesticks and sells on bearish ones. The account type is taken into account, i.e. whether it is netting or hedging. The CPositionInfo, CTrade, CSymbolInfo and CAccountInfo trade classes are used in the code.

New in version 5: the new "working time" parameter allows setting the trade beginning and end hours. The EA will only trade within "working time" and will do nothing the rest time.


Input Parameters

  • N identical candles which go in a row - the number of identical candlesticks in a row.
  • Lot - position volume.
  • Take Profit.
  • Stop Loss.
  • Trailing Stop ("0" -> not trailing).
  • Trailing Step (use if Trailing Stop >0).
  • Max positions certain direction (only for hedging) - the maximum number of positions (only for hedging accounts).
  • Max position volume (only for netting) - the maximum volume of a position (only for netting accounts).
  • Use trade hours - enable/disable the time filter.
  • Start hour - trading start hour.
  • End hour - trading end hour.

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

Dtm_HTF Dtm_HTF

The Dtm indicator with the possibility to change the indicator timeframe from input parameters.

Exp_CMO_Duplex Exp_CMO_Duplex

Two identical trading systems based on the crossover of the CMO indicator and the zero line, for long and short trades, which can be configured in different ways in one Expert Advisor.

BeerGodEA BeerGodEA

The Expert Advisor uses signals of the iMA (Moving Average, MA) indicator with a delay from the bar opening time.

Precipice MartIn Precipice MartIn

A trading strategy using the Martingale system.