input:x(20,1,100,1);
xhigh:=ref(hhv(high,x),1);
kd:=high>xhigh and holding<=0;
开多:buy(kd and holding=0, 1,market);
if l<enterprice-8 then
begin
sell(1,0,market);
endl
if l<hhv(h,enterbars+1)-20 then
begin
sell(1,0,MARKET);
end;
input:x(20,1,100,1);
xhigh:=ref(hhv(high,x),1);
kd:=high>xhigh and holding<=0;
开多:buy(kd and holding=0, 1,market);
if l<enterprice-8 then
begin
sell(1,0,market);
end
if l<hhv(h,enterbars+1)-20 then
begin
sell(1,0,MARKET);
end;
意思是编译没通过吗?上面改了后可以了