Opening range high breakout strategy

Please help me create the strategy:

Entry- 1st 15 min candle of the day has to be green for the stock as well as the Nifty 50 index.
The opening of the day is less than 2% gap up for the stock and the current close break the high of the first 15 min candle with a buffer of 0.10%.

Exit- 1:2 rr or low of the first 15min candle.
Entry time- 9.30 to 10.45

@Market_Monarchs Check out the image to learn how to create the above strategy: