Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Above SPY performance with 0.80 Sharpe and Max drawdown of 23.2% since 2007

I'm starting to like this strategy as it seems quite stable (especially with stable securities as well).

It seems to perform well even when backtesting before the 2008 crash, however the strategy seems counterintuitive since it buys when MACD is below signal and sells when MACD is above signal, and I can't really explain that unless I'm misunderstanding something.

Also, the Volume KAMA signal seems to avoid trading if the market is not showing above-MA activity, i.e. we only buy or sell when the volume is above the volume's KAMA with a period of 7 days. This seems to work best as well as 12 days. Something to do with the fact that it analyses the previous' week activity?

I still need to add slippage and broker's fees to make this more realistic, but I'm still working out how to do it.

Also many thanks to Gary Hawkins for helping me out materialize this strat!

EDIT: Thinking on adding RSI to reduce volatility and maybe moving around MACD parameters, although since this start seems to "go with the flow" maybe changing MACD params will make things worse. Will need to test it out.