I think you can try using Moving Average trailing stop.
In the case when you want to go long you have to apply Moving Average to low and 1
In the case when you want to go short you have apply Moving Average to high and 1
Hope this helps
Those EAs were created for our forum so the original post is here:
https://www.mql5.com/en/forum/175843/page2
and the thread is here:

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Does anyone know of an EA that will move the stop after each candle formation ?
I would like to have my stop moved to the low of the previous candle in a short position and to the high of the previous candle in a long position.