If the rule to buy/sell can be made explicit enough to translate into code, then yeah. Without making mistakes though? Dunno.
Totally changed it all again by the way. Matplotlib may be versatile but it seems overly complicated so I've removed it and added my own code to do the charts and it's coming along nicely. SMA, EMA and MACD are done, working on RSI now. Should have working code up in a day or two. :-)