Kindly tell me script for buy and sell based on day open and low price

How can create scanner or back-testing buy script based on days same open and low price on hourly candle and vice versa.

Buy if days open and low price is same on hourly candle with 2x buy volume than sell volume.

Sell if day open and high is same on hourly candle with 2x sell volume than buy volume

Thank you

We don't have buy and sell volumes separately.

ok but is it possible to create scanner to find the stocks with same open and low price or open and high price. so, that i can trade on it