当前位置:分析家公式网 → 股票公式 → 通达信公式 → 一键转帖:财务主图,组合多种信号和财务数据(通达信公式 主图 源码 测试图)
软件名称:[B]财务主图,组合多种信号和财务数据(通达信公式 主图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:7.00 KB
官方主页:Home Page
更新时间:2022-04-01 00:15:40
软件简介:
财务主图,
是组合了多个指标而成,有多空变色趋势线,黄金分割,回调大赚 逃顶信号,财务数据这个需要自定义数据的。
DRAWTEXT_FIX(1,0.00,0.06,0,'主营业务:')COLOR66FF99;
DRAWTEXT_FIX(1,0.06,0.06,0,EXTERNSTR(0,1))COLOR66FF99;
DRAWTEXT_FIX(1,0.00,0.10,0,'主营占比:')COLOR0000FF;
DRAWTEXT_FIX(1,0.06,0.10,0,EXTERNSTR(0,5))COLOR0000FF;
DRAWTEXT_FIX(1,0.00,0.14,0,'主营产品:')COLORFFFF00;
DRAWTEXT_FIX(1,0.06,0.14,0,EXTERNSTR(0,4))COLORFFFF00;
DRAWTEXT_FIX(1,0.00,0.02,0,'概念题材:')COLORFF00FF;
DRAWTEXT_FIX(1,0.06,0.02,0,EXTERNSTR(0,2))COLORFF00FF;
DRAWTEXT_FIX(1,0.00,0.18,0,'公司亮点:')COLORGREEN;
DRAWTEXT_FIX(1,0.06,0.18,0,EXTERNSTR(0,8))COLORGREEN;
DRAWTEXT_FIX(1,0.00,0.22,0,'行业地位:')COLORYELLOW;
DRAWTEXT_FIX(1,0.06,0.22,0,EXTERNSTR(0,7))COLORYELLOW;
DRAWTEXT_FIX(1,0.00,0.26,0,'涨停原因:')COLORFF9933;
DRAWTEXT_FIX(1,0.06,0.26,0,EXTERNSTR(0,9))COLORFF9933;
DRAWTEXT_FIX(1,0.00,0.30,0,'扫雷评分:')COLORCCCCCC;
DRAWTEXT_FIX(1,0.06,0.30,0,EXTERNSTR(0,10))COLORCCCCCC;
EPS:EVP.EPS,NODRAW; E股价:EVP.E股价,NODRAW; 价差%:EVP.价差,NODRAW;
上市日期:=CONST(DAYTODATE((DATETODAY(DATE)-FINANCE(42))))+19000000,NODRAW;
高:=REFDATE(HHV(H,180),DATE);
低:=REFDATE(LLV(L,180),DATE);
H1:=高-(高-低)*0.191;
H2:=高-(高-低)*0.382,COLORFF6198;
H3:=高-(高-低)*0.5,COLORFFFFFF;
H4:=高-(高-低)*0.618;
H5:=高-(高-低)*0.809;
STICKLINE(CURRBARSCOUNT=13,高,高,100,-1),COLORGREEN;
STICKLINE(CURRBARSCOUNT=13,H1,H1,100,-1),COLORCYAN;
STICKLINE(CURRBARSCOUNT=13,H2,H2,100,-1),COLORCCCCCC;
DRAWTEXT(CURRBARSCOUNT=1,高,' 高'),COLORGREEN;
DRAWTEXT(CURRBARSCOUNT=1,H1,' 809'),COLORCYAN;
DRAWTEXT(CURRBARSCOUNT=1,H2,' 618'),COLORFFFFFF;
DRAWTEXT(CURRBARSCOUNT=1,H3,' 中'),COLORYELLOW;
DRAWTEXT(CURRBARSCOUNT=1,H4,' 382'),COLORLIRED;
DRAWTEXT(CURRBARSCOUNT=1,H5,' 191'),COLORMAGENTA;
DRAWTEXT(CURRBARSCOUNT=1,低,' 低'),COLORRED;
STICKLINE(CURRBARSCOUNT=13,H3,H3,100,-1),COLORYELLOW;
STICKLINE(CURRBARSCOUNT=13,H4,H4,100,-1),COLORLIRED;
STICKLINE(CURRBARSCOUNT=13,H5,H5,100,-1),COLORMAGENTA;
STICKLINE(CURRBARSCOUNT=13,低,低,100,-1),COLORRED;
趋势线:(EMA(C,15)),LINETHICK2,COLORRED;
IF(趋势线>REF(趋势线,1),趋势线,DRAWNULL),COLORRED,LINETHICK2;
IF(趋势线<REF(趋势线,1),趋势线,DRAWNULL),COLORGREEN,LINETHICK2;
生命线30:(EMA(C,30)),LINETHICK2,COLORBLUE;
跳楼线90:(EMA(C,90)),LINETHICK2,COLORWHITE;
{参考线120:(EMA(C,120)),LINETHICK2,COLORFF00FF;}
VARS1:=(HIGH+LOW+OPEN+2*CLOSE)/5;
VARS2:=REF(VARS1,1);
VARS3:=SMA((CLOSE-VARS2),6,1)/SMA(ABS(CLOSE-VARS2),6,1)*100;
VARS4:=(CLOSE-REF(OPEN,29))/REF(OPEN,29)*100;
VARS5:=EMA(0.667*REF(VARS4,1)+0.333*VARS4,5);
VARS6:=IF(VOL>=1.3*MA(VOL,5) AND COUNT(VARS4>=VARS5 AND VARS4<-17,3) AND REF(LOW,1)=LLV(LOW,120),1,0);
VARS7:=SMA(MAX(CLOSE-REF(C,1),0),6,1)/SMA(ABS(CLOSE-REF(C,1)),6,1)*100;
VARS8:=SMA(MAX(VARS1-VARS2,0),10,1)/SMA(ABS(VARS1-VARS2),10,1)*100;
VARS9:=IF(COUNT(VARS8<20,5)>=1 AND COUNT(VARS1=LLV(VARS1,10),10)>=1 AND CLOSE>=OPEN*1.038 AND VOL>MA(VOL,5)*1.2,1,0);
DRAWICON(FILTER(REF(VARS3,1)>81 AND VARS3<80 OR CROSS(82,VARS7),2),HIGH*1.0001,2);
DRAWICON(FILTER(VARS9 OR VARS6,3),LOW*0.9999,1);
VAR2:=(REF(HIGH,1)+REF(LOW,1))/2;
VAR3:=MA(CLOSE,N)+2*STD(CLOSE,N);
DRAWICON(CROSS(VAR2,VAR3),HIGH*1.0001,2);
VAR4:=REF(CLOSE,1);
VAR5:=SMA(MAX(CLOSE-VAR4,0),N1,1)/SMA(ABS(CLOSE-VAR4),N1,1)*100;
VAR6:=CROSS(N2,VAR5);
VAR7:=FILTER(VAR6,4);
DRAWICON(VAR7,HIGH*1.0001,2);
AA7:=C-REF(C,1)*1;
AA8:=100*EMA(EMA(AA7,6),6)/EMA(EMA(ABS(AA7),6),6);
买:=LLV(AA8,2)=LLV(AA8,7) AND COUNT(AA8<0,2) AND CROSS(AA8,MA(AA8,2));
DRAWTEXT(FILTER(买=1,2),LOW-0.0001,'↖回调'),COLORYELLOW;
STICKLINE(((C >= 趋势线) AND (C >= O) AND FILTER(买=1,2)),H,L,0.5,0),COLORYELLOW;
STICKLINE((C >= 趋势线) AND (C >= O) AND OPEN<CLOSE AND OPEN < 趋势线 ,OPEN ,CLOSE,2,0 ),COLORRED;
VL:=REF(LOW,1);
VAR12:=(SMA(ABS(LOW-VL),13,1))/(SMA(MAX(LOW-VL,0),13,1))*100;
VAR14:=MA(VAR12,13);
VAR15:=LLV(LOW,34);
VAR18:=EMA(IF(LOW<=VAR15,VAR14,0),3);
VAR110:=SMA(SMA((CLOSE-LLV(LOW,54))/(HHV(HIGH,54)-LLV(LOW,54))*100,7,1),5,1);
VAR111:=SMA((CLOSE-LLV(LOW,54))/(HHV(HIGH,54)-LLV(LOW,54))*100,7,1)*16.18-VAR110*10.9;
T:=FILTER(IF(VAR111<=VAR110 AND VAR18>REF(VAR18,1),VAR18*8,0),20);
TT:=IF(T ,50 ,0 );
DRAWTEXT(TT,LOW,'↖洗盘结束'),COLORFF00FF;
VAR21:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100;
VAR22:=SMA(VAR21,3,1);
VAR23:=SMA(VAR22,3,1);
VAR24:=SMA(VAR23,3,1);
VAR25:=CROSS(VAR23,VAR24) AND VAR23<20;
DRAWTEXT(FILTER(VAR25,10)=1,LOW,'↖抄底'),COLORRED;
VVVAR8:=3*SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1)-2*SMA(SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1),3,1);
VVVAR9:=IF(VVVAR8>90,50,100);
VVVAR10:=FILTER(CROSS(VVVAR9,VVVAR8),4);
DRAWTEXT (VVVAR10,HIGH,'落袋'),COLORWHITE;
VAR11:=3;
VAR222:=((3 * SMA((((CLOSE - LLV(LOW,27)) / (HHV(HIGH,27) - LLV(LOW,27))) * 100),5,1)) - (2 * SMA(SMA((((CLOSE - LLV(LOW,27)) / (HHV(HIGH,27) - LLV(LOW,27))) * 100),5,1),3,1)));
大赚:=IF(CROSS(VAR222,VAR11),1,0);
DRAWTEXT(大赚,LOW-0.05,'↖大赚'),COLORFFFFFF;
VAR1:=REF(CLOSE,2);
会员专用:=SMA(MAX(CLOSE-VAR1,0),7,1)/SMA(ABS(CLOSE-VAR1),7,1)*100;
极品逃亡:=IF(会员专用< REF(会员专用,1) AND 会员专用>79,会员专用,0);
DRAWTEXT(极品逃亡 ,(HIGH)*1.01 ,'★逃亡'),COLORYELLOW;
STICKLINE(会员专用< REF(会员专用,1) AND 会员专用>79,OPEN ,CLOSE,1,0 ),COLORGREEN;
LC1:=REF(CLOSE,1);
RSIA:=((SMA(MAX((CLOSE - LC1),0),3,1) / SMA(ABS((CLOSE - LC1)),3,1)) * 100);
VARRA1:=SMA(MAX(CLOSE-REF(C,1),0),6,1)/SMA(ABS(CLOSE-REF(C,1)),6,1)*100;
DRAWTEXT(CROSS(82,VARRA1) OR CROSS(82,RSIA),HIGH,'逃'),COLOR22FF33;
STICKLINE(CROSS(82,VARRA1) OR CROSS(82,RSIA),OPEN ,CLOSE,1,0 ),COLORGREEN;
{RSI顶背离
LC:=REF(CLOSE,1);
RSI:=((SMA(MAX(CLOSE-LC,0),3,1))/(SMA(ABS(CLOSE-LC),3,1)))*(100);
FF:=EMA(CLOSE,3);
MA15:=EMA(CLOSE,21);
DRAWTEXT(CROSS(88,RSI),(HIGH)*(1.002),'顶背离'),COLOR1880FF;};
[url=http://www.70822.com/soft/sort013/sort05/down-161432.html]财务主图,组合多种信号和财务数据(通达信公式 主图 源码 测试图)[/url]