流入亿:=IF(CLOSE OPEN,VAR1*(HIGH-LOW),IF(CLOSE OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),AMOUNT/2))/100000000;
流出亿:=IF(CLOSE OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE OPEN,0-VAR1*(HIGH-LOW),0-AMOUNT/2))/100000000;
差亿:=流入亿+流出亿;
净:=XMA(XMA(差亿,2),2);
净1:=XMA(净,2);
流:=EMA(净1,7);
净流:=3*EMA(净1+流,1);
资金:=C A 州 REF(杭,1) 0 REF(净流,1) O;
XG:BARSLASTCOUNT(资金=1) AND ZT,COLORRED;