Voir comment télécharger gratuitement des robots de trading
Retrouvez-nous sur Telegram !
Rejoignez notre page de fans
Rejoignez notre page de fans
Vous avez aimé le script ? Essayez-le dans le terminal MetaTrader 5
Exp_GStopLoss - expert pour MetaTrader 5
- Vues:
- 3495
- Note:
- Publié:
- 2017.01.19 16:56
- Mise à jour:
- 2017.02.17 15:59
- Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur Freelance
This Expert Advisor closes all positions if the total loss exceeds a predefined limit. In fact, this is a global stop loss for all positions simultaneously.
//+----------------------------------------------+
//| Enumeration for loss calculation options |
//+----------------------------------------------+
enum LossMode
{
ENUM_PERCENT, //losses in percentage
ENUM_CARRENCY //losses in deposit currency
};
//+----------------------------------------------+
//| Input parameters of the EA indicator |
//+----------------------------------------------+
input LossMode LMode=ENUM_PERCENT; //loss calculation method
input double StopLoss=20.0; //stop loss
//+----------------------------------------------+
//| Enumeration for loss calculation options |
//+----------------------------------------------+
enum LossMode
{
ENUM_PERCENT, //losses in percentage
ENUM_CARRENCY //losses in deposit currency
};
//+----------------------------------------------+
//| Input parameters of the EA indicator |
//+----------------------------------------------+
input LossMode LMode=ENUM_PERCENT; //loss calculation method
input double StopLoss=20.0; //stop loss
//+----------------------------------------------+
Traduit du russe par MetaQuotes Ltd.
Code original : https://www.mql5.com/ru/code/16759
ZoomPrice tick indicator
The indicator shows the price chart of any scaling level.
RobotPowerM5 meta4V12Analyzing iBullsPower and iBearsPower indicators on the first bar.
Exp_GTakeProfit
This Expert Advisor closes all positions if the total profit exceeds a predefined limit.
MFI_Histogram_Round_HTFThe MFI_Histogram_Round indicator with the timeframe selection option available in the input parameters.