Code for pi scanner for supertrend indicator

Dear sir i need a code for pi scanner with following conditions.

  1. scan the scripts where the supertrend(14,3) is changed at 9:15 a.m to 9:30 am on a 15 min. chart.
  2. draw horizontal lines at high and low of above mentioned candle.
  3. give buy or sell alert on the basis of point 1 if the High and low of the first candle is not broken till 10:15 a.m.

please help me create this scanner.