The entry is the open of the 5-minute candle after the breakout candle. You cannot fill at a close you only see after it happens, so the entry is the next candle's open. If the breakout candle closes above the range, you go long at that open; below the range, short.
For education only. Nothing here is financial advice, and trading involves risk.