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
Vues:
4483
Note:
(30)
Publié:
2017.08.10 12:47
Mise à jour:
2018.06.27 14:39
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 and CSymbolInfo classes are used in the code.

Version 1: N Candles.

Version 2: N Candles v2.

Version 3: N Candles v3.

New in version 4: on netting accounts, the "maximum position volume" parameter is used instead of "maximum number of items".


Inputs

  • N identical candles in a row.
  • Lot.
  • Take Profit (pips).
  • Stop Loss (pips).
  • Trailing Stop ("0" -> not used).
  • Trailing Step (if trailing stop >0).
  • Max positions certain direction (only for the hedging mode).
  • Max position volume (only for the netting mode).
  • Magic.
  • Slippage.

An example of EA operation on a netting account:

N-_Candles_v4 Si-9.17

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

Boa_ZigZag_Arrows Boa_ZigZag_Arrows

The Boa_ZigZag zigzag, with values displayed as fractal labels.

Boa_ZigZag_Price Boa_ZigZag_Price

The Boa_ZigZag indicator with price labels of the ZigZag peak values.

Color_QEMA_Envelopes_Digit Color_QEMA_Envelopes_Digit

Envelopes using the Color_QEMA_Digit MA, with an indication of trend direction and display of the last values of channel borders.

Color_PEMA_Envelopes_Digit Color_PEMA_Envelopes_Digit

Envelopes using the Color_PEMA_Digit MA, with an indication of trend direction and display of the last values of channel borders.