I know, I don't respect the rules but it's difficult to provide a backtest.
It's just a simple thought because this system is very profitable for me in manual.
If you don't like, you can delete this thread
Only an indy : Slope Direction Line and 2 periods 140 and 12 (exactly 140,3,0 and 12,3,0 )
Rules: the 12 SDL opens a trade only if 140 SDL is in agrement.
If 140 SDL is blue, only the blue 12 SDL trades are taken ( not the red )
If 140 SDL is red , only the red 12 SDL trades are taken ( not the blue )
I use it in M5. It can be used with another TF.
If this system is suitable for you, I think an EA is very easy.
BUY when the 2 SDL are blue and exit at change color
SELL when the 2 SDL are red and exit at change color
No SL, no TP.
Of course, the SDL periods can be programmed but 140 and 12 are working fine for me.