In this post we are going to backtest a simple trend trading strategy. This simple trend trading strategy entails calculating the difference between 42 period SMA and 252 period SMA and then going long/short if the difference is greater than or lower than a certain regime variable SD. USD was on a roller coaster after… Continue reading 42-252 SMA Trend Trading Strategy Python Code