hh:=valuewhen(time=103000,hhv(h,todaybar));
zf:=(hhv(h,todaybar)-ref(c,1))/ref(c,1);
if time>103000 and zf>0.03 and h>hh then buy(holding=0,100,market);