After countless revisions, this is the version of the code I’m happiest with. The signals are clear and straightforward, and the win rate is high. Anyone interested?