买手:=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(日资金,3;
机构1:=SUM(日资金,12);
ma5:ma(机构1,3);
ma10:ma(机构1,1);
STICKLINE(日资金 0,0,日资金,2,0),COLORFF6600;
STICKLINE(日资金 0,0,日资金,2,0),COLORFF9900;
STICKLINE(日资金 0,0,日资金,2,0),COLORFFCC00;
STICKLINE(日资金 0,0,日资金,1,0),COLORCYAN;
STICKLINE(日资金 0,0,日资金,2,0),COLOR000099;
STICKLINE(日资金 0,0,日资金,2,0),COLOR0000CC;
STICKLINE(日资金 0,0,日资金,2,0),COLOR0000FF;
STICKLINE(日资金 0,0,日资金,1,0),COLORCC66FF;