以下是基本面公式(源码 主图 通达信)
基本面公式(源码 主图 通达信)
日线主图基本面公式源码,因为显示屏大小不同,可能字距有变化,自已调整效果吧,基本面好的股票,ROE数值越大越好。因为是源码,自己粘贴复制在你们主图的最前面就可以了
每股公积金:=CONST(FINANCE(18));
SY01:=净资收益率>3;
SY02:=净资收益率>0.01 AND 净资收益率<=3;
SY03:=主营利润率>2;
SY04:=主营利润率>0;
SY05:=主营业增长率>1;
SY06:=主营业增长率>0;
SY07:=净利润增长率>2;
SY08:=净利润增长率>0.2;
SY09:=每股收益>0.01;
SY10:= 每股收益>0.001;
SY11:=每股净资产>2;
SY12:=每股净资产>0.01;
SY13:=每股未分配>0.5;
SY14:=每股未分配>0.001;
SY15:=每股公积金>0.5;
SY16:=每股公积金>0.002;
SY17:=每股未分配>=2 AND 每股公积金>=2;
SY18:=每股未分配<2 OR 每股公积金<2;
优秀:=SY01 AND SY03 AND SY05 AND SY07 AND SY09 AND SY11 AND SY13 AND SY15;
较好:=SY02 AND SY04 AND SY06 AND SY08 AND SY10 AND SY12 AND SY14 AND SY16;
一般:=NOT(优秀) AND NOT(较好);
DRAWTEXT_FIX(1,0.00,0,0,'所属行业:')COLORRED;
DRAWTEXT_FIX(1,0.04,0,0,HYBLOCK)COLORRED;
DRAWTEXT_FIX(1,0.09,0,0,'所属地区:')COLORRED;
DRAWTEXT_FIX(1,0.13,0,0,DYBLOCK)COLORRED;
DRAWTEXT_FIX(1,0.18,0,0,'概念板块:')COLORRED;
DRAWTEXT_FIX(1,0.22,0,0,GNBLOCK)COLORRED;
DRAWTEXT_FIX(1,0.00,0.04,0,'重要参考:')COLORRED;
DRAWTEXT_FIX(1,0.04,0.04,0,'每股净资产:'),COLORRED;
DRAWNUMBER_FIX(1,0.09,0.04,0,FINANCE(34));
DRAWTEXT_FIX(1,0.13,0.04,0,'每股未分配利润:'),COLORRED;
DRAWNUMBER_FIX(1,0.195,0.04,0,FINANCE(32));
DRAWTEXT_FIX(1,0.23,0.04,0,'每股公积金:'),COLORRED;
DRAWNUMBER_FIX(1,0.28,0.04,0,FINANCE(18));
DRAWTEXT_FIX(1,0.32,0.04,0,'ROE:'),COLORRED;
DRAWNUMBER_FIX(1,0.345,0.04,0,FINANCE(30)/FINANCE(19)*100);
DRAWTEXT_FIX(1,0.38,0.04,0,'现金流负债比:'),COLORRED;
DRAWNUMBER_FIX(1,0.435,0.04,0,FINANCE(25)/FINANCE(15));
DRAWTEXT_FIX(ISLASTBAR,0.00,0.08,0,FGBLOCK)COLORRED;
DRAWTEXT_FIX(ISLASTBAR,0.00,0.12,0,ZSBLOCK)COLORRED;
DRAWTEXT_FIX(C>0,0.47,0.04,0,'利润增长:')COLORRED;
DRAWTEXT_FIX(C>0,0.515,0.04,0,STRCAT(VAR2STR(FINANCE(43),0),'%')),COLORWHITE;
DRAWTEXT_FIX(优秀 AND 较好=0,0.000,0.16,0,'综合评估基本面:优秀!'),COLORMAGENTA;
DRAWTEXT_FIX(较好,0.000,0.16,0,'综合评估基本面:较好!'),COLORRED;
DRAWTEXT_FIX(一般,0.000,0.16,0,'综合评估基本面:一般!'),COLORGREEN;
DRAWTEXT_FIX(SY17,0.100,0.16,0,'是否具备高送转潜力:是!'),COLORRED;
DRAWTEXT_FIX(SY18,0.100,0.16,0,'是否具备高送转潜力:否!'),COLORGREEN;
评论(0)