Lean  $LEAN_TAG$
QuantConnect.Indicators.CoppockCurve Class Reference

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 More...

Inheritance diagram for QuantConnect.Indicators.CoppockCurve:
[legend]

Public Member Functions

 CoppockCurve ()
 Initializes a new instance of the CoppockCurve indicator with its default values. More...
 
 CoppockCurve (int shortRocPeriod, int longRocPeriod, int lwmaPeriod)
 Initializes a new instance of the CoppockCurve indicator More...
 
 CoppockCurve (string name, int shortRocPeriod, int longRocPeriod, int lwmaPeriod)
 Initializes a new instance of the CoppockCurve indicator More...
 
override void Reset ()
 Resets this indicator to its initial state More...
 

Public Attributes

override bool IsReady => _lwma.IsReady
 Gets a flag indicating when this indicator is ready and fully initialized More...
 

Protected Member Functions

override decimal ComputeNextValue (IndicatorDataPoint input)
 Computes the next value of this indicator from the given state More...
 

Properties

int WarmUpPeriod [get]
 Required period, in data points, for the indicator to be ready and fully initialized. More...
 
- Properties inherited from QuantConnect.Indicators.IIndicatorWarmUpPeriodProvider
int WarmUpPeriod [get]
 Required period, in data points, for the indicator to be ready and fully initialized. More...
 

Detailed Description

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

Definition at line 25 of file CoppockCurve.cs.

Constructor & Destructor Documentation

◆ CoppockCurve() [1/3]

QuantConnect.Indicators.CoppockCurve.CoppockCurve ( )

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

Definition at line 44 of file CoppockCurve.cs.

◆ CoppockCurve() [2/3]

QuantConnect.Indicators.CoppockCurve.CoppockCurve ( int  shortRocPeriod,
int  longRocPeriod,
int  lwmaPeriod 
)

Initializes a new instance of the CoppockCurve indicator

Parameters
shortRocPeriodThe period for the short ROC
longRocPeriodThe period for the long ROC
lwmaPeriodThe period for the LWMA

Definition at line 55 of file CoppockCurve.cs.

◆ CoppockCurve() [3/3]

QuantConnect.Indicators.CoppockCurve.CoppockCurve ( string  name,
int  shortRocPeriod,
int  longRocPeriod,
int  lwmaPeriod 
)

Initializes a new instance of the CoppockCurve indicator

Parameters
nameA name for the indicator
shortRocPeriodThe period for the short ROC
longRocPeriodThe period for the long ROC
lwmaPeriodThe period for the LWMA

Definition at line 67 of file CoppockCurve.cs.

Member Function Documentation

◆ Reset()

override void QuantConnect.Indicators.CoppockCurve.Reset ( )

Resets this indicator to its initial state

Definition at line 83 of file CoppockCurve.cs.

◆ ComputeNextValue()

override decimal QuantConnect.Indicators.CoppockCurve.ComputeNextValue ( IndicatorDataPoint  input)
protected

Computes the next value of this indicator from the given state

Parameters
inputThe input given to the indicator
Returns
A new value for this indicator

Definition at line 96 of file CoppockCurve.cs.

Member Data Documentation

◆ IsReady

override bool QuantConnect.Indicators.CoppockCurve.IsReady => _lwma.IsReady

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

Definition at line 34 of file CoppockCurve.cs.

Property Documentation

◆ WarmUpPeriod

int QuantConnect.Indicators.CoppockCurve.WarmUpPeriod
get

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

Definition at line 39 of file CoppockCurve.cs.


The documentation for this class was generated from the following file: