Scanner for PI SOFTWARE

I want sccanner code for PI software for the following

  1. Top performing index at 9.40 am

( pickup stock with top gainer 1, top loser 1 )

  1. Worst performing index at 9.40 am

( pickup stock with top gainer 1, top loser 1 )

  1. OPEN = HIGH Top One stock at 9.40 am

  2. OPEN = LOW Top One stock at 9.40 am

  3. Top Gainer One stock at 9.40 am

  4. Top Loser One stock at 9.40 am

The above filters based on specific time of the day cannot be programmed on Zerodha Pi.