过滤:=IF(NAMELIKE('S'),0,1) AND IF(NAMELIKE('*'),0,1) AND DYNAINFO(17)>0;{滤过ST,停牌}
涨幅小于3:=((C-DYNAINFO(3))/DYNAINFO(3))<0.03;
涨幅大于负3:=((C-DYNAINFO(3))/DYNAINFO(3))>-0.03;
涨幅小于5:=((C-DYNAINFO(3))/DYNAINFO(3))<0.05;
涨幅小于6:=((C-DYNAINFO(3))/DYNAINFO(3))<0.06;
涨幅小于10:=((C-DYNAINFO(3))/DYNAINFO(3))<0.095;
滤过跌停:=((DYNAINFO(3)-C)/DYNAINFO(3))<0.090;
过滤总:=过滤 AND 滤过跌停;
流通市值:=STRCAT(STRCAT('【流通市值】',CON2STR((CAPITAL/1000000)*C,2)),'亿元');
DRAWTEXT_FIX(ISLASTBAR,0.00,0.00,0,流通市值),COLORMAGENTA;
流通盘:=STRCAT(STRCAT('【流通盘】',CON2STR(CAPITAL/1000000,2)),'亿');
DRAWTEXT_FIX(ISLASTBAR,0.15,0.00,0,流通盘),COLORD4FF7F;
总股本:=STRCAT(STRCAT('【总股本】',CON2STR(TOTALCAPITAL/1000000,2)),'亿');
DRAWTEXT_FIX(ISLASTBAR,0.30,0.00,0,总股本),COLORFFBF00;
地域:=STRCAT('【地域】',DYBLOCK);
DRAWTEXT_FIX(ISLASTBAR,0.43,0.00,0,地域),COLORWHITE;
行业:=STRCAT('【行业】',HYBLOCK);
DRAWTEXT_FIX(ISLASTBAR,0.56,0.00,0,行业),COLOR00AA00;
概念:=STRCAT('【概念】',GNBLOCK);
DRAWTEXT_FIX(ISLASTBAR,0.68,0.00,0,概念),COLOR0099FF;
净资产收益率:=STRCAT('【净资产收益率★高好】',CON2STR(FINANCE(30)/FINANCE(19)*100,2));{ROE即净资产收益率 越高越好}
DRAWTEXT_FIX(ISLASTBAR,0.00,0.25,0,净资产收益率),COLORYELLOW;
市净率:=STRCAT('【市净率PB★低好】',CON2STR(C/FINANCE(34),2));{PB即市净率、越低越好}
DRAWTEXT_FIX(ISLASTBAR,0.20,0.25,0,市净率),COLORFF00FF;
市盈率:=STRCAT('【市盈率(动)PE★0-20】',CON2STR(CONST(DYNAINFO(39)),2));
DRAWTEXT_FIX(ISLASTBAR,0.40,0.25,0,市盈率),COLORYELLOW;
每股经营现金流:=STRCAT('【每股经营现金流】',CON2STR(FINANCE(25)/FINANCE(1),2));
DRAWTEXT_FIX(ISLASTBAR,0.60,0.25,0,每股经营现金流),COLORWHITE;
股息率:=STRCAT('【股息率】',CON2STR(FINANCE(32)/C,2));{这样算法对吗}
DRAWTEXT_FIX(ISLASTBAR,0.80,0.25,0,股息率),COLORCYAN;
流动比率:=STRCAT('【流动比率★1.5-2.5】',CON2STR(FINANCE(11)/FINANCE(15),2));
DRAWTEXT_FIX(ISLASTBAR,0.00,0.50,0,流动比率),COLORCYAN;
毛利率:=STRCAT('【毛利率】',CON2STR((FINANCE(20)-FINANCE(21))/FINANCE(20)*100,2));
DRAWTEXT_FIX(ISLASTBAR,0.50,0.50,0,毛利率),COLORCYAN;