I was wondering if someone could help me code a strategy. Shouldn't be to terribly difficult but I can't seem to get it working. It would consist of a simple moving average, market cap, and 52 week market high. If specific parameters are met it would buy and hold for a week.

Let me know if you are interested. If I'm correct the results will be pretty nice.