Coppock Curve

← strategies

Strategy

Methodology

This strategy is backtested on daily OHLCV price data across major US equity indices and ETFs. Entry and exit signals are generated from the strategy's indicators with no lookahead bias — trades execute at the open of the bar following the signal.

Performance metrics are computed per symbol and shown individually. The parameter optimization section (where available) runs a grid search over the strategy's key parameters, optimizing for Sharpe ratio. Transaction costs and slippage are not modeled.

The signal logic and indicator code for this strategy is shown in the methodology code section below.

Methodology

Coppock Curve sums two ROC periods and smooths with a weighted MA. Originally designed for monthly data to identify long-term bull market entries. Enters long when the curve crosses above zero.

Implementation

class CoppockCurve(Strategy):
    n1 = 11; n2 = 14; n3 = 10

    def init(self):
        c = pd.Series(self.data.Close)
        coppock = (c.pct_change(self.n1) + c.pct_change(self.n2)).ewm(span=self.n3, adjust=False).mean() * 100
        self.coppock = self.I(lambda: coppock, name="Coppock")

    def next(self):
        if self.coppock[-1] > 0 and self.coppock[-2] <= 0 and not self.position:
            self.buy()
        elif self.coppock[-1] < 0 and self.position:
            self.position.close()

Performance metrics

Total return+9.704%
Net profit$97,037
Gross profit$481,973
Gross loss$376,854
CAGR+1.589%
Annualized return+1.589%
Monthly average return+0.174%
Median monthly return+0.277%
Best month return+8.671%
Worst month return-7.905%
Rolling 1-month return+15.003%
Return per trade+0.408
Log return CAGR+24.845%
Compounded vs simple return difference-6.726%

Equity curves

Chart for symbol:

Charts & distributions

2024-10 → 2026-04 · 5-year daily data

Equity curve vs ^GSPC — buy/sell signals

Strategy equityIndex (normalized)▲ Buy▼ Sell

16 trades · green dashes = buy entries · red dashes = sell exits

Drawdown (underwater)

Rolling 1-month Sharpe

Rolling 1-month return (%)

Period return (≈ monthly)

Return distribution (bar returns)

MAE vs MFE (trades)

Rolling 12m Beta

Rolling 12m correlation

Monthly returns (run)

Performance Matrix

Total return+18.742%
Net profit$187,420
Gross profit$501,230
Gross loss$303,400
CAGR+5.301%
Annualized return+5.301%
Monthly average return+0.452%
Median monthly return+3.319%
Best month return+10.993%
Worst month return-11.256%
Rolling 1-month return+16.047%
Return per trade+1.081
Log return CAGR+22.491%
Compounded vs simple return difference-10.359%