A:=vol*C; B:=SUM(A,1)/SUM(VOL,1);
B1:=EMA(B,17);
资金:=(B-B1)*100/B;
DIFF:=EMA(资金,12)-EMA(资金,26);
DEA:=EMA(DIFF,9);
A1:=BArslAST(REF(crOSS(DIFF,DEA),1));
底背:=REF(CLOSE,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1)AND CROSS(DIFF,DEA);
底背离:底背;
A:=vol*C; B:=SUM(A,1)/SUM(VOL,1);
B1:=EMA(B,17);
资金:=(B-B1)*100/B;
DIFF:=EMA(资金,12)-EMA(资金,26);
DEA:=EMA(DIFF,9);
A1:=BArslAST(REF(crOSS(DIFF,DEA),1));
底背:=REF(CLOSE,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1)AND CROSS(DIFF,DEA);
底背离:底背;