Need Codes for opening range breakout strategy

Anybody have this code
Lets a trending range is established …like stocks moves upward and than downward or vise versa and then this trending range breaks out with heavy volume as sown in image

This strategy is not code-able on Tradescript, please use Amibroker for achieving this.