Make all the settings match those given in the PDF.
Well, a system this simple and mechanical cries out for an EA, so I'll whip one up. Should work well for backtesting too. EDIT: I'd like to see some examples so i can be sure I interpret your rules correctly.