Turn a current strategy into a rule-based one, which can be more easily programed, or select a quantitative method that has already been tested and researched. Then, run your own testing phase using historic and current data. If that checks out, then run the algorithm with real money under a watchful eye.