VAR2:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
买手:=IF(CLOSE>OPEN,VAR2*(HIGH-LOW),IF(CLOSE<OPEN,VAR2*(HIGH-OPEN+CLOSE-LOW),VOL/2));
卖手:=IF(CLOSE>OPEN,0-VAR2*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE<OPEN,0-VAR2*(HIGH-LOW),0-VOL/2))*(-1);
日资金:=买手-卖手;
机构:SUM(日资金,5),COLORGREEN,LINETHICK2;
机构1:SUM(日资金,15),COLORWHITE,LINETHICK0;
0;
STICKLINE(日资金<0,机构,日资金*4,2,0),COLORFF6600;
STICKLINE(日资金<0,机构,日资金*4,2,0),COLORFF9900;
STICKLINE(日资金<0,机构,日资金*4,2,0),COLORFFCC00;
STICKLINE(日资金>0,机构,日资金*4,2,0),COLOR000099;
STICKLINE(日资金>0,机构,日资金*4,2,0),COLOR0000CC;
STICKLINE(日资金>0,机构,日资金*4,2,0),COLOR0000FF;
STICKLINE(日资金>0,机构,日资金*4,1,0),COLORCC66FF;