거래 로봇을 무료로 다운로드 하는 법을 시청해보세요
당사를 Facebook에서 찾아주십시오!
당사 팬 페이지에 가입하십시오
당사 팬 페이지에 가입하십시오
스크립트가 마음에 드시나요? MetaTrader 5 터미널에서 시도해보십시오
- 조회수:
- 4020
- 평가:
- 게시됨:
- 2017.01.19 16:56
- 업데이트됨:
- 2017.02.17 15:59
-
이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동
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
//+----------------------------------------------+
MetaQuotes Ltd에서 러시아어로 번역함.
원본 코드: https://www.mql5.com/ru/code/16759

The indicator shows the price chart of any scaling level.

Analyzing iBullsPower and iBearsPower indicators on the first bar.

This Expert Advisor closes all positions if the total profit exceeds a predefined limit.

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