here is another strategy I have coded for swing trading.
The backtesting results are quite good, it is not repainting.
Risk reward is always applied, good risk management is fundamental for a good strategy.
Feel free to ask me any questions through the link below.
This is not trading advice, trade at your own risk.