CoppockCurve

Calculates the CoppockCurve indicator.

Accepts the following parameters:

Parameter NameTypeDefault ValueNotes
applyToSeries<Number>
close
-
fastPeriodNumber11-
slowPeriodNumber14-
WMAPeriodNumber10-

Returns: Series<Number>

CoppockCurve is a built-in function - you can use it directly. Below is an example implementation:

12
function CoppockCurve(applyTo = close, fastPeriod = 11, slowPeriod = 14, WMAPeriod = 10):
WMA(ROC(applyTo, fastPeriod) + ROC(applyTo, slowPeriod), WMAPeriod)