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

This Expert Advisor is rewritten from MQL4 that was originally published here https://www.mql5.com/en/code/7746 by its author George-on-Don.

How It Works 

The entry point lies at the intersection of two МАs and a concurrent intersection of the zero line by CCI. The exit lies at the reverse intersection of two МАs. The image below shows the entry into a sell position, the signal bar marked by a vertical line and the exit at the reverse intersection of two MAs.

 

Additionally, the Stop Loss is used at the value determined by the ATR indicator. The original version made use of ATR from the forming bar, whereas this Expert Advisor uses the first completed bar. 

If the trades are losing, the volume of new positions can be reduced in proportion to the number of losing trades. The more consecutive losing trades, the smaller the lot. If the trades are winning, the Expert Advisor keeps trading the initial lot size. The Initial lot can be constant or proportional to the available funds.

Parameters

  • FMa - fast MA period.
  • SMa - slow МА period.
  • PCCi - CCI period.
  • pATR - ATR period for Stop Loss.
  • Lots - order volume; when 0, the MaxR parameter is used;
  • SndMl - sends messages by e-mail when the Expert Advisor opens and closes positions.
  • DcF - lot reduction factor at losses. If the value is 0, the reduction is not carried out. The lower the value, the greater the lot reduction. If the lot cannot be reduced, the minimum lot is used.
  • MaxR - maximum risk from 0-1 (share of free funds). It is effective when Lots value is 0.

Note

Simple MAs are used on the closing price. CCI is calculated on the closing price. Only indicator periods can be changed in the window of properties.

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

TradeChannel TradeChannel

The Expert Advisor based on the price channel

Gann_Multi_Trend Gann_Multi_Trend

The indicator of the Micro, Middle and Main Trends

Fast Trading Panel Fast Trading Panel

Fast Trading Panel - the panel for fast trading

Color ZigZag Color ZigZag

Multicolor modification of Fast ZigZag.