거래 로봇을 무료로 다운로드 하는 법을 시청해보세요
당사를 Facebook에서 찾아주십시오!
당사 팬 페이지에 가입하십시오
스크립트가 흥미로우신가요?
그렇다면 링크 to it -
하셔서 다른 이들이 평가할 수 있도록 해보세요
스크립트가 마음에 드시나요? MetaTrader 5 터미널에서 시도해보십시오
조회수:
6028
평가:
(24)
게시됨:
2012.11.21 11:17
업데이트됨:
2016.11.22 07:32
starter.mq5 (16.33 KB) 조회
이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

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

SHE_kanskigor SHE_kanskigor

The Expert Advisor opens a position at the specified time in the direction opposite to that of yesterday's daily bar.

Divergence Trader Divergence Trader

The Expert Advisor operating based on divergence of two moving averages.

Exp_Bezier Exp_Bezier

The trading system based on the change in the direction of a universal Bezier curve.

Exp_BBSqueeze Exp_BBSqueeze

The trading system based on the signals obtained from the BBSqueeze signal indicator.