I am trying to implement a simple ichimoku tk-cross algorithm on  4 hour chart time frame. 

Am I doing consolidation right? 

How would you make it better?