I have been trying to develop an algorithm for a morning breakout strategy with consolidators and technical indicators but I'm getting stuck here. the code is running but not buying anything. please help!

Author