been playing around with basic algorithms, and i keep running into a lot of trouble with "deprecated" warnings for a simple moving average, basically having trouble figuring out how to write a simple moving average for 10 and 30 days in Quantopian 2.
I would really appreciate someone showing an example of how to apply the most recent moving average to a basic algorithm that that makes trades based on the crossover of 10 and 30 days. i attached a basic algo that uses the moving average which i am referring to.