당사 팬 페이지에 가입하십시오
- 게시자:
- Vladimir Karputov
- 조회수:
- 6366
- 평가:
- 게시됨:
- 2017.01.19 16:53
- 업데이트됨:
- 2018.06.15 12:15
-
이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동
Trading by i-Regr (Regression Channel):
Regression Channel: Linear Regression Channel, Quadratic (Parabolic) Regression Channel, Cubic Regression Channel.
Implemented the trend protection: if a previous day's D1 exceeds 1500 pips ("protection size D1 bar" input) – disable trading and close all open positions.
Test period: 2016.01.01 — 2016.10.26, initial deposit — 10 000, timeframe — H1:
In the below code, it is already assumed that i-Regr indicator is already in the \MQL5\Indicators\ folder:
//| Expert initialization function |
//+------------------------------------------------------------------+
int OnInit()
{
m_symbol.Name(Symbol()); // sets symbol name
m_trade.SetExpertMagicNumber(m_magic); // sets magic number
//--- create handle of the indicator i-Regr
handle_i_Regr=iCustom(Symbol(),Period(),"i-Regr",
Regr_kstd,
Regr_degree,
Regr_bars,
Regr_shift
);
//--- if the handle is not created
if(handle_i_Regr==INVALID_HANDLE)
MetaQuotes Ltd에서 러시아어로 번역함.
원본 코드: https://www.mql5.com/ru/code/16709
![AutoFibAutoTrend_Zigzag2_R](https://c.mql5.com/i/code/indicator.png)
The indicator plots price channel and Fibonacci levels based on the latest Zigzag2_R_Color peaks.
![RSI_Histogram_Round_HTF](https://c.mql5.com/i/code/indicator.png)
The RSI_Histogram_Round indicator with the timeframe selection option available in the input parameters.
![The MasterMind 2](https://c.mql5.com/i/code/expert.png)
Receive data from two indicators: iStochastic and iWPR.
![Artificial Intelligence](https://c.mql5.com/i/code/expert.png)
The Expert Advisor using artificial intelligence - a single-layer neural network. The "Perceptron" is used for identification of the quotes movement direction. Both iAC indicator and CopyTime calls are used.