I found the reason why I got very strange results with this EA on h1 timeframe (two orders was opened and closed within 1 minutes). And it was not backtesting. It was live testing on demo (forward test).
Thanks Codersguru for the lessons.
Thus I changed something in the code and we may select timeframe, working hours and Ichimoku setting (Tenkan_sen, Kijun_sen and Senkou_Span_B).
Everything about Ichimoku settings you may find
here
Codersguru may check my coding for any mistakes and everybody can play with timeframe, Ichimoku settings and working hours to find the right settings for any timeframe except H4. For H4 this EA is very good and nothing can be changed for h4 timeframe. May be H1 is ok as well.