if l<ref(llv(l,30*60),1)-3 then begin
sell(1,0,market);
buyshort(holding=0,1,market);
end
if h>ref(hhv(h,30*60),1)+3 then begin
sellshort(1,0,market);
buy(holding=0,1,market);
end
if holding>0 and h-enterprice>10 and (hhv(openprofit,enterbars+1)-openprofit)/hhv(openprofit,enterbars+1)>0.3 then sell(1,0,market);
if holding<0 and enterprice-l>10 and (hhv(openprofit,enterbars+1)-openprofit)/hhv(openprofit,enterbars+1)>0.3 then sellshort(1,0,market);
测试的时候无数据??