@Alireza76n
There is far not enough instructions about your needed strategy but, I can buy you some time.
Here is a channeling auto draw tool(double trend lines): https://fxdreema.com/forum/topic/12875/auto-channeling-draw/17?_=1688810089513
I let you add buy/sell blocks the way you want so you can backtest it and see that trend lines based strategies don't work.