股: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;


声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。