请教!高手,谢了!BEGIN IF DATAPERIOD=0 THEN minbi:="fbase.var2#min1"; IF DATAPERIOD=1 THEN minbi:="fbase.var2#min5"; IF DATAPERIOD=2 THEN minbi:="fbase.var2#min30"; IF DATAPERIOD=3 THEN minbi:="fbase.var2#min60"; IF DATAPERIOD=4 THEN minbi:="fbase.var2#day"; IF DATAPERIOD=5 THEN minbi:="fbase.var2#day"; IF DATAPERIOD=6 THEN minbi:="fbase.var2#week"; IF DATAPERIOD=7 THEN minbi:="fbase.var2#month"; IF DATAPERIOD=8 THEN minbi:="fbase.var2#year"; var001:="fbase.var2#min30"; IF datatype=3 THEN var001:="fbase.var2#min60"; IF datatype=4 THEN var001:="fbase.var2#day"; var1:="chzhshch@kxian"; var2:="chzhshch@bi";处理笔关系 var3:="chzhshch@tongji"(minbi);同级别分解 zg:="chzhshch@zg"(var3);//一定要先调用ZG zd:="chzhshch@zd"(var3); var1:="chzhshch@kxian"; var2:="chzhshch@bi"; var4:=BARSLAST(var001<>0); tj1:=REF(var001,var2)=-1; //上级别是底 var5:=SUM(ABS(var2),var2); tj2:=var5=1; //第一个回调才算 tj3:=COUNT(ABS(var3),BARSLAST(var3=-1))=0; zswz:=BARSLAST(zg>zd); tj4:=COUNT(zg>zd,BARSLAST(var3=-1))>0; tj5:=COUNT(var2=1,BARSLAST(var2=-1))=1; tj6:=COUNT(var2=1,zswz-1)=1; tj7:=REF(L,BARSLAST(var2=1))>REF(zg,BARSLAST(zg>zd)); NOT(zg>zd)&&tj3&&tj4&&tj5&&tj6&&tj7; END; 输入后,显示