당사 팬 페이지에 가입하십시오
- 게시자:
- Vladimir Karputov
- 조회수:
- 4681
- 평가:
- 게시됨:
- 2017.11.03 12:32
- 업데이트됨:
- 2018.02.28 10:33
-
이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동
The author of the idea: John Smith, the mq5 code author: barabashkakvn.
The EA trades using the signals of the following indicators: iStdDev (two indicators), iMACD, iCCI, iATR.
Indicators parameters:
handle_iStdDev_20=iStdDev(m_symbol.Name(), PERIOD_H4, 20,0,MODE_SMA,PRICE_CLOSE); handle_iStdDev_30=iStdDev(m_symbol.Name(), PERIOD_H4, 30,0,MODE_EMA,PRICE_CLOSE); handle_iCCI =iCCI(m_symbol.Name(), PERIOD_H4, CCIPeriod,PRICE_CLOSE); handle_iMACD =iMACD(m_symbol.Name(), PERIOD_M15, M_FastEMA,M_SlowEMA,M_Signal,PRICE_CLOSE); handle_iATR =iATR(m_symbol.Name(), PERIOD_M15, 12);
As you can see, the timeframes of indicator are hard-coded, there are no input parameters for them.
Also, data of bar open and close prices from timeframe M15 are used in the code:
double iClose1 = iClose(1,m_symbol.Name(),PERIOD_M15); double iOpen1 = iOpen(1,m_symbol.Name(),PERIOD_M15);
The Expert Advisor trails positions and moves them to breakeven if possible.
MetaQuotes Ltd에서 러시아어로 번역함.
원본 코드: https://www.mql5.com/ru/code/19095

Opening and closing positions at a specified time.

The Expert Advisor sets pending Buy Stop and Sell Stop order at a specified time.

The МТ45 Expert Advisor is based on the Martingale strategy. It is designed for trading in the МetaТrader 4 and МetaТrader 5 terminals.

The Expert Advisor trades based on the i-Regr indicator signals.