Below you can find the backtest and code from the 7th part of my algorithmic trading video series. Simply click the "Clone Algorithm" button to copy the code and play around with it yourself.

If you're new to the series, you can get an overview of all the videos here.

Let me know if you have any questions or comments.