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

This Expert Advisor is rewritten from MQL4 and was originally published here https://www.mql5.com/en/code/8079 by its author Olek.  

How It Works

The operation of the Expert Advisor is based on exponential (EMA) and linear weighted (LWMA) moving averages. A buy position opens when EMA is above LWMA, while both MA's are going upward. A sell position opens when EMA is below LWMA, while both MA's are going downward.

When EMA gets lower than LWMA, a buy position is closed. When EMA gets higher than LWMA, a sell position is closed.

The lot size for positions to be opened can be fixed or proportional to free margin. There is an additional function to reduce the lot size at losses - the more consecutive losing trades, the smaller the lot size.

The image below shows the performance of the Expert Advisor in the strategy tester's visual mode.

 


Parameters

  • MovingPeriod - Smoothing period.
  • MaximumRisk - Risk (it is used if Lots=0).
  • Lots - Lot.
  • 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.

MetaQuotes Ltd에서 러시아어로 번역함.
원본 코드: https://www.mql5.com/ru/code/1076

TrendCapture TrendCapture

The Expert Advisor operating based on the SAR and ADX indicators where the permitted trade direction is selected based on trade results.

iClose_HTF iClose_HTF

The iClose_HTF indicator plots a zigzag based on closing prices of a time frame specified in the input parameters.

up3x1 up3x1

The Expert Advisor based on three moving averages and exit using Stop Loss or Take Profit. It sets up a market entry upon the conclusion of a trend on the trend reversal.

Trade_Time Trade_Time

This indicator draws a period of operation that specifies trade start time and trade stop time.