Candle stick algo coding

Dear algo team ,

first let me congratulate ur team to make streak a codeless environment for front user…

my query is :
Is it possible to write/ create a algo for the whole / any part

  1. buy :

between 9:16 to 15:00 only once if price >= high of first 15 minute candle or high of last day last 15 minute candle SL 2% target 3 % (only once to avoid multiple buy)

  1. sell :

between 9:16 to 15:00 only once if price <= low of first 15 minute candle or low of last day last 15 minute candle (only once to avoid multiple sell)

kindly guide

regards

mainak