Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Help with buying and selling ETF based on MACD of SPY.

Hello!

I'm a noob here. I've been buying and selling two inversely traded ETFs based on the MACD of the SPY on a 4 hour chart.

A negative MACD indicator for the SPY tells me to buy the bear ETF and sell the bull ETF, a positive MACD indicator for the SPY tells me to buy the bull ETF and sell the bear ETF.

I've been attempting to represent that in a model.

Can anyone take a look at the model I've put together and give me any suggestions?

I'm also happy to work with someone to create this model. I've been pretty successful day-trading this model but would like to automate it.

Thanks!