|
Lean
$LEAN_TAG$
|
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...
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... | |
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.
| QuantConnect.Indicators.CoppockCurve.CoppockCurve | ( | ) |
Initializes a new instance of the CoppockCurve indicator with its default values.
Definition at line 44 of file CoppockCurve.cs.
| QuantConnect.Indicators.CoppockCurve.CoppockCurve | ( | int | shortRocPeriod, |
| int | longRocPeriod, | ||
| int | lwmaPeriod | ||
| ) |
Initializes a new instance of the CoppockCurve indicator
| shortRocPeriod | The period for the short ROC |
| longRocPeriod | The period for the long ROC |
| lwmaPeriod | The period for the LWMA |
Definition at line 55 of file CoppockCurve.cs.
| QuantConnect.Indicators.CoppockCurve.CoppockCurve | ( | string | name, |
| int | shortRocPeriod, | ||
| int | longRocPeriod, | ||
| int | lwmaPeriod | ||
| ) |
Initializes a new instance of the CoppockCurve indicator
| name | A name for the indicator |
| shortRocPeriod | The period for the short ROC |
| longRocPeriod | The period for the long ROC |
| lwmaPeriod | The period for the LWMA |
Definition at line 67 of file CoppockCurve.cs.
| override void QuantConnect.Indicators.CoppockCurve.Reset | ( | ) |
Resets this indicator to its initial state
Definition at line 83 of file CoppockCurve.cs.
|
protected |
Computes the next value of this indicator from the given state
| input | The input given to the indicator |
Definition at line 96 of file CoppockCurve.cs.
| 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.
|
get |
Required period, in data points, for the indicator to be ready and fully initialized.
Definition at line 39 of file CoppockCurve.cs.