vol,VOLSTICK;
VAR1:=VOL/((HIGH-LOW)*2-Abs(CLOSE-OPEN));
成交:VOL;
主买:IF(CLOSE>OPEN,VAR1*(HIGH-LOW),
IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2))*1.5,colorred,linethick2;
主卖:IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),
IF(CLOSE<OPEN,0-VAR1*(HIGH-LOW),0-VOL/2))*1.5,colorgreen,linethick2;
AA:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
买量:=IF(CLOSE>OPEN,AA*(HIGH-LOW),IF(CLOSE<OPEN,AA*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),LINETHICK0,colorred;
卖量:=IF(CLOSE>OPEN,0-AA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-AA*(HIGH-LOW),0-VOL/2)),LINETHICK0,colorgreen;
进出量:=买量+卖量,colorwhite;
N:=4;
净流入:SUM(进出量,N),LINETHICK0,colormagenta;
//{ _同花顺股票指标公式}
换手: VOL/CAPITAL*100,VOLSTICK , coloryellow;
市值: CAPITAL/100*CLOSE/10000, colorcyan;