JDZ:=MAX(MA(C,5),MAX(MAX(MA(C,10),MA(C,20)),MAX(MA(C,60),MA(C,120))));
第一阳:=CROSS(C,JDZ);
DRAWTEXT(第一阳,L*0.98,'第一阳');
{财务资料}
Z1:=STRCAT(HYBLOCK,' ');
Z2:=STRCAT(Z1,FGBLOCK);
Z3:=STRCAT(Z2,DYBLOCK);
Z4:=STRCAT(Z3,' ');
总股本:=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(总股本,流通盘),全流通),市值));
股本市值1:=IF(CODELIKE('999') OR CODELIKE('399'),0,股本市值);
毛利率:=STRCAT(' 毛利率: ',CON2STR((FINANCE(20)-FINANCE(21))/FINANCE(20)*100,2));
净利润增长率:=STRCAT(' 净利润增长率 ',CON2STR(FINANCE(43),2));
主营利润率:=STRCAT(' 主营利润率 ',CON2STR(FINANCE(23)/FINANCE(20)*100,2));
当前业绩:=STRCAT('当前业绩: ',STRCAT(STRCAT(毛利率,净利润增长率),主营利润率));
当前业绩1:=IF(CODELIKE('999') OR CODELIKE('399'),0,当前业绩);
财务情况:=STRCAT(STRCAT('公积金:',CON2STR(FINANCE(18),2)),STRCAT(STRCAT(' 未分配:',CON2STR(FINANCE(32),2)),STRCAT(' 浄资产:',CON2STR(FINANCE(34),2))));
DRAWTEXT_FIX(ISLASTBAR,0.005,0.00,0,STRCAT(Z4,GNBLOCK)),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,0.005,0.06,0,股本市值1),COLORGREEN;
DRAWTEXT_FIX(ISLASTBAR,0.005,0.12,0,当前业绩1),COLORGREEN;
DRAWTEXT_FIX(ISLASTBAR,0.005,0.18,0,财务情况),COLORGREEN;
{DRAWTEXT_FIX(1,0.88,1,0,'★投资需谨慎★'),COLORWHITE;};
量情况:=IF((MA(V,5)>MA(V,10) OR REF(MA(V,5)>MA(V,10),1)),'量走势正常','量走势不正常') ;
DRAWTEXT_FIX(ISLASTBAR,0.17,0.24,0,量情况),COLORYELLOW;
阳VOL:=(C>REF(C,1) OR C>O);
阴VOL:=(C
个数:=STRCAT(STRCAT('阳量日数:',CON2STR(COUNT(阳VOL,10),1)),STRCAT(' 阴量日数:',CON2STR(COUNT(阴VOL,10),1)));
DRAWTEXT_FIX(ISLASTBAR,0.005,0.24,0,个数),COLORYELLOW;
MA0:MA(C,5)*1.05,DOTLINE,COLORWHITE;