您现在的位置:好股网 >> 股票公式 >> 通达信公式 >> 一键转帖:趋势线主图指标 通达信 贴图

趋势线主图指标 通达信 贴图


指标功能:[B]国产软件[/B]
指标类型:简体中文
所需积分:0
推荐星级:
授权方式:共享版
公式大小:6.00 KB
更新时间:2019-03-03 10:03:00
公式简介:

趋势线主图指标 通达信 贴图


总涨跌比:=DYNAINFO(60)/(DYNAINFO(60)+DYNAINFO(61))*100,COLORCYAN,NODRAW;
DRAWTEXT_FIX(1,0.2,0.0,0,STRCAT('总涨跌比: ',CON2STR(总涨跌比,2))),COLORCYAN;
DRAWTEXT_FIX(ISLASTBAR,0.005,0,0,STRCAT('主营同比: ',CON2STR(FINANCE(44),2))),COLORGREEN;
DRAWTEXT_FIX(ISLASTBAR,0.005,0.06,0,STRCAT('利润同比: ',CON2STR(FINANCE(43),2))),COLORGREEN;
SBL:= STRCAT(STRCAT(STRCAT(HYBLOCK,DYBLOCK),GNBLOCK),ZDBLOCK);
DRAWTEXT_FIX(1,0.4,0.01,0,SBL),COLOR0090FF;
MA05:MA(C,5)LINETHICK1,COLORCYAN;
MA10:MA(CLOSE,10),COLORYELLOW,LINETHICK1;
MA30:MA(CLOSE,30),COLORFF6EC7,LINETHICK1;
MA120:MA(CLOSE,120),COLORWHITE,LINETHICK1;
RC1:=REF(C,1);
CS:=IF(C>=1,10000,100000);
C涨停10:=1.10*RC1-49/CS;{考虑到4舍5入}
C涨停5 :=1.05*RC1-49/CS;
C跌停10:=0.90*RC1+51/CS;
C跌停5 :=0.95*RC1+51/CS;
ST:=NAMELIKE('S') OR NAMELIKE('*S');
涨停:= IF(ST, C>=C涨停5, C>=C涨停10);
跌停:= IF(ST, C<=C跌停5, C<=C跌停10);
盘中涨停:=IF(ST, H>=C涨停5, H>=C涨停10);
盘中跌停:=IF(ST, L<=C跌停5, L<=C跌停10);
STICKLINE(盘中涨停,H,MAX(C,O),0,0),COLORWHITE;{涨停后回落}
STICKLINE(盘中跌停,L,MIN(C,O),0,0),COLOR00AA00;{跌停后回升}
大阳线:=C>O AND (C>=C涨停5 OR C>(1.05*O-51/CS) ) OR (C>1000 AND C>RC1*1.024);
STICKLINE(大阳线,OPEN,CLOSE,1,0),COLOR0000AA;
大阴线:=C<O AND (C<=C跌停5 OR C<(0.95*O+49/CS) ) OR (C>1000 AND C<RC1*0.976);
STICKLINE(大阴线,OPEN,CLOSE,1,0),COLOR2F4F2F;
STICKLINE(涨停,OPEN,CLOSE,2.5,0),COLORYELLOW;
STICKLINE(跌停,OPEN,CLOSE,2.5,0),COLORGREEN;


R1:=(C>REF(C,1) AND C>REF(C,2));
R2:=(REF(R1,1) AND C<=REF(C,1) AND C>=REF(C,2));
R3:=(REF(R2,1) AND C>=REF(C,1) AND C<=REF(C,2));
R4:=(REF(R3,1) AND C<=REF(C,1) AND C>=REF(C,2));
R5:=(REF(R4,1) AND C>=REF(C,1) AND C<=REF(C,2));
R6:=(REF(R5,1) AND C<=REF(C,1) AND C>=REF(C,2));
R7:=(REF(R6,1) AND C>=REF(C,1) AND C<=REF(C,2));
R8:=(REF(R7,1) AND C<=REF(C,1) AND C>=REF(C,2));
R9:=(REF(R8,1) AND C>=REF(C,1) AND C<=REF(C,2));
RA:=(REF(R9,1) AND C<=REF(C,1) AND C>=REF(C,2));
RB:=(REF(RA,1) AND C>=REF(C,1) AND C<=REF(C,2));
RC:=(REF(RB,1) AND C<=REF(C,1) AND C>=REF(C,2));
RD:=(C<REF(C,1) AND C<REF(C,2));
RE:=(REF(RD,1) AND C>=REF(C,1) AND C<=REF(C,2));
RF:=(REF(RE,1) AND C<=REF(C,1) AND C>=REF(C,2));
R10:=(REF(RF,1) AND C>=REF(C,1) AND C<=REF(C,2));
R11:=(REF(R10,1) AND C<=REF(C,1) AND C>=REF(C,2));
R12:=(REF(R11,1) AND C>=REF(C,1) AND C<=REF(C,2));
R13:=(REF(R12,1) AND C<=REF(C,1) AND C>=REF(C,2));
R14:=(REF(R13,1) AND C>=REF(C,1) AND C<=REF(C,2));
R15:=(REF(R14,1) AND C<=REF(C,1) AND C>=REF(C,2));
R16:=(REF(R15,1) AND C>=REF(C,1) AND C<=REF(C,2));
R17:=(REF(R16,1) AND C<=REF(C,1) AND C>=REF(C,2));
R18:=(REF(R17,1) AND C>=REF(C,1) AND C<=REF(C,2));
R19:=((REF(RD OR RE OR RF OR R10 OR R11 OR R12 OR R13 OR R14 OR R15 OR R16 OR R17 OR R18,1)) AND R1);
R1A:=((REF(R1 OR R2 OR R3 OR R4 OR R5 OR R6 OR R7 OR R8 OR R9 OR RA OR RB OR RC,1)) AND RD);
蓝心板:=REF(RD OR RE OR RF OR R10 OR R11 OR R12 OR R13 OR R14 OR R15 OR R16 OR R17 OR R18,1);
RSV9:=(C-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K1:=SMA(RSV9,3,1);
DK1:=K1-REF(K1,1);
出手就赢:=IF(DK1>7 AND REF(DK1,1)<0 AND (DK1-REF(DK1,1))>9,50,0);
绿心板:=(出手就赢=50 OR REF("KDJ.J",1)<0) AND "KDJ.J">0;
红心板:=蓝心板 AND 绿心板;
红色持股:=R1 OR R2 OR R3 OR R4 OR R5 OR R6 OR R7 OR R8 OR R9 OR RA OR RB OR RC;
短进:=R19;
青色观望:=RD OR RE OR RF OR R10 OR R11 OR R12 OR R13 OR R14 OR R15 OR R16 OR R17 OR R18;
急速超跌:=(C-MA(C,34))/MA(C,34)*100<-14;
品红离场:=R1A;
绿心过滤:=IF((蓝心板),DRAWNULL,绿心板);
蓝心过滤:=IF((绿心板),DRAWNULL,蓝心板);
STICKLINE(涨停,O,C,3.8,1),COLORYELLOW;
STICKLINE(涨停 AND 蓝心过滤,O,C,0.8,0),COLORRED;
STICKLINE(涨停 AND 绿心过滤,O,C,0.8,0),COLORRED;
STICKLINE(涨停 AND 红心板,O,C,0.8,0),COLORRED;

ZT:=(C/REF(C,1)-1)*100>9.5;
ZT1:=BARSLAST((C/REF(C,1)-1)*100>9.5);
DIFF:= EMA(CLOSE,12) - EMA(CLOSE,26);
DEA:= EMA(DIFF,9);
MACD:= 2*(DIFF-DEA);
A1:= BARSLAST((C/REF(C,1)-1)*100>9.5);
A2:= IF(REF(L,A1)>REF(H,A1+1),REF(C,A1+1),REF(O,A1));
A3:= BETWEEN(A1,2,13);
A4:= C>=A2 AND BETWEEN(L/A2,1.035,0.97);
A5:= V<REF(V,1) AND V<MA(V,5);
A6:= ABS(C/O-1)*100<5;
A7:= LLV(C,A1)>=A2;
A8:= MACD>-1;
关注:=A3 AND A4 AND A5 AND A6 AND A7 AND A8;
A9:=MA(C,5)>=A2 AND C>A2 AND C>=MA(C,5) AND REF(C,1)<=REF(MA(C,5),1)
AND LLV(L,A1)<A2*1.045;
买入:=REF(A3,1)>0 AND A9;
STICKLINE(ZT,O,C,2.6,0),COLOR0000E5;
STICKLINE(ZT,O,C,2.4,0),COLOR335555;
STICKLINE(ZT,O,C,1.8,0),COLOR338888;
STICKLINE(ZT,O,C,1.2,0),COLOR33AAAA;
STICKLINE(ZT,O,C,0.6,0),COLOR33CCCC;
STICKLINE(ZT,O,C,0.1,0),COLOR33EEEE;
STICKLINE(关注 AND NOT(ZT),O,C,2.4,0),COLOR550055;
STICKLINE(关注 AND NOT(ZT),O,C,1.8,0),COLOR880088;
STICKLINE(关注 AND NOT(ZT),O,C,1.2,0),COLORAA00AA;
STICKLINE(关注 AND NOT(ZT),O,C,0.6,0),COLORCC00CC;
STICKLINE(关注,O,C,0.1,0),COLOREE00EE;
STICKLINE(买入 AND NOT(ZT),O,C,2.4,0),COLOR000055;
STICKLINE(买入 AND NOT(ZT),O,C,1.8,0),COLOR000088;
STICKLINE(买入 AND NOT(ZT),O,C,1.2,0),COLOR0000AA;
STICKLINE(买入 AND NOT(ZT),O,C,0.6,0),COLOR0000CC;
STICKLINE(买入,O,C,0.1,0),COLOR0000EE;
AA:=VOL>=2*REF(VOL,1);
STICKLINE(AA AND C>O,(C-O)/2+O,O,3,0),COLOR0000AA;
STICKLINE(AA AND C<O,C,O,1.5,0),COLORD9D919;
STICKLINE(C>REF(C,1)*1.098,C,C-(C-O)/2,2.8,0),COLOR00AAAA;
STICKLINE(C>REF(C,1)*1.098,C,C-(C-O)/2,1.5,0),COLOR00BBBB;
STICKLINE(C>REF(C,1)*1.098,C,C-(C-O)/2,1.5,0),COLOR00CCCC;
STICKLINE(C>REF(C,1)*1.098,C,C-(C-O)/2,1,0),COLOR00DDDD;
STICKLINE(C>REF(C,1)*1.098,C,C-(C-O)/2,0.5,0),COLOR00EEEE;
STICKLINE(C>REF(C,1)*1.098,H,C-(C-O)/2,0,0),COLOR00FFFF;
STICKLINE(跌停,O,C,2.4,0),COLOR555500;
STICKLINE(跌停,O,C,1.8,0),COLOR888800;
STICKLINE(跌停,O,C,1.2,0),COLORAAAA00;
STICKLINE(跌停,O,C,0.6,0),COLORCCCC00;
STICKLINE(跌停,O,C,0.1,0),COLOREEEE00;
假阴:=C<O AND C>REF(C,1);
STICKLINE(假阴,O,C,0.5,0),COLORRED;{假阴柱};
假阳:=C>O AND C<REF(C,1);
STICKLINE(假阳,O,C,0.5,0),COLORGREEN;{假阳柱};
{牛股三绝}
STICKLINE(CLOSE<OPEN,(CLOSE+OPEN)/2,(CLOSE+OPEN)/2,0.1,1),COLORYELLOW;
STICKLINE(CLOSE>OPEN,(CLOSE+OPEN)/2,(CLOSE+OPEN)/2,0.1,1),COLORWHITE;
昨中价位:(REF(OPEN,1)+REF(CLOSE,1))/2,COLORYELLOW,NODRAW;
上三一位:(MAX(O,C)-MIN(O,C))*2/3+MIN(O,C),NODRAW,COLORGREEN;
下三一位:(MAX(O,C)-MIN(O,C))/3+MIN(O,C),NODRAW,COLORYELLOW;


半分位:=(O+C)/2;
昨半分位:=REF(半分位,1);
STICKLINE(CURRBARSCOUNT<=1,昨半分位,昨半分位,12,0),COLORFF00FF;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.18,0.06,1,'昨半分位'),LINETHICK5,COLOR00FFFF;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.22,0.06,1,昨半分位);




趋势线主图指标 通达信 贴图


[url=http://www.goodgupiao.com/gupiaogongshi/53447.html][B]趋势线主图指标 通达信 贴图[/B][/url]