Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
New Coder in Need of Assistance Implementing Strategy

I want to build an algorithm that will trade based on the cross over of a 5 day and 15 day exponential moving average (EMA) every minute, for every listed security with equal weight, simultaneously. For example, when the 5D EMA of a stock goes above its 15D EMA, buy, and vice versa for every stock at once. My coding skills are pretty poor and I can't seem to figure out how to make this work (even though I've invested a few days into reading into the subject). Any help would be greatly appreciated. Thanks!