当前位置: 网站首页 > 股票软件公式 > 通达信公式 > 文章 当前位置: 通达信公式 > 文章

金佛精准雷达,板块所属 信号清楚(通达信公式源码)

点击: 次    来源:顶尖财经    作者:股市狙击 - 小 + 大

金佛精准雷达,有完整的板块所属,部分主要财务数据,信号清楚

{金佛精准雷达}
DRAWTEXT_FIX(1,0.7,0,0,'所属板块:'),COLORFF6000;
DRAWTEXT_FIX(1,0.77,0,0,HYBLOCK),COLORRED;
DRAWTEXT_FIX(1,0.835,0,0,DYBLOCK),COLORYELLOW;
总股本:=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(' 上市日期: ',CON2STR(FINANCE(42),0));
股本市值:=STRCAT('股本市值: ',STRCAT(STRCAT(STRCAT(STRCAT(总股本,流通盘),全流通),市值),上市日期));
市盈率:=STRCAT('市盈率: ',CON2STR(C/FINANCE(33),2));
市销率:=STRCAT(' 市销率: ',CON2STR(C/(FINANCE(20)/FINANCE(1)),2));
市净率:=STRCAT(' 市净率: ',CON2STR(C/FINANCE(34),2));
净资收益率:=STRCAT(' 净资收益率: ',CON2STR(FINANCE(33)/FINANCE(34)*100,2));
毛利率:=STRCAT(' 毛利率: ',CON2STR((FINANCE(20)-FINANCE(21))/FINANCE(20)*100,2));
净利润率:=STRCAT(' 净利润率 ',CON2STR(FINANCE(30)/FINANCE(20)*100,2));
主营利润率:=STRCAT(' 主营利润率 ',CON2STR(FINANCE(23)/FINANCE(20)*100,2));
当前业绩:=STRCAT('当前业绩: ',STRCAT(STRCAT(STRCAT(STRCAT(STRCAT(STRCAT(市盈率,市销率),市净率),净资收益率),毛利率),净利润率),主营利润率));{股民学院 www.58188.com 整理}
X1:=(FINANCE(11)-FINANCE(15))/FINANCE(10)*1.2;
X2:=(FINANCE(31)+FINANCE(17))/FINANCE(10)*1.4;{盈余公积用资本公积金代替};
X3:=FINANCE(23)/FINANCE(10)*3.3;
X4:=FINANCE(19)/FINANCE(15)*0.6;{缺长期负债或负债总额}
X5:=FINANCE(20)/FINANCE(15)*0.999;
Z值:=X1+X2+X3+X4+X5;
预警:=IF(Z值<1.2,'重警',IF(Z值>=1.2 AND Z值<2.6,'轻警','无警'));
财务预警:=STRCAT('财务预警: ',STRCAT(预警,STRCAT('-Z值: ',CON2STR(Z值,3))));
优质资产率:=STRCAT(' 优质资产率: ',CON2STR((FINANCE(19)-FINANCE(22)-FINANCE(27))/FINANCE(19),2));{理论上越大越好但不同行业有不同标准};
现金负债比:=STRCAT(' 现金负债比: ',CON2STR(FINANCE(25)/FINANCE(15),3));{缺长期负债或负债总额,理论上越大越好但不同行业有不同标准};
财务系数:=STRCAT('风险系数: ',STRCAT(STRCAT(财务预警,优质资产率),现金负债比));
DRAWTEXT_FIX(ISLASTBAR,0.005,0.01,0,财务系数),COLOR888888;
DRAWTEXT_FIX(ISLASTBAR,0.005,0.06,0,当前业绩),COLOR888888;
DRAWTEXT_FIX(ISLASTBAR,0.005,0.115,0,股本市值),COLOR888888;
DRAWBAND(MA(CLOSE,5),RGB(155,50,50),MA(CLOSE,10),RGB(83,123,68));   
DRAWKLINE(H,O,L,C);   
MA5:MA(CLOSE,5),COLORWHITE;   
MA10:MA(CLOSE,10),COLORYELLOW;   
MA20:MA(CLOSE,24),COLORMAGENTA;   
MA60:MA(CLOSE,60),COLORGREEN;   
MA120:MA(CLOSE,120),COLORLIMAGENTA;   
MA240:MA(CLOSE,240),COLORBLUE;   
DRAWICON(CROSS(MA10,MA20),MA20,1); {10日上穿20日做记号}   
DRAWICON(CROSS(MA20,MA60),MA60,1); {20日上穿60日做记号}   
DRAWICON(CROSS(MA20,MA120),MA120,1); {20日上穿60日做记号}   
DRAWICON(CROSS(MA20,MA240),MA240,1);{20日上穿120日做记号}   
DRAWICON(CROSS(MA60,MA120),MA60,1); {60日上穿120日做记号}   
DRAWICON(CROSS(MA60,MA240),MA240,1); {60日上穿240日做记号}   
DRAWICON(CROSS(MA120,MA240),MA240,1);{120日上穿240日做记号}   
DRAWICON(CROSS(MA10,MA5),MA10,2); {5日下穿10日做记号}   
DRAWICON(CROSS(MA20,MA10),MA20,2); {10日下穿20日做记号}   
DRAWICON(CROSS(MA60,MA20),MA60,2); {20日下穿60日做记号}   
DRAWICON(CROSS(MA120,MA60),MA60,2); {60日下穿120日做记号}   
背后换手:=MA5>MA20 AND MA5>MA20 AND MA20<MA60 AND MA60<MA120 AND CROSS(MA10,MA20);   
曲棍形转步:=MA5>MA20 AND MA20>MA60 AND MA60>MA120 AND MA5>MA20 AND CROSS(MA10,MA20);   
迂回步:=MA20>MA60 AND MA20>MA60 AND CROSS(MA20,MA60);   
换位:=MA5>MA60 AND MA5>MA10 AND CROSS(MA10,MA60);   
扇形位:=MA60>MA120 AND MA60>MA120 AND CROSS(MA60,MA120);   
下腰:=MA60<MA120 AND MA60<MA120 AND CROSS(MA120,MA60);   
拂步:=MA120>MA240 AND MA120>MA240 AND CROSS(MA120,MA240);   
纽约步:=MA5>MA10 AND MA10>MA20 AND CROSS(MA5,MA20)AND CROSS(MA10,MA20);   
DRAWTEXT(纽约步,MA20-0.08,'纽约步'),COLORMAGENTA;   
DRAWTEXT(背后换手,MA20-0.08,'背后换手'),COLORMAGENTA;   
DRAWTEXT(曲棍形转步 ,MA20-0.2,'曲棍形转步'),COLORMAGENTA;   
DRAWTEXT(迂回步,MA60-0.0.08,'迂回步'),COLORMAGENTA;   
DRAWTEXT(换位,L+0.015,'换位'),COLOR36C0C1;   
DRAWTEXT(扇形位,MA120-0.08,'扇形位'),COLORRED;   
DRAWTEXT(下腰,MA60+0.08,'下腰'),COLORGREEN;   
DRAWTEXT(拂步,MA240-0.08,'拂步'),COLORRED;   
双重:=MA10<MA20 AND MA20>MA10 AND CROSS(MA20,MA10);   
DRAWTEXT(双重,MA20+0.012,'双重'),COLORYELLOW;   
VOL5:=MA(VOL,5),COLORWHITE;   
VOL10:=MA(VOL,10),COLORYELLOW;   
VOL40:=MA(VOL,40),COLORFF00FF ;   
追逐步:=VOL5>=VOL40 AND CROSS(VOL10,VOL40) AND REF(VOL10,1)<REF(VOL40,1);   
DRAWTEXT(追逐步,L-0.012,'追逐步'),COLORWHITE;   
AA1:=BARSLAST(MA60>MA20 AND (MA20=MA10 OR MA20>MA10));   
BB1:=REF(COUNT(C<MA60,AA1)=AA1,1);   
CC1:=CROSS(C,MA60) AND VOL>MA(VOL,5) AND (C-REF(C,1))/REF(C,1)*100>3;   
刚劲挺拔:=BB AND CC1,COLORFF6000;   
DRAWTEXT(刚劲挺拔,H+0.12,'刚劲挺拔'),COLORFF6000;   
STICKLINE(刚劲挺拔,H,L,0.5,1),COLORFF6000;   
STICKLINE(刚劲挺拔,O,C,4,1),LINETHICK2,COLORFF6000;   
MA1:=MA(CLOSE,5);   
MA2:=MA(CLOSE,10);   
MA3:=MA(CLOSE,30);   
ZJ:=AMOUNT/10000;{资金}   
TM:=V-MA(V,10);{量填满}   
连接步:=MA1>O AND MA2>O AND MA3>O AND MA1<C AND MA2<C AND MA3<C AND CLOSE>OPEN ;   
DRAWTEXT(连接步,L-0.012,'连接步'),COLORFF00FF;   
C6:=REF(C,1);   
涨停:=IF((C-C6)*100/C6>=(10-0.01*100/C6),1,0);   
STICKLINE(涨停,OPEN,CLOSE,2,0),COLORMAGENTA;   
STICKLINE(涨停,H,L,0,0),COLORLIRED;   
{压力一}   
TY:=C;   
A1:=REF(TY,10)=HHV(TY,2*10+1); B1:=FILTER(A1,10); C1:=BACKSET(B1,10+1); HD:=FILTER(C1,10);   
A2:=REF(TY,10)=LLV(TY,2*10+1); B2:=FILTER(A2,10); C2:=BACKSET(B2,10+1); LD:=FILTER(C2,10);   
前期高位:REF(C,BARSLAST(HD)),COLOR00FF00,POINTDOT;   
STICKLINE(C,前期高位,前期高位,8,0),COLORYELLOW; 
 

上一篇:复合波浪主图,看时间之窗和波浪类公式(通达信公式源码)

下一篇:抄底和中长期(通达信公式源码)