AA:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
主买:IF(CLOSE>OPEN,AA*(HIGH-LOW),IF(CLOSE<OPEN,AA*((HIGH-OPEN)+(CLOSE-LOW)),VOL
/2)),POINTDOT,COLORRED;
主卖:=IF(CLOSE>OPEN,0-AA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-AA*(HIGH-
LOW),0-VOL /2)),LINETHICK0,COLORGREEN;
换手率%:VOL/CAPITAL*100,POINTDOT,COLORWHITE;
净流:主买-主卖,NODRAW;
LS_JW:=(CLOSE+2*LOW+HIGH)/4;
力道:=(LS_JW-MA(CLOSE,20)),LINETHICK2,COLORWHITE;
STICKLINE(力道>0 ,0,VOL,2.5,1),COLORRED;
STICKLINE(力道<0,0,VOL,2.5,1),COLORGREEN;
做多:STICKLINE(主买>0,0,主买,2.5,0),COLORRED;
做空:STICKLINE(力道<0 AND 主买>0,0,主买,2.5,0),COLORGREEN;