aax:tholding,linethick0; bbx:=extgbdata('quanju'); if bbx>0 then buy(barpos=datacount-1,bbx,thisclose); if bbx<0 then buyshort(barpos=datacount-1,-bbx,thisclose); if aax>0 then begin SELL ( pd ,1,THISCLOSE); //???à end if aax<0 then begin SELLSHORT( pk ,1,THISCLOSE); //???? end if islastbar then extgbdataset('quanju',aax);