股:CAPITAL/1000000,COLORWHITE,LINETHICK0;
成交总量:VOL,POINTDOT,COLORYELLOW;
X_1:=121120199;
X_2:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
主买:IF(CLOSE>OPEN,X_2*(HIGH-LOW),IF(CLOSE< OPEN,X_2*(HIGH-OPEN+(CLOSE-LOW)),VOL/2)),POINTDOT,COLORRED;
主卖:IF(CLOSE>OPEN,X_2*(HIGH-CLOSE+(OPEN-LOW)),IF(CLOSE< OPEN,X_2*(HIGH-LOW),VOL/2)),POINTDOT,COLORGREEN;
买卖差额:主买-主卖,NODRAW,COLORYELLOW;
STICKLINE(IF(DATE< X_1,CLOSE>=REF(CLOSE,1),DRAWNULL),0,VOL,2.2,1),COLORRED;
STICKLINE(IF(DATE< X_1,CLOSE< REF(CLOSE,1),DRAWNULL),0,VOL,2.2,1),COLORLIBLUE;
STICKLINE(IF(DATE< X_1,主买>0,DRAWNULL),0,主买,2.2,0),COLORRED;
资金异动:VOL/MA(VOL,55)*100,COLORYELLOW;
STICKLINE(IF(DATE< X_1,主卖>0,DRAWNULL),0,主卖,1.8,0),COLORLIGREEN;
成交量比%:主买/VOL*100,NODRAW,COLORWHITE;
STICKLINE(IF(DATE< X_1,资金异动>100 AND 成交量比%>60,DRAWNULL),0,VOL,0.1,0),COLORYELLOW;
当天换手率%:100*VOL/(FINANCE(7)/100),NODRAW,COLORYELLOW;
五天换手率%:MA(当天换手率%,5),NODRAW,COLORRED,LINETHICK3;
十天换手率%:MA(当天换手率%,10),NODRAW,COLORBLUE,LINETHICK3;
X_3:=CROSS(0.9,1/VOL*1000>0.01 AND KDJ.J< 0);
STICKLINE(IF(DATE< X_1,X_3>0,DRAWNULL),0,VOL,0.16,0),COLORRED;
X_4:=SMA(MAX(CLOSE-REF(CLOSE,1),0),6,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),6,1)*100;
DRAWTEXT_FIX(DATE>X_1,0.45,0.2,0,2),COLORCYAN;
评论(0)