The security function can be called 40 times in a code. We can therefore scan about 40 stocks out of NIFTY 50 stocks with a single script. This code can be modified to search for other scripts by changing the condition function condition() => open > (close[1] * 1.0025)
Only stocks which have gap up of 0.25% or more will be reported.