Well guys, i'm posting this strategy here and maybe with your help, we can find if its good and the best values and markets for this.
It checks the EMA9 with 1hr candles and see if the last tick is above or below on each trade, to find the barrier sign.
After defining the barrier, on the watch block. If the tick is higher then the upperTrendLine + 1, it breaks the resistance level, so the bot assumes that it will go up. The same for the lowerTrendLine -1 when it breaks the support level and go down.
It have a nice calculation and in my tests I got the values correctly. My problem with this is the candle time, EMA value, Duration and the period of each trendline. Along with this ideia, this strategy will sell at market when the duration of the trade is more then 50min (3000 seconds), is positive and didn't hit the barriers. If you change the duration, change this number to 80-85% of the duration (in seconds)
The config below is the best one yet in my tests. No martingale.
Can you guys try with other configurations and see if this is a good one?

trendline v7.xml.zip