额:AMOUNT/100000000,VOLSTICK,COLORFF00FF;
VAR1:=AMOUNT/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
DRAWTEXTABS,linethick1,COLOR00EEff;
流入亿:IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),AMOUNT/2))/100000000,COLORRED,LINETHICK0;
流出亿:IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR1*(HIGH-LOW),0-AMOUNT/2))/100000000,COLORMAGENTA,LINETHICK0;
差亿:流入亿+流出亿,COLORFFFF00,LINETHICK0;
净:=EMA(EMA(差亿,2),2);
净1:=EMA(净,2);
流:=EMA(净1,7);
净流:=3*EMA(净1+流,2);
净流入率:差亿/额*100;
连续流入:COUNT(差亿>0,30)*10-150,COLORBLUE,LINETHICK1;