Coppock

Modified on 2009/07/02 19:19 by Eugene — Categorized as: Community Indicators

Syntax

public Coppock(DataSeries ds, int ROCPeriod1, int ROCPeriod2, int MAPeriod, CoppockCalculation option, string description) public static Coppock Series(DataSeries ds, int ROCPeriod1, int ROCPeriod2, int MAPeriod, CoppockCalculation option)

Parameter Description

ds The source DataSeries
ROCPeriod1 First Rate of Change period
ROCPeriod2 Second Rate of Change period
MAPeriod Moving average period
option Select between two possible Coppock formulas

Description

Coppock Curve is a long-term price momentum indicator used primarily to recognize major bottoms in the stock market. The Coppock formula was introduced in 1962 by Edwin Sedgwick Coppock. A buy signal is formed when there is an upturn in the curve after an extreme low in the curve. A sell signal is formed when there is a higher peak in stock prices but a lower peak in the Coppock curve.

Calculation

Two calculation options of the Coppock Curve are possible:

Option 1:

WMA( ROC( Series,ROCPeriod1 ) + ROC( Series,ROCPeriod2 ), MAperiod );

Option 2, from a TASC article:

WMA((SMA( Series, 22 ) / SMA( Series 250 bars ago, 22 ) - 1), 150);

Example

Currently no example available.