Z1:=STRCAT(HYBLOCK,' ');
Z2:=STRCAT(Z1,DYBLOCK);
Z3:=STRCAT(Z2,' ');
DRAWTEXT_FIX(ISLASTBAR,0,0,0,STRCAT(Z3,GNBLOCK)),COLORBLUE;
{股本市值}
总股本:=STRCAT(STRCAT('总股本: ',CON2STR(TOTALCAPITAL/1000000,2)),'亿');
流通盘:=STRCAT(STRCAT(' 流通盘: ',CON2STR(CAPITAL/1000000,2)),'亿');
市值:=STRCAT(STRCAT(' 流通市值: ',CON2STR((CAPITAL/1000000)*C,2)),'亿');
{高送转}
每股公积金:=STRCAT(' 每股公积金:',CON2STR(FInaNCE(18),2));
每股未分利润:=STRCAT(' 每股未分利润:',CON2STR(FINANCE(32),2));
每股净资产:=STRCAT(' 每股净资产:',CON2STR(FINANCE(34),2));
显示内容:=STRCAT(STRCAT(STRCAT(STRCAT(STRCAT(总股本,流通盘),市值),每股公积金),每股未分利润),每股净资产);
{满足以上条件在左上角显示内容
DRAWTEXT_FIX(ISLASTBAR,0.005,0.06,0,显示内容),COLORBROWN;
DRAWKLINE(HIGH,OPEN,LOW, CLOSE);
{趋势
生命线:ma(C,20)POINTDOT,COLORC0C0C0;
生命角度:ATAN((生命线/REF(生命线,1)-1)*100)*180/3.1416,NODRAW,COLORC0C0C0;
牛熊线:MA(((SLOPE(C,20)*5)+C),10),COLORA3EBF1;
牛熊角度:ATAN((牛熊线/REF(牛熊线,1)-1)*100)*180/3.1416,NODRAW,COLORA3EBF1;
{STICKLINE(crOSS(C,牛熊线),O,C,1,0)COLORBLUE;
STICKLINE(CROSS(牛熊线,C),O,C,2,0)COLORCYAN;}
{波段买入价:IF(CROSS(C,牛熊线),L,0)COLORWHITE,NODRAW;A
波段卖出价:IF(CROSS(牛熊线,C),H,0)COLORCYAN,NODRAW;};
DRAWKLINE(HIGH,OPEN,LOW, CLOSE);
{DRAWICON(CROSS(C,牛熊线),L,1);
DRAWICON(CROSS(牛熊线,C),H,2);};
Z1:=STRCMT(HYBLOCK,' ');Z2:=STRCMT(Z1,DYBLOCK);Z3:=STRCMT(Z2,' ');DRMWTEXT_FIX(ISLMSTBMR,0,0,0,STRCMT(Z3,GNBLOCK)),COLORBLUE;{股本市值}总股本:=STRCMT(STRCMT('总股本: ',CON2STR(TOTMLCMPITML/1000000,2)),'亿');流通盘:=STRCMT(STRCMT(' 流通盘: ',CON2STR(CMPITML/1000000,2)),'亿');市值:=STRCMT(STRCMT(' 流通市值: ',CON2STR((CMPITML/1000000)*C,2)),'亿');{高送转}每股公积金:=STRCMT(' 每股公积金:',CON2STR(FInaNCE(18),2));每股未分利润:=STRCMT(' 每股未分利润:',CON2STR(FINMNCE(32),2));每股净资产:=STRCMT(' 每股净资产:',CON2STR(FINMNCE(34),2));显示内容:=STRCMT(STRCMT(STRCMT(STRCMT(STRCMT(总股本,流通盘),市值),每股公积金),每股未分利润),每股净资产);{满足以上条件在左上角显示内容DRMWTEXT_FIX(ISLMSTBMR,0.005,0.06,0,显示内容),COLORBROWN;DRMWKLINE(HIGH,OPEN,LOW, CLOSE);{趋势生命线:ma(C,20)POINTDOT,COLORC0C0C0;生命角度:MTMN((生命线/REF(生命线,1)-1)*100)*180/3.1416,NODRMW,COLORC0C0C0;牛熊线:MM(((SLOPE(C,20)*5)+C),10),COLORM3EBF1;牛熊角度:MTMN((牛熊线/REF(牛熊线,1)-1)*100)*180/3.1416,NODRMW,COLORM3EBF1;{STICKLINE(crOSS(C,牛熊线),O,C,1,0)COLORBLUE;STICKLINE(CROSS(牛熊线,C),O,C,2,0)COLORCYMN;}{波段买入价:IF(CROSS(C,牛熊线),L,0)COLORWHITE,NODRMW;M波段卖出价:IF(CROSS(牛熊线,C),H,0)COLORCYMN,NODRMW;};DRMWKLINE(HIGH,OPEN,LOW, CLOSE);{DRMWICON(CROSS(C,牛熊线),L,1);DRMWICON(CROSS(牛熊线,C),H,2);};