{股本市值}

总股本:=STRCAT(STRCAT(' 总股本: ',CON2STR(TOTALCAPITAL/1000000,2)),'亿');

流通盘:=STRCAT(STRCAT(' 流通盘: ',CON2STR(CAPITAL/1000000,2)),'亿');

全流通:=STRCAT(' 全流通: ',CON2STR((CAPITAL/1000000)/(TOTALCAPITAL/1000000),2));

市值:=STRCAT(STRCAT(' 流通市值: ',CON2STR((CAPITAL/1000000)*C,2)),'亿');

股本市值:=STRCAT(' ',STRCAT(STRCAT(STRCAT(总股本,流通盘),全流通),市值));

DRAWTEXT_FIX(ISLASTBAR,0,1.2,0,股本市值),COLORYELLOW;

量价:=(VOL/CLOSE)/3;

B2:=SUM((IF(((量价>0.20) AND (CLOSE>(REF(CLOSE,1)))),量价,0)),0);

B3:=SUM((IF(((量价>0.20) AND (CLOSE<(REF(CLOSE,1)))),量价,0)),0);

B6:=B2+B3;DD1:=1;比:=B2/B3;

BBB1:=STRCAT(STRCAT('买= ',CON2STR((100*B2)/B6,0)),'%');

BBB2:=STRCAT(STRCAT('卖= ',CON2STR((100*B3)/B6,0)),'%');

BBB3:=STRCAT(STRCAT('差= ',CON2STR((100*(B2-B3))/B6,0)),'%');

{DRAWTEXT_FIX(DD1=1,0,0.50,0,BBB1),COLORRED;

DRAWTEXT_FIX(DD1=1,0,0.60,0,BBB2),COLORGREEN;}

DRAWTEXT_FIX(DD1=1,0,0.05,0,BBB3),COLOR00FFFF;

XA_1:=AMOUNT/VOL;

XA_2:=LOW<XA_1*0.9;

XA_3:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>1.2;

XA_4:=LOW<MA(CLOSE,5)*0.921;

XA_5:=VOL<MA(VOL,5)*1.5;

XA_6:=XA_2 AND XA_3 AND XA_4 AND XA_5;

DRAWTEXT(XA_6,LOW*0.99,1),COLORYELLOW;

STICKLINE(XA_6,HIGH,LOW,0.5,0),COLORMAGENTA;

STICKLINE(XA_6,OPEN,CLOSE,7,0),COLORMAGENTA;

辅助线:=(-15);

XA_7:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;

XA_8:=MA(VOL,2)/MA(VOL,10);

XA_9:=VOL/CAPITAL;

XA_10:=0.0068*XA_7-0.0072*XA_8-0.5676*XA_9-0.0105;

XA_11:=0.0015*XA_7-0.0124*XA_8+1.7461*XA_9-0.0074;

暴涨启动:(0-12.2401*XA_10-1*XA_11+0.321<0)*110,STICK,COLORGREEN,LINETHICK8;

XA_12:=REF(CLOSE,1)/REF(CLOSE,2)<=0.93 AND BETWEEN(CLOSE/REF(CLOSE,1),1.03,0.97) AND CLOSE/REF(CLOSE,8)<=0.8 AND BETWEEN(REF(CLOSE,2)/REF(CLOSE,3),1.04,0.96) AND BETWEEN(REF(CLOSE,3)/REF(CLOSE,4),1.04,0.96);

STICKLINE(XA_12,0,20,1,0),COLORRED;

DRAWTEXT(CLOSE-OPEN>=0 AND OPEN/LOW>1.05 AND LOW<=LLV(LOW,20),LOW,2),COLORRED,LINETHICK2;

XA_13:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100;

XA_14:=SMA(XA_13,3,1);

XA_15:=SMA(XA_14,3,1);

XA_16:=SMA(XA_15,3,1);

波:=XA_15;

段:=XA_16;

XA_17:=CROSS(XA_15,XA_16) AND XA_15<20;

DRAWTEXT(FILTER(XA_17,10)=1,15,3),COLORRED;

XA_18:=CROSS(XA_16,XA_15) AND XA_15>80;

STICKLINE(FILTER(XA_18,5)=1,80,3,3,0),COLORGREEN;

DRAWTEXT(FILTER(XA_18,5)=1,99,4),COLORYELLOW,LINETHICK3;

XA_19:=CROSS(XA_14,XA_15) AND XA_15>80 AND XA_15>XA_16;

STICKLINE(XA_19,85,100,1,0);

90;

XA_20:=CLOSE/REF(CLOSE,1)>1.048 AND CLOSE=HIGH AND BETWEEN(FORCAST(VOL,4),0.2*FORCAST(VOL,12),2.1*FORCAST(VOL,12));

私募秘进:FILTER(XA_20,28)*100,COLORYELLOW,LINETHICK9;

STICKLINE(FILTER(XA_20,28)*100,80,999,200,0),COLORYELLOW,LINETHICK3;

XA_21:=AMOUNT/VOL/100,COLORRED;

MA5:=MA(XA_21,5),COLORRED;

MA13:=MA(XA_21,13);

{板块排名}

TAX:=HORCALC(HYBLOCK,105,1,DRAWNULL);

TAA:=STRCAT(HYBLOCK,' 排名 :');

DRAWTEXT_FIX(ISLASTBAR,0.25,0.2,0,STRCAT(TAA,CON2STR(TAX,0)));

走强线:=EMA(COST(99),181),COLORYELLOW,LINETHICK2;