coppock
Coppock curve
Reference/Oscillators/Function
coppock(source)
WMA of two long ROCs. Typically monthly; on intraday it is just a slow momentum line. Uses close if you omit the series. Short form `coppock(14)` uses close.
Parameters
| Name | Type | Description |
|---|---|---|
sourceoptional | series default close | Series to use. Omit it when the first argument is a number — ema(9) means ema(close, 9). |
length | int default 14 | Lookback in bars. Default 14. |
Return value
series
Short form: if the first argument is a number, Dovee uses close as the source.
Example
oscillator plot coppock() as "Coppock" level 0 as "Zero" gray when coppock() crosses above 0 then buy