You vastly underestimate the complexity of a discretionary trader's intuition and experience. You cannot just replicate years of human experience with computer code so easily.
The stock markets are very far from a rational, perfect information game with simple rules.