Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Decision Point Trend Model Algo *Need Help*

Hello Community,

I recently read up on trading model: DecisionPoint Trend and wanted to create an algo based on the underlying study. In doing so, I am running into an issue where I want it to anaylze an entire US equities population (Not just: AAPL,GOOG,TSLA,AMZN,ADBE & MSFT) which meet the following criteria. Any assistance is greatly appreciated.
Also, want to use only cash available to purchase securities and track when they fill or cancel (both buy and sell confirms)
BUY WHEN:
On a monthly timeframe
1) 6-EMA is above the 10-EMA
On a weekly timeframe
2) 17-EMA is above the 43-EMA
On a daily timeframe
3) 20-EMA is above the 50-EMA
4) STOCH OSC = below 20

Sell WHEN:
On a monthly timeframe
1) 6-EMA is below the 10-EMA
On a weekly timeframe
2) 17-EMA is below the 43-EMA
On a daily timeframe
3) 20-EMA is below the 50-EMA
4) STOCH OSC = above 80

1 response

any feedback out there to help a fella out?