通达信审股主图指标源码
DRAWRECTREL(0,0,200,450,RGB(25,55,144));
DRAWTEXT_FIX(DYNAINFO(39)<100,0.01,0.0,0,STRCAT('动态市盈率:',CON2STR(DYNAINFO(39),2))),COLORMAGENTA;
DRAWTEXT_FIX(DYNAINFO(39)>100,0.01,0.0,0,STRCAT('动态市盈率:',CON2STR(DYNAINFO(39),2))),COLORGREEN;
DRAWTEXT_FIX(FINANCE(40)/100000000<10,0.01,0.05,0,STRCAT('流通市值(亿): ',CON2STR(FINANCE(40)/100000000,2))),COLORMAGENTA;
DRAWTEXT_FIX(FINANCE(40)/100000000>10,0.01,0.05,0,STRCAT('流通市值(亿): ',CON2STR(FINANCE(40)/100000000,2))),COLORGREEN;
DRAWTEXT_FIX(FINANCE(11)/FINANCE(15)>1.2,0.01,0.10,0,STRCAT('流动比例: ',CON2STR(FINANCE(11)/FINANCE(15),1))),COLORMAGENTA;
DRAWTEXT_FIX(FINANCE(11)/FINANCE(15)<=1.2,0.01,0.10,0,STRCAT('流动比例: ',CON2STR(FINANCE(11)/FINANCE(15),1))),COLORGREEN;
DRAWTEXT_FIX((FINANCE(11)-FINANCE(27))/FINANCE(15)>1.2,0.01,0.15,0,STRCAT('速动比例:',CON2STR((FINANCE(11)-FINANCE(27))/FINANCE(15),1))),COLORMAGENTA;
DRAWTEXT_FIX((FINANCE(11)-FINANCE(27))/FINANCE(15)<=1.2,0.01,0.15,0,STRCAT('速动比例:',CON2STR((FINANCE(11)-FINANCE(27))/FINANCE(15),1))),COLORGREEN;
DRAWTEXT_FIX(FINANCE(9)<45,0.01,0.20,0,STRCAT('资产负债率: ',CON2STR(FINANCE(9),2))),COLORMAGENTA;
DRAWTEXT_FIX(FINANCE(9)>=45,0.01,0.20,0,STRCAT('资产负债率: ',CON2STR(FINANCE(9),2))),COLORGREEN;
DRAWTEXT_FIX(FINANCE(34)>2,0.01,0.25,0,STRCAT('每股净资产: ',CON2STR(FINANCE(34),2))),COLORRED;
DRAWTEXT_FIX(FINANCE(34)<=2,0.01,0.25,0,STRCAT('每股净资产: ',CON2STR(FINANCE(34),2))),COLORGREEN;
DRAWTEXT_FIX(FINANCE(43)>1,0.01,0.30,0,STRCAT('利润同比:',CON2STR(FINANCE(43),2))),COLORRED;
DRAWTEXT_FIX(FINANCE(43)<1,0.01,0.30,0,STRCAT('利润同比:',CON2STR(FINANCE(43),2))),COLORCYAN;
DRAWTEXT_FIX(FINANCE(44)>1,0.01,0.35,0,STRCAT('收入同比:',CON2STR(FINANCE(44),2))),COLORRED;
DRAWTEXT_FIX(FINANCE(44)<1,0.01,0.35,0,STRCAT('收入同比:',CON2STR(FINANCE(44),2))),COLORCYAN;
DRAWRECTREL(0,800,350,999,RGB(25,55,144));
DRAWTEXT_FIX(1,0.01,0.80,0,HYBLOCK),COLORYELLOW;{行业}
DRAWTEXT_FIX(1,0.01,0.85,0,DYBLOCK),COLORWHITE;{地域}
DRAWTEXT_FIX(1,0.01,0.90,0,GNBLOCK),COLORWHITE;{板块}
DRAWTEXT_FIX(1,0.01,0.95,0,FGBLOCK),COLORWHITE;{风格};
总涨跌比:=DYNAINFO(60)/(DYNAINFO(60)+DYNAINFO(61))*100;
DRAWTEXT_FIX(1,0.01,0.40,0,STRCAT('总涨跌比: ',CON2STR(总涨跌比,2))),COLORYELLOW;
- 上一篇公式:通达信凹型反转副图选股源码贴图)
- 下一篇公式:通达信仿“青云直上”指标预警源码幅图贴图