Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Moving averages SMA_10 days-SMA_30 days

Hello guys!
Please look at my simple algorithm based on the Simple Moving Averages . Idea is basic: If 10 days MA line crosses the 30 days MA line from below and is 1 % higher, then we buy the stock. Then close our position once the lines intersect again.
It seems that this strategy could work with particular types of stock.
Any advices and suggestions on how to modify this strategy are welcome!
Thanks in advance!