10点30开始交易。
当天最高价出现的时间在当天最低价出现之后。开多。
当天最高价出现的时间在当天最低价出现之前。开空。
hh:=callstock(stklabel,vthigh,6);
ll:=callstock(stklabel,vtlow,6);
variable:a=0,b=100000;
tt:= (time>103000 and time<145500);
if h>a then a:=h;
if l<b then b:=l;
if a=hh and b>ll then buy;
if b=ll and a<hh then buyshort;
if time >=145500 and time<150000 then begin
a:=0;
b:=100000;
end