Need scanner code for Opening range breakout of second candle at LTP

please someone write scanner code for opening range breakout of second candle , 15 min chart, and at LTP. The moment LTP (last trading price) crosses above or below the range scanner must give signal.

thank you

For the range breakout you can use the below given tradescript code

MAX(CLOSE, 50) < CLOSE * 1.01 AND
MIN(CLOSE, 50) > CLOSE * 0.98

Hi, It says, it generated an error. Could you please help ?