TradingView
RolandoSantos
8 sep 2020 07:02

Coppock Curve Strategy 

ProShares UltraPro QQQNASDAQ

Beskrivning

This strategy makes use of a not widely known technical indicator called "Coppock Curve".

The indicator is derived by taking a weighted moving average of the rate-of-change (ROC) of a market index such as the S&P 500 or a trading equivalent such as the S&P 500 SPDR ETF. For more info: (investopedia.com/articles/active-trading/031814/using-coppock-curve-generate-stock-trade-signals.asp)

This strategy uses SPY Coppock curve as a proxy to generate buy signals on other ETF's and stocks.

Buy signals are generated when the Coppock Curve crosses above zero, and sell signals are generated when it crosses below.

An optional, trailing stop loss is available, with default settings to 100% so that it does not currently affect the buy and sell signals solely generated by the Coppock Curve. But you may find adding a Trailing stop loss may improve results on certain ETF's/Stocks.

You may also change the symbol for which signals are generated for, default is SPY.

The published example shows using this strategy on a leverage ETF TQQQ w/ starting capital of 10k, w/ 10k per trade. Try it on other stocks such as AAPL, AMZN NFLX ect... I have found it to be an effective strategy that has a favorable risk to reward profile.

Any questions, please let me know!

Versionsinformation

MAJOR improvement made to this strategy, really excited for everyone!

Originally I had optional trailing %stop loss coded, but after a lot of back-testing I was finding it virtually useless. Noticing substantial % run ups, I decided to implement a % based target, and this dramatically improved results.

Default % based profit target settings are set for TQQQ exclusively. When the strat enters long, it will take 25% profit if TQQQ rises 50%. The rest will close out after Coppock Curve crosses below 0.

Win rate % has dramatically improved with this setting. Also, you can set the Take profit % tighter, say 5%... this will produce win rates over 80% which is incredible, but the win/loss ratio will be much smaller. So the options here are great for longer term and shorter term traders.

I also changed the ticker which calculates Coppock Curve from SPY to NYA as this also improved results.

Any questions, please let me know!

Versionsinformation

Accidentally changed the Default length of WMA to 50, from 10. I reset it, however, I added a not to change the WMA to longer lengths for less trades but higher win %.

Versionsinformation

Added instructions to suggest doubling default copp settings, which can produce higher win rates, and lower trades (which may suit certain trading styles).

Also changed Copp Curve from Line to Histogram.

Versionsinformation

More instructions embedded

Versionsinformation

Couple Updates:

1. Time stamp so you can test from a different start date

2. I use this exclusively on daily time frame, but you can now switch resolution and test intraday

3. Had to change the color scheme because Indicators that don't POP just aren't as fun.
Kommentarer
spdoinkal
Really interesting script, nice work. Can this work / be made to work on crypto? I've tried it out on a couple of tickers, but not sure whether to trust the resutls, becuase the cop curve is generated by NYA.
SP500EOD
Nice work Rolando...thanks for sharing. Coppock Curve is one from the past...not really widely followed, but still timely. Best of luck.
RolandoSantos
@SP500EOD, Thanks check out the latest updates... Results are amazing, this may be hands down, one of the better stand alone indicators in the universe of indicators
SP500EOD
@RolandoSantos,

Will do. Thanks again Rolando.
tomswebins
Thanks Rolando fantastic work. Just wondering is this repainting ? Just have to be sure
vinims
@RolandoSantos I'm also curious, does this repaint? Thanks for your work legend
Claireparfait
Thank you for the Strategy! I'm a big fan of the coppock curve. Have you considered making the same code but that the trade signals occur when the curve changes it's trend? I like to trade the coppock curve not when it's crossing zero, but when it's changing trend (long only when the changes under zero, short only when it changes above zero). I wonder how the perfomance would compare.
bheem181
Best results even in crypto Thanks a ton @RolandoSantos the GOAT
melino62
Hi Rolando, very interesting for my trading. I have two questions:
1. why long only ?
2. do you think will be more profitable to have entry signals at some extremes of coppock curve (ie when reaches +/-3 and then turn) then when crossing zero line ?
Thanks for your work
calebsandfort
Really cool work Rolando! Wondering in your backtesting of TQQQ have you tried switching to SQQQ when you get a sell signal rather than going flat?
Mer