You may get better results if you add Bollinger Bands (20,2) and require that the middle band (SMA 20) turn in direction of trade; this militates against premature entries.
For additional assurance, add Ichimoku (7,22,44), kumo (the cloud) only, and require that trade occur on correct side of...