Gap up & GAp down trading strategy in Zerodha pi

hi all,

can anyone tell me the how to code Gap up & GAp down trading strategy in Zerodha pi i.e. using trade script

If the GAPS are referring to Daily candles, it is not supported on Pi at the moment