Winnie si este te interesa está muchísimo más fácil que el que te envié el otro día. Pero... Attention guys! This algorithm needs to check 2 indicators from 2 timeframes. Only 2 indicators, but from 2 different timeframes.
Guys I have an algorithm that seems easy to code (2 standard indicators from MT4). Trades MUST open only on new bar and close by SL, TP and ONLY IF YOU WANT to code super complicated trailing stop, I will share the trailing stop algorithm, otherwise with TP it will be perfectly fine. Only 1 trade at a time if you do it with TP and 2 trades if you want it with trailing stop. Sorry but I can't share it all in public to avoid problems with the algorithm creators, if winnie or anyone wants to code it pls msg me and we can share it with everyone by private message. Note: With this algorithm I avoid the problem of repainting. All trades open when indicators are not repainting, I'll explain that.
Also... if you want it with super complicated trailing stop, there's a medium possibility of catching medium to large movements and a small chance of pyramiding from time to time with previous profit locked. Yes, I said pyramid with previous trades with SL moved to profit before the EA opens more trades (no huge risk). First SL is small.