거래 로봇을 무료로 다운로드 하는 법을 시청해보세요
당사를 Twitter에서 찾아주십시오!
당사 팬 페이지에 가입하십시오
당사 팬 페이지에 가입하십시오
스크립트가 마음에 드시나요? MetaTrader 5 터미널에서 시도해보십시오
- 조회수:
- 4263
- 평가:
- 게시됨:
- 2017.01.19 16:56
- 업데이트됨:
- 2017.02.17 16:01
-
이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동
This Expert Advisor closes all positions if the total profit exceeds a predefined limit. In fact, this is a global take profit for all positions simultaneously.
//+----------------------------------------------+
//| Enumeration for profit calculation options |
//+----------------------------------------------+
enum TakeMode
{
ENUM_PERCENT, //profit in percentage
ENUM_CARRENCY //profit in the deposit currency
};
//+----------------------------------------------+
//| Input parameters of the EA indicator |
//+----------------------------------------------+
input TakeMode LMode=ENUM_PERCENT; //profit calculation method
input double TakeProfit=100.0; //take profit
//+----------------------------------------------+
//| Enumeration for profit calculation options |
//+----------------------------------------------+
enum TakeMode
{
ENUM_PERCENT, //profit in percentage
ENUM_CARRENCY //profit in the deposit currency
};
//+----------------------------------------------+
//| Input parameters of the EA indicator |
//+----------------------------------------------+
input TakeMode LMode=ENUM_PERCENT; //profit calculation method
input double TakeProfit=100.0; //take profit
//+----------------------------------------------+
MetaQuotes Ltd에서 러시아어로 번역함.
원본 코드: https://www.mql5.com/ru/code/16760
![Exp_GStopLoss](https://c.mql5.com/i/code/expert.png)
This Expert Advisor closes all positions if the total loss exceeds a predefined limit.
![ZoomPrice tick indicator](https://c.mql5.com/i/code/indicator.png)
The indicator shows the price chart of any scaling level.
![MFI_Histogram_Round_HTF](https://c.mql5.com/i/code/indicator.png)
The MFI_Histogram_Round indicator with the timeframe selection option available in the input parameters.
![MTC Сombo](https://c.mql5.com/i/code/expert.png)
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.