거래 로봇을 무료로 다운로드 하는 법을 시청해보세요
당사를 Twitter에서 찾아주십시오!
당사 팬 페이지에 가입하십시오
당사 팬 페이지에 가입하십시오
스크립트가 마음에 드시나요? MetaTrader 5 터미널에서 시도해보십시오
- 조회수:
- 11967
- 평가:
- 게시됨:
- 2017.03.02 11:14
-
이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동
The MQL5 Wizard MACD Parabolic SAR Expert Advisor has been created using the MQL5 Wizard, on the basis of MACD (Moving Average Convergence/Divergence) signals and the Parabolic SAR trend indicator.
The Expert Advisor only works at the moment of new bar emergence:
//+------------------------------------------------------------------+
//| Inputs |
//+------------------------------------------------------------------+
//--- inputs for expert
input string Expert_Title ="MQL5 Wizard MACD"; // Document name
ulong Expert_MagicNumber =756; //
bool Expert_EveryTick =false;
//| Inputs |
//+------------------------------------------------------------------+
//--- inputs for expert
input string Expert_Title ="MQL5 Wizard MACD"; // Document name
ulong Expert_MagicNumber =756; //
bool Expert_EveryTick =false;
Входные параметры:
Variable | Value | Disclaimer |
---|---|---|
Signal threshold value to open [0...100] | 20 | A threshold value to open a position. Valid values from "0" to "100" |
Signal threshold value to close [0...100] | 100 | A threshold value to close a position. Valid values from "0" to "100" |
Price level to execute a deal | 0.0 | Distance from the current price. If "0" - open at the current price, if "-xx" - pending Stop orders will be placed, if "+xx" - pending Limit orders will be placed. |
Stop Loss level (in points) | 50.0 | The price level for Stop Loss |
Take Profit level (in points) | 115.0 | The price level for Take Profit |
Expiration of pending orders (in bars) | 5 | Pending order lifetime (in bars) |
MACD Period of fast EMA | 12 | MACD - fast EMA period |
MACD Period of slow EMA | 24 | MACD - slow EMA period |
MACD Period of averaging of difference | 9 | MACD - moving average period of the MACD indicator |
MACD Prices series | PRICE_CLOSE | MACD - type of prices used for calculations |
MACD Weight [0...1.0] | 0.9 | Weight of MACD signals |
Parabolic SAR Speed increment | 0.02 | Parabolic SAR - price change step - acceleration factor |
Parabolic SAR Maximum rate | 0.2 | Parabolic SAR - maximum step |
Parabolic SAR Weight [0...1.0] | 0.1 | Weight of Parabolic SAR signals |
Testing results on EURUSD, M15 from 2016.01.10 to 2017.01.11, initial deposit 30,000:
MetaQuotes Ltd에서 러시아어로 번역함.
원본 코드: https://www.mql5.com/ru/code/17357

The iMAs on the current period.

Two iMA indicators with hard coded periods of 3 and 7, and on iRSI indicator with the period of 2.

MACD based Expert Advisor

The XMA-XN indicator with the timeframe selection option available in the input parameters.