First of all, we have to identify the trending range, or the trading channel, whose breakout we are going to trade. For this purpose we used a digital filter. A novel feature of such approach is that the EA does not use bars of the price on any timeframe but filters the incoming price tick-by-tick. Because of this, the trading results do not depend to which timeframe EA is attached.