I wanted to create an algorithm that looked at the past 50 day average and the past 200 day average. The algorithm would trade if the 50 day average was greater than the 200 day average. I don't think this is a novel idea, I just wanted to try create my first attempt. Did I do it right, and why does it say the return is so high?
Thanks,
Milap