i'm not profitable with this strategy. tested gold, D1-H4. period 2024-06, result -9 RR. image
here's simple indicator for tradingview with described rules file and screenshot of potential trades. image if i understand rules correctly.