成交量:VOL,VOLSTICK;
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,POINTDOT ;
卖盘:-IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR1*(HIGH-LOW),0-VOL/2)),colorgreen,POINTDOT;
净买:(买盘-卖盘),coloryellow,NODRAW;
累计10日换手:SUM(换手率,10),NODRAW;
STICKLINE(VOL>0,VOL,0,3,0),COLOR005500;
STICKLINE(买盘>0,0,买盘,3,0),COLOR0000BB;
五周期量:MA(VOL,5),colorwhite,LINETHICK1;
十周期量:MA(VOL,10),COLORFFFF00,LINETHICK1;
VA:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);
OBV1:=SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0);
OBV2:=EMA(OBV1,3)-MA(OBV1,9);
OBV3:=EMA(IF(OBV2>0,OBV2,0),3);
MAC3:=MA(C,3);
STICKLINE(OBV3>REF(OBV3,1) AND MAC3>REF(MAC3,1),0,OBV3,0.1,0),coloryellow;
202108202134.jpg
|