YYK:=1;
VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN))*YYK;
成交:VOL*YYK,POINTDOT;
庄家买盘:IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-
LOW)),VOL/2))*YYK,COLORRED,POINTDOT;
主力卖盘:IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR1*(HIGH-
LOW),0-VOL/2))*YYK,COLOR00FF00,POINTDOT;
STICKLINE(VOL>0,VOL,0,2,1)*YYK,COLORWHITE;
STICKLINE(庄家买盘>0,0,庄家买盘,2,0)*YYK,COLORRED;
STICKLINE(主力卖盘<0,0,主力卖盘,2,0)*YYK,COLOR00FF00;