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
Vues:
4211
Note:
(18)
Publié:
2017.01.19 16:58
\MQL5\Include\
Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur Freelance

The Expert Advisor opens and closes positions at the predefined moments in time.

EA inputs:

//+-------------------------------------------------+
//| Input parameters of the EA indicator            |
//+-------------------------------------------------+
input double MM=0.1; //Share of a deposit in a deal
input MarginMode MMMode=LOT; //lot value detection method
input int StopLoss_=1000; //stop loss in points
input int TakeProfit_=2000; //take profit in points
input int Deviation_=10; //max price deviation in points
input TradeMode Trade=ENUM_SELL; //Trade direction
input datetime OpenTime=D'1970.01.01 00:00'; //Position open time
input datetime CloseTime=D'3000.01.01 00:00'; //Position close time
input uint TradeInterval =60; //Trading interval in seconds (time accuracy for a trade)
//+-------------------------------------------------+
Note that the TradeAlgorithms.mqh library file allows using Expert Advisors with brokers who offer nonzero spread and the option of setting Stop Loss and Take Profit together with position opening. You can download more variants of the library at the following link: Trade Algorithms.

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

OpenTicks OpenTicks

Non-indicator system based on the analysis of the four previous bars. Implemented partial closing.

Exp_CenterOfGravityCandle Exp_CenterOfGravityCandle

The Exp_CenterOfGravityCandles Expert Advisor is based on signals of the CenterOfGravityCandles indicator.

SilverTrend_Signal_Alert SilverTrend_Signal_Alert

SilverTrend semaphore signal indicator features alerts, emails and push notifications.

Exp_ZeroFillingStop Exp_ZeroFillingStop

The Expert Advisor moves a position to a breakeven when a predefined profit is reached.