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

Real author:

EarnForex.com

This indicator was created by E.Coppock and was first used back in 1960s. It was first published in Barron's magazine. The indicator wasn't created for some investment fund, but at the request of Episcopal Church for long-term investments.

Formula:

Coppock(t) = EMA(w,t)[ROC(l,t) + ROC(s,t)]

where:

  • EMA(w,t) — Exponential Moving Average by 'w' periods;
  • ROC(l,t) + ROC(s,t) — sum of price change rate indicators for l — long and s — short periods.

Trading:

This indicator is a Moving Average for 10-month sum of 14- and 11-month ROC indicators. A signal for opening a position appears after the indicator changes direction. You can also open long positions when the histogram crosses the zero level upwards, and short positions when downwards.

The author of «The Encyclopedia of Technical Market Indicators» recommended to use the 5-period Exponential Moving Average along with the Coppock indicator. If EMA escapes the histogram downwards, then you can sell, otherwise, you can buy.

Input parameters:

input uint ROC1Period = 14;
input uint ROC2Period = 11;
input uint SmoothPeriod=3; // Signal line smoothing period
input ENUM_MA_METHOD MA_Method_=MODE_SMA; // Signal line averaging method
input Applied_price_ AppliedPrice=PRICE_CLOSE_;// Price constant

Indicator uses the СMoving_Average class of the SmoothAlgorithms.mqh library. Working with that class was described in details in the article "Averaging Price Series for Intermediate Calculations Without Using Additional Buffers".

Originally this indicator has been written in MQL4 and was first published in the Code Base on 03.06.2015.

Fig.1. The CoppockHist indicator

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

CenterOfGravityOSMA_HTF CenterOfGravityOSMA_HTF

The CenterOfGravityOSMA indicator with the timeframe selection option available in the input parameters.

CenterOfGravityOSMA CenterOfGravityOSMA

The Center of Gravity J. F. Ehlers indicator represented by a colored OSMA histogram.

CoppockHist_HTF CoppockHist_HTF

The CoppockHist indicator with the timeframe selection option available in the input parameters.

ColorZeroLAG_MA ColorZeroLAG_MA

The ZeroLAG MA indicator is a Moving Average with zero lag.