거래 로봇을 무료로 다운로드 하는 법을 시청해보세요
당사를 Telegram에서 찾아주십시오!
당사 팬 페이지에 가입하십시오
스크립트가 흥미로우신가요?
그렇다면 링크 to it -
하셔서 다른 이들이 평가할 수 있도록 해보세요
스크립트가 마음에 드시나요? MetaTrader 5 터미널에서 시도해보십시오
조회수:
3467
평가:
(18)
게시됨:
2017.01.19 16:57
업데이트됨:
2017.02.17 15:56
Exp_GStop.mq5 (26.56 KB) 조회
이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

This Expert Advisor closes all positions if the total loss/profit exceeds a predefined limit. In fact, this is a global stop loss and take profit for all positions simultaneously. The EA leaves appropriate comments on its actions in the log file.

//+----------------------------------------------+
//| Enumeration for loss calculation options     |
//+----------------------------------------------+
enum StopMode
{
ENUM_PERCENT, //losses in percentage
ENUM_CARRENCY //losses in deposit currency
};
//+----------------------------------------------+
//| Input parameters of the EA indicator         |
//+----------------------------------------------+
input StopMode LMode=ENUM_PERCENT; //loss calculation method
input double StopLoss=20.0; //stop loss
input double TakeProfit=100.0; //take profit

MetaQuotes Ltd에서 러시아어로 번역함.
원본 코드: https://www.mql5.com/ru/code/16782

MTC Сombo MTC Сombo

The Expert Advisor is based on a standard trend strategy and the two-layer neural network that is trained to enter the market against a trend.

MFI_Histogram_Round_HTF MFI_Histogram_Round_HTF

The MFI_Histogram_Round indicator with the timeframe selection option available in the input parameters.

WPR_Histogram_Round_HTF WPR_Histogram_Round_HTF

The WPR_Histogram_Round indicator with the timeframe selection option available in the input parameters.

Exp_CenterOfGravityCandle Exp_CenterOfGravityCandle

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