Gap up opener with high volume

how to write code for gap up opener with high volume(>250000)

check my reply for the similar question from this Link