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

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