Here is a simple MA system for you all to backtest. Just follow the slope of the curve. Create three MAs.
MA1 use coefficients [1,2,3,2,1] divided by 9 of course so it sums to unity, and center it on data point three of price.
MA2 use coefficients [1,2,2,1], divided by 6 of course, and...