if tmp<-0.00001 then begin
sellshort(1,0,market);
buy(holding=0,1,market);
end
if tmp>0.00001 then begin
sell(1,0,market);
buyshort(holding=0,1,market);
非常感謝