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

Idea by: Scriptor.

MQL5 code by: barabashkakvn.

The EA trades on the signals of indicators iCCI (Commodity Channel Index, CCI) and iAO (Awesome Oscillator, AO). It also considers the current Open prices from bar #0 through bar #5, the prices of bar #1 on D1, and the Close price of bar #1 on H1.

Inputs

  • Lots - position volume
  • Stop Loss (in pips) - Stop Loss
  • Take Profit (in pips) - Take Profit
  • Trailing Stop (in pips) - trailing
  • Trailing Step (in pips) - trailing step

//--- CCI - parameters of indicator CCI

  • CCI: averaging period 
  • CCI: type of price 

//---

  • Check for too-big candlesticks (n "-" n-1) - protection against a too big candlestick (candlesticks N and N-1 are compared)
  • Check for too-big candlesticks (n "-" n-2) - protection against a too big candlestick (candlesticks N and N-2)
  • set to 1 if you want to get the cangle close 0 for current - initial bar number

//---

  • magic number

Testing in the "All ticks" mode for all symbols in Market Watch:

Symbol Pass Result Profit Expected Payoff Profit Factor Recovery Factor Sharpe Ratio Custom Equity DD % Trades
USDCAD 5 3271.70 271.70 0.91 1.16 0.73 0.05 0 11.13 297
USDCHF 3 3145.29 145.29 0.78 1.10 0.35 0.04 0 13.84 186
GBPUSD 2 3015.10 15.10 0.05 1.01 0.02 0.01 0 16.90 308
EURUSD 0 3012.18 12.18 0.05 1.01 0.04 0.01 0 9.12 263
EURCAD 9 3008.58 8.58 0.02 1.00 0.02 0.00 0 11.59 382
USDRUB 12 3000.00 0.00 0.00
0.00 0.00 0 0.00 0
NZDUSD 13 2989.06 -10.94 -0.06 0.99 -0.03 0.00 0 12.47 176
USDJPY 1 2977.87 -22.13 -0.11 0.99 -0.06 0.00 0 12.33 195
EURJPY 8 2867.50 -132.50 -0.44 0.94 -0.22 -0.02 0 19.53 301
AUDUSD 4 2857.16 -142.84 -0.78 0.91 -0.24 -0.03 0 17.20 183
EURCHF 6 2853.93 -146.07 -0.88 0.90 -0.39 -0.03 0 12.12 166
GBPCHF 10 2725.23 -274.77 -0.97 0.90 -0.53 -0.03 0 17.18 283
EURGBP 7 2637.06 -362.94 -2.59 0.80 -0.70 -0.07 0 16.57 140
AUDJPY 15 2398.46 -601.54 -2.84 0.71 -0.78 -0.12 0 24.90 212
GBPJPY 14 2338.56 -661.44 -1.75 0.81 -0.77 -0.07 0 26.86 377
USDCNH 11 1401.68 -1598.32 -2.01 0.37 -1.00 -0.37 0 53.28 797

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

Exp_GStop_Tm Exp_GStop_Tm

An Expert Advisor for closing all positions, in case of the total profits on those positions exceeded the Take Profit level fixed in inputs or the total losses on those positions exceeded the Stop Loss level fixed in inputs, or where it is necessary to close all positions beyond the time interval fixed in the settings.

Exp_GTakeProfit_Tm Exp_GTakeProfit_Tm

An Expert Advisor for closing all positions, in case of the total profits on those positions exceeded the Take Profit level fixed in inputs, or where it is necessary to close all positions beyond the time interval fixed in the settings.

Ozymandias_System Ozymandias_System

An indicator that colors candlesticks going beyond channel Ozymandias.

cloud's trade 2 cloud's trade 2

Working with two indicators, Fractals and Stochastic, simultaneously, or with only one of them.