一、通达信财务数据分析指标公式
{使用说明:横向矩形为墨绿色时,表示指标值不满足要求(与参数设定值比较,可自行调节对应的参数);横向矩形的其中一部分显示深黄色时,表示指标值满足要求;一般来说,深黄色部分越长,表示该指标值越"优"(相比参数设定值)。净资收益率:每股收益(全年折算)/每股净资产*100。假设输出值为7,其含义为7%。其对应的参数为"净资收益率大于"。类似的指标值还包括:毛利率、资产负债率、利润同比、年净资收益率、营业收入增长、利润率等,及其对应的参数。此外,每股现金流、每股公积金、每股未分配利润,输出值对应的单位为"元"。}
净资收益率大于:=7;
营业毛利率大于:=17;
每股现金流大于:=25;
资产负债率低于:=35;
每股公积金大于:=5;
每股未分配大于:=5;
利润同比大于:=10;
流动比率高于:=1;
营收增大于:=4;
主营利润率高于:=7;
HZ:=999;
净资收益率:FINANCE(33)/FINANCE(34)*100,NODRAW;
LJ1:=IF(净资收益率>净资收益率大于,HZ-HZ*(净资收益率-净资收益率大于)/净资收益率,HZ);
DRAWRECTREL(LJ1,0,HZ,100,RGB(139,69,19));
DRAWRECTREL(0,0,LJ1,100,RGB(47,79,79));
DRAWTEXT_FIX(C>0,0.01,0.02,0,'净资收益率ROE %'),COLORYELLOW;
DRAWNUMBER_FIX(C>0,0.15,0.02,1,净资收益率),COLORYELLOW;
营业毛利率:(1-FINANCE(21)/FINANCE(20))*100,NODRAW;
LJ2:=IF(营业毛利率>营业毛利率大于,HZ-HZ*(营业毛利率-营业毛利率大于)/营业毛利率,HZ);
DRAWRECTREL(LJ2,100,HZ,200,RGB(139,69,19));
DRAWRECTREL(0,100,LJ2,200,RGB(47,79,79));
DRAWTEXT_FIX(C>0,0.01,0.12,0,'营业毛利率%'),COLORYELLOW;
DRAWNUMBER_FIX(C>0,0.15,0.12,1,营业毛利率),COLORYELLOW;
每股现金流:FINANCE(25)/FINANCE(1),NODRAW;
LJ3:=IF(每股现金流>(FINANCE(38)*每股现金流大于/100),HZ-HZ*(每股现金流-(FINANCE(38)*每股现金流大于/100))/每股现金流,HZ);
DRAWRECTREL(LJ3,200,HZ,300,RGB(139,69,19));
DRAWRECTREL(0,200,LJ3,300,RGB(47,79,79));
DRAWTEXT_FIX(C>0,0.01,0.22,0,'每股现金流(元)'),COLORYELLOW;
DRAWNUMBER_FIX(C>0,0.15,0.22,1,每股现金流),COLORYELLOW;
资产负债率:FINANCE(9),NODRAW;
LJ4:=IF(资产负债率<资产负债率低于,HZ+HZ*(资产负债率-资产负债率低于)/资产负债率低于,HZ);
DRAWRECTREL(LJ4,300,HZ,400,RGB(139,69,19));
DRAWRECTREL(0,300,LJ4,400,RGB(47,79,79));
DRAWTEXT_FIX(C>0,0.01,0.32,0,'资产负债率% '),COLORYELLOW;
DRAWNUMBER_FIX(C>0,0.15,0.32,1,资产负债率),COLORYELLOW;
每股公积金:FINANCE(18),NODRAW;
LJ5:=IF(每股公积金>(C*每股公积金大于/100),HZ-HZ*(每股公积金-(C*每股公积金大于/100))/每股公积金,HZ);
DRAWRECTREL(LJ5,400,HZ,500,RGB(139,69,19));
DRAWRECTREL(0,400,LJ5,500,RGB(47,79,79));
DRAWTEXT_FIX(C>0,0.01,0.42,0,'每股公积金(元)'),COLORYELLOW;
DRAWNUMBER_FIX(C>0,0.15,0.42,1,每股公积金),COLORYELLOW;
每股未分配利润:FINANCE(32),NODRAW;
LJ6:=IF(每股未分配利润>(C*每股未分配大于/100),HZ-HZ*(每股未分配利润-(C*每股未分配大于/100))/每股未分配利润,HZ);
DRAWRECTREL(LJ6,500,HZ,600,RGB(139,69,19));
DRAWRECTREL(0,500,LJ6,600,RGB(47,79,79));
DRAWTEXT_FIX(C>0,0.01,0.52,0,'每股未分配利润(元)'),COLORYELLOW;
DRAWNUMBER_FIX(C>0,0.15,0.52,1,每股未分配利润),COLORYELLOW;
利润同比:FINANCE(43),NODRAW;
LJ7:=IF(利润同比>利润同比大于,HZ*(利润同比-利润同比大于)/利润同比,HZ);
DRAWRECTREL(LJ7,600,HZ,700,RGB(139,69,19));
DRAWRECTREL(0,600,LJ7,700,RGB(47,79,79));
DRAWTEXT_FIX(C>0,0.01,0.62,0,'利润同比%'),COLORYELLOW;
DRAWNUMBER_FIX(C>0,0.15,0.62,1,利润同比),COLORYELLOW;
流动比率:FINANCE(11)/FINANCE(15),NODRAW;
LJ8:=IF(流动比率>流动比率高于,HZ-HZ*(流动比率-流动比率高于)/流动比率,HZ);
DRAWRECTREL(LJ8,700,HZ,800,RGB(139,69,19));
DRAWRECTREL(0,700,LJ8,800,RGB(47,79,79));
DRAWTEXT_FIX(C>0,0.01,0.72,0,'流动比率%'),COLORYELLOW;
DRAWNUMBER_FIX(C>0,0.15,0.72,1,流动比率),COLORYELLOW;
营业收入增长:FINANCE(44),NODRAW;
LJ9:=IF(营业收入增长>营收增大于,HZ-HZ*(营业收入增长-营收增大于)/营业收入增长,HZ);
DRAWRECTREL(LJ9,800,HZ,900,RGB(139,69,19));
DRAWRECTREL(0,800,LJ9,900,RGB(47,79,79));
DRAWTEXT_FIX(C>0,0.01,0.82,0,'营业收入增长%'),COLORYELLOW;
DRAWNUMBER_FIX(C>0,0.15,0.82,1,营业收入增长),COLORYELLOW;
主营利润率:(FINANCE(23)/FINANCE(20))*100,NODRAW;
LJ10:=IF(主营利润率>主营利润率高于,HZ-HZ*(主营利润率-主营利润率高于)/主营利润率,HZ);
DRAWRECTREL(LJ10,900,HZ,1000,RGB(139,69,19));
DRAWRECTREL(0,900,LJ10,1000,RGB(47,79,79));
DRAWTEXT_FIX(C>0,0.01,0.92,0,'主营利润率%'),COLORYELLOW;
DRAWNUMBER_FIX(C>0,0.15,0.92,1,主营利润率),COLORYELLOW;
二、通达信精确反转拉涨点选股指标公式
SS1:=(LOW+HIGH+CLOSE*2)/4;
SS2:= MA(SS1,4);
SS3:=HHV(SS2,10);
SS4:=MA(SS3,3);
SS5:=1.25*SS4-0.25*SS3;
XKKJ:=IF(SS5>SS3,SS3,SS5);
FF1:=LLV(SS2,10);
FF2:=MA(FF1,3);
FF3:=1.25*FF2-0.25*FF1;
DKKJ:=IF(FF3 MA13:=MA(C,13); ZDHM:=CROSS(C,DKKJ) AND CROSS(C,MA13) AND CROSS(C,XKKJ); ZHM:=CROSS(C,MA13) AND CROSS(C,XKKJ); 反转:ZDHM OR ZHM;