fixed length moving average
i am facing problem in generating signals in fixed length moving average, and also how i can generate formula to hold returns for 10 days after first buy or sell signal is generated.
I will be highly greatful if you help me.