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
Experts

TwoBarsComparison - expert pour MetaTrader 5

Publié par:
Vladimir Karputov
Vues:
2351
Note:
(11)
Publié:
2018.06.16 10:28
Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur Freelance

Idea by: Dmitriy.

MQL5 code by: Vladimir Karputov.

the EA compares the opening prices (Open) of bar#0 and bar#2:

Uti_Puti_Trade


Inputs

  • Stop Loss (in pips) - Stop Loss;
  • Take Profit (in pips) - Take Profit;
  • Trailing Stop (in pips) - trailing;
  • Trailing Step (in pips) - trailing step;
  • Breakeven - breakeven;
  • Breakeven Profit - profit for breakeven;
  • Lots (or "Lots">0 and "Risk"==0 or "Lots"==0 and "Risk">0) - position volume (for manual defining);
  • Risk (or "Lots">0 and "Risk"==0 or "Lots"==0 and "Risk">0) - risk per trade as percent of free margin;
  • magic number - unique identifier of the EA.

Test results in the "Every tick" mode for all symbols on D1:

Uti_Puti_Trade All symbols D1

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

exp_Amstell exp_Amstell

The EA uses a virtual Take Profit for closing gaining positions. Opening positions with a step. Catch the type of the last position and its price in OnTradeTransaction.

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.

e_Breakeven_v4 e_Breakeven_v4

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

e-News-Lucky e-News-Lucky

The Expert Advisor places pending Buy Stop and Sell Stop orders. If orders execute, the trailing stop is run for the positions.