VAR1:=AMOUNT/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
流入亿:IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),AMOUNT/2))/100000000,COLORRED,NODRAW;
流出亿:IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR1*(HIGH-LOW),0-AMOUNT/2))/100000000,COLOR00FF00,NODRAW;
差:(流入亿+流出亿),NODRAW;
动态市盈:C/FINANCE(33),COLOR16CDEC,LINETHICK0 ,NODRAW;
杭州龙:=XMA(XMA(XMA(EMA(CLOSE,1),2),2),2);
庄影难逃:=EMA((杭州龙-REF(杭州龙,1))/REF(杭州龙,1),1)*1000,COLORFF00FF,NODRAW;
净:=XMA(庄影难逃,11);
流:=EMA(净,11);
净流:=EMA(净+流,1);
换手:=EMA(净流/CAPITAL,1)*100,NODRAW;
日净入:=2*(净流),NODRAW,COLORMAGENTA;
STICKLINE(日净入>0,0,日净入,3,0),COLOR0000BB;
STICKLINE(日净入>0,0,日净入,2,0),COLOR0000DD;
STICKLINE(日净入>0,0,日净入,1,0),COLOR0000FF;
STICKLINE(日净入<0,0,日净入,2,0),COLOR00FF00;
STICKLINE(换手>0,净流, 日净入, 2,1) ,COLOR00FF00;