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

exp_Amstell - expert pour MetaTrader 5

Publié par:
Vladimir Karputov
Vues:
2145
Note:
(15)
Publié:
2018.06.16 10:25
Mise à jour:
2018.06.16 10:25
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.


EA operation algorithm

At the first start, open a BUY position with the volume of Lots. Then monitor (in OnTradeTransaction) all opening positions and remember (separately for BUY and SELL positions) the opening prices:

  • If the price of the last opening a BUY position is ABOVE the current Ask price by Step - open a new BUY position;
  • If the price of the last opening a SELL position is BELOW the current Bid price by Step - open a new SELL position.

The virtual Take Profit is monitored, too: As soon as the position profit reaches or exceeds Virtual Take Profit, close the position by market.


Inputs

  • Lots - the volume of the position to be opened;
  • Virtual Take Profit (in pips) - virtual Take Profit;
  • Step (in pips) - the minimum step between the last position price;
  • magic number - unique identifier for the EA.

exp_Amstell

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

Exp_Sar_Tm_Plus Exp_Sar_Tm_Plus

A trading system based on indicator signals Parabolic Stop and Reverse system with the possibility to set a fixed position holding time.

EA Moving Average EA Moving Average

The EA is based on Moving Average.mq5 from standard delivery. Working with OnTradeTransaction to get the price of the last closed position.

TwoBarsComparison TwoBarsComparison

The EA compares the opening prices of the zeroth and the second bar. It moves positions to a breakeven and/or enables trailing.

e_Breakeven_v4 e_Breakeven_v4

An assistant Expert Advisor. It moves positions to a breakeven and then enables trailing.