당사 팬 페이지에 가입하십시오
starter - MetaTrader 5용 expert
- 조회수:
- 6237
- 평가:
- 게시됨:
- 2012.11.21 11:17
- 업데이트됨:
- 2016.11.22 07:32
- 이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동
The Expert Advisor developed by unknown author is rewritten from MQL4 and was originally published here https://www.mql5.com/en/code/8515 by Collector.
The operation of the Expert Advisor requires the use of the Laguerre indicator.
How It Works
Laguerre is equal to 0, МА is moving upward, CCI is below the level - a buy signal. Laguerre is equal to 1, МА is moving downward, CCI is above the level - a sell signal.
The lot size for positions to be opened can be fixed or proportional to free margin. In case of losing trades the position volume can be reduced.
A position is closed when Laguerre goes in the opposite direction. A buy position closes at a value greater than 0.9 and a sell position closes at a value less than 0.1.
A Stop Loss and Take Profit can be set for an opening position. Instead of real Stop Loss and Take Profit, positions can be closed upon reaching a set loss or profit.
The image below shows the performance of the Expert Advisor in the strategy tester's visual mode.
Parameters
- Lots - Lot; if the value is 0, MaximumRisk value is used.
- MaximumRisk - Risk (it is used if Lots=0).
- DecreaseFactor - Lot reduction factor after losing trades. 0 - reduction disabled. The smaller the value, the greater the reduction. Where it is impossible to reduce the lot size, the minimum lot position is opened.
- StopLoss - Stop Loss in points; 0 - no Stop Loss.
- TakeProfit - Take Profit in points; 0 - no Take Profit.
- VirtualSLTP - Stop Loss and Take Profit are not set. Instead, a position is closed upon reaching loss or profit as specified in the StopLoss and TakeProfit parameters.
- LagGamma - Laguerre indicator parameter.
- CCIPeriod - CCI period.
- CCIPrice - CCI price.
- CCILevel - CCI level.
- MAPeriod - MA period.
- MAShift - MA shift.
- MAMethod - MA method.
- MAPrice - MA price.
- Shift - The bar on which the indicator values are checked: 0 - new forming bar, 1 - first completed bar.
MetaQuotes Ltd에서 러시아어로 번역함.
원본 코드: https://www.mql5.com/ru/code/1087
The Expert Advisor opens a position at the specified time in the direction opposite to that of yesterday's daily bar.
Divergence TraderThe Expert Advisor operating based on divergence of two moving averages.
The trading system based on the change in the direction of a universal Bezier curve.
Exp_BBSqueezeThe trading system based on the signals obtained from the BBSqueeze signal indicator.