Table of Contents

Class CoppockCurve

Namespace
FinanceSharp.Indicators
Assembly
FinanceSharp.dll

A momentum indicator developed by Edwin “Sedge” Coppock in October 1965. The goal of this indicator is to identify long-term buying opportunities in the S&P500 and Dow Industrials. Source: http://stockcharts.com/school/doku.php?id=chart_school:technical_indicators:coppock_curve

public class CoppockCurve : IndicatorBase, IIndicator, IUpdatable
Inheritance
CoppockCurve
Implements
Inherited Members
Extension Methods

Constructors

CoppockCurve()

Initializes a new instance of the CoppockCurve indicator with its default values.

public CoppockCurve()

CoppockCurve(int, int, int)

Initializes a new instance of the CoppockCurve indicator

public CoppockCurve(int shortRocPeriod, int longRocPeriod, int lwmaPeriod)

Parameters

shortRocPeriod int

The period for the short ROC

longRocPeriod int

The period for the long ROC

lwmaPeriod int

The period for the LWMA

CoppockCurve(string, int, int, int)

Initializes a new instance of the CoppockCurve indicator

public CoppockCurve(string name, int shortRocPeriod, int longRocPeriod, int lwmaPeriod)

Parameters

name string

A name for the indicator

shortRocPeriod int

The period for the short ROC

longRocPeriod int

The period for the long ROC

lwmaPeriod int

The period for the LWMA

Properties

IsReady

Gets a flag indicating when this indicator is ready and fully initialized

public override bool IsReady { get; }

Property Value

bool

WarmUpPeriod

Required period, in data points, for the indicator to be ready and fully initialized.

public override int WarmUpPeriod { get; }

Property Value

int

Methods

Forward(long, DoubleArray)

Computes the next value of this indicator from the given state

protected override DoubleArray Forward(long time, DoubleArray input)

Parameters

time long
input DoubleArray

The input given to the indicator

Returns

DoubleArray

A new value for this indicator

Reset()

Resets this indicator to its initial state

public override void Reset()