VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
买:=IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),COLORRED,NODRAW;
卖:=IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR1*(HIGH-LOW),0-VOL/2)),COLORGREEN,NODRAW;DRAWTEXT_FIX(C>O,0.01,0.01,0,' 股票公式免FEI下载:'),COLORYELLOW;
STICKLINE(VOL,0,VOL,2,1),COLORGREEN;
STICKLINE(买,0,买,2,0),COLORRED;
STICKLINE(卖,0,卖,2,0),COLORGREEN;