Thanks for sharing this! I love the simplicity of it. A brick size of 30, Length 27 and back_bars 2 seems to work well for XBTUSD on a 1 min chart. I've been trying to create a strategy from the code without much success. I'd love to see one to allow some back testing estimates - is it something you could do easily?