zjtz288 发表于 2016-1-15 21:44

通达信绝不放过涨停密码副图+选股指标

**** Hidden Message *****

道赢丰 发表于 2016-1-16 09:51

MACD:"MACD.MACD",NODRAW;
W1:STICKLINE(MACD>0,MACD,0,3,1),COLORRED;
W2:STICKLINE(MACD<0,MACD,0,3,1),COLORCYAN;
VA1:=HHVBARS(MACD,BARSLAST(MACD<0)+1);
VA2:=CROSS(BACKSET(CROSS(0,MACD),REF(VA1,1)+2),0.5);
QG:=CROSS(BACKSET(CROSS(0,MACD) OR (ISLASTBAR AND MACD>0),REF(VA1,1)+2),0.5);
前高:DRAWLINE(VA2,MACD,REF(VA2,1),REF(MACD,1),1),COLORMAGENTA;
VA3:=LLVBARS(MACD,BARSLAST(MACD>0)+1);
VA4:=CROSS(BACKSET(CROSS(MACD,0),REF(VA3,1)+2),0.5);
BD:=BARSLAST(FILTERX(CROSS(0,MACD),BARSCOUNT(C)));
前低:DRAWLINE(VA4,MACD,REF(VA4,1),REF(MACD,1),1);
BDTJ:=IF(MACD<0,FILTERX(MACD=LLV(MACD,BARSLAST(MACD>0)),
BARSCOUNT(C)),DRAWNULL);
TSBDTJ:=BARSLAST(BDTJ);
BDZH:=FILTERX(MACD<CONST(LLV(MACD,BD+1)),BARSCOUNT(C));
BDTS:=BARSLAST(BDZH);
本低:IF(BD+1>=1,CONST(LLV(MACD,BD+1)),DRAWNULL);
BDCL:=CROSS(COUNT(CROSS(MACD>本低/2 AND MACD<0,0.5),TSBDTJ)=1,0.5) AND TSBDTJ>=0;
终点:=IF(ISLASTBAR AND MACD>0 AND MACD=HHV(MACD,BARSLAST(MACD<0)),1,
IF(FILTERX(QG,BARSCOUNT(C)),2,DRAWNULL));
UU:=(终点=1 OR 终点=2) AND MACD>0;
ZZ:=FILTERX(UU,BARSCOUNT(C));
本高:DRAWLINE(ZZ,MACD,REF(ZZ,1),REF(MACD,1),1),COLORWHITE;
横线:=CONST(REF(MACD,BARSLAST(ZZ)));
WW:=MACD>横线;
起始点:=FILTERX(REFX(BARSLAST(WW),1)=1,BARSCOUNT(C));
天数:BARSLAST(起始点),COLORYELLOW,NODRAW;
上横线:DRAWLINE(起始点,横线,ZZ,横线,0),COLORGREEN,DOTLINE;
下横线:DRAWLINE(BDZH,CONST(LLV(MACD,BD+1)),BDTJ=1,MACD,0),COLOR8080FF,DOTLINE;
DRAWNUMBER(BDTJ,CONST(LLV(MACD,BD+1))*0.9,BDTS);
DRAWNUMBER(ZZ,上横线*1.1,天数);
TJ:=IF(起始点,BARSNEXT(ZZ),DRAWNULL);
红柱数量:IF(天数>0 AND 天数<=REF(TJ,天数),SUM(MACD>0,天数),DRAWNULL),COLORWHITE,NODRAW;
横线起始价:REF(C,天数),NODRAW;
空间评估:(横线起始价-C)/C*100,NODRAW;
TT:=BARSLAST(ZZ);
WQG:=CROSS(COUNT(CROSS(MACD<本高/2 AND MACD>0,0.5),ZZ)=1,0.5) AND ZZ>=0;
STICKLINE(MACD>前高 AND 本高>前高 AND BARSLAST(CROSS(MACD<本高/2,0.5))>0 AND
MACD>(前高+本高)/2,MACD,前高,1,0),COLORYELLOW;

前高本高二分位:IF(MACD>0 AND 本高!=前高,DRAWLINE(WQG,(前高+本高)/2,REF(WQG,1),REF((前高+本高)/2,1),1)
,DRAWNULL),COLORC0C000,DOTLINE;
AA:=STRCAT(STRCAT(STRCAT('〖','上升空间'),'〗'),CON2STR(IF(空间评估,空间评估,
DRAWNULL),2));

DRAWTEXT(WQG,MACD*1.1,'本高成立'),COLORWHITE;
DRAWTEXT(BDCL,MACD*1.1,'本低成立'),COLORWHITE;
STICKLINE(MACD>前高,MACD,前高,1,0),COLORYELLOW;
STICKLINE(WQG,MACD,0,1,0),COLORGREEN;
STICKLINE(MACD<0 AND MACD<前低 AND 前低<0,MACD,前低,1,0),COLORBLUE;
B1:=IF(CROSS(MACD<0,0.5),BARSNEXT(BDTJ),DRAWNULL);
TSB1:=BARSLAST(MACD>0)-1;
STICKLINE(BARSLAST(BDCL)>=0 AND MACD<前低 AND MACD<0,MACD,前低,1,0),COLORGREEN;
STICKLINE(BDCL,MACD,0,1,0),COLORWHITE;
STICKLINE(MACD>前高 AND 本高>前高 AND BARSLAST(WQG)>0,
MACD,前高,1,0),COLORRED;
DRAWTEXT(VA2 AND VA2!=UU,(MACD/10)*9,'前');
DRAWTEXT(VA2 AND VA2!=UU,MACD/10,'高');
DRAWTEXT(ZZ,(MACD/10)*9,'本'),COLORWHITE;
DRAWTEXT(ZZ,MACD/10,'高'),COLORWHITE;
DRAWTEXT(BDTJ,(MACD/10)*9,'低'),COLORRED;
DRAWTEXT(BDTJ,MACD/10,'本'),COLORRED;
IF(BARSLAST(BDCL)>=0,本低/2,DRAWNULL),COLORRED,DOTLINE;
DRAWTEXT_FIX(1,0.05,0.04,0,'【黑马拉升由两个阶段构成:同步上涨阶段(黄芯柱)
和惯性上涨阶段(背离阶段、红芯柱)】'),COLORFFFF00;

心静则安 发表于 2016-11-20 10:23

HD:=HHV(V,NN); LD:=LLV(V,NN); 最高:=CONST(HD),NODRAW; 最低:=CONST(LD),NODRAW; HLMAX:=最高; HLMIN:=最低; HLMN1:=(HLMAX+HLMIN)/2; HLMN2:=HLMAX-HLMIN; HLMN3:=(100-0)/2*1.3; HLMN4:=(100-0)/1*1.3; 中间价轴:=(50-HLMN3)*HLMN2/HLMN4+HLMN1; 轴差:=最高-最低; 拉升量:=IF(C>REF(C,1),VOL,0); 打压量:=IF(C<REF(C,1),VOL,0); 昨拉升最高值:=CONST(FINDHIGH(拉升量,FROMOPEN,240,1)),NODRAW; 昨打压最高值:=CONST(FINDHIGH(打压量,FROMOPEN,240,1)),NODRAW; 今拉升最高值:=CONST(REF(HHV(拉升量,FROMOPEN),0)),NODRAW; 今打压最高值:=CONST(REF(HHV(打压量,FROMOPEN),0)),NODRAW; 攻击力度A:今拉升最高值/昨拉升最高值,NODRAW; 量能均线:=SUM(V,FROMOPEN)/FROMOPEN; 量:=VOL,VOLSTICK; 五日量:=MA(量,5),COLORWHITE; TT:=BARSCOUNT(C);{取得有效收盘价} 均价黄:=SUM(C*V,TT)/SUM(V,TT);{分时均线的取值} 量两步:=MA(V,5)>REF(MA(V,5),1) AND REF(MA(V,5),1)>REF(MA(V,5),2); 价两步:= C>=REF(C,1) AND REF(C,1)>REF(C,2); 价上岗量破5:=C>均价黄 AND V>MA(V,5); 量起爆:=V>=REF(V,1)*1; 价创新高:=C>=HHV(C,0); 量创新高:=V>=HHV(V,0); 对昨日涨幅:=(C/DYNAINFO(3)-1)*100<=2.50;{涨幅控制2个点以内} 每日一点:=量两步 AND 价两步 AND 价上岗量破5 AND 量起爆 AND 价创新高 AND 量创新高 AND 对昨日涨幅; {计算收益、已爆分钟} VV:=BARSSINCE(每日一点)+1; 首次起爆价:=REF(C,VV-1),NODRAW; 起爆收益:=(DYNAINFO(7)-首次起爆价)/首次起爆价*100,NODRAW; {DRAWNUMBER(VV>=1,V*0.8,今天收益);} 流通盘:=CAPITAL*100/100000000,NODRAW; 起爆时间:=REF(TIME/10000,VV),NODRAW; 已爆分钟:=VV-1,NODRAW; {画出底线和红球} 首次起爆量:=REF(VOL,VV-1),NODRAW; {DRAWICON(已爆分钟>=2,首次起爆量,13);{出现红球,至少已经确认2分钟了}};STICKLINE(每日一点,最低+轴差*0.8,0,1,0),COLORMAGENTA; DRAWICON(每日一点,V,1),COLORRED; DRAWTEXT(每日一点,最低+轴差*0.8,'∠起爆'),NODRAW; TA:=BARSLAST(TIME=100000); TC:=REF(HHV(C,0),TA+1); TV:=REF(HHV(V,0),TA+1); ZF:=TC/DYNAINFO(3)<1.05; XG1:=CROSS(C,TC) AND V>TV AND ZF,COLORWHITE; TA1:=BARSLAST(TIME=110000); CC1:=REF(HHV(C,0),TA1+1); VV1:=REF(HHV(V,0),TA1+1); ZF1:=CC1/DYNAINFO(3)<1.05; XG2:=CROSS(C,CC1) AND V>VV1 AND ZF1,COLORYELLOW; 突破:=XG1 OR XG2,COLORRED; VT:=BARSSINCE(突破)+1; 首次突破价:=REF(C,VT-1),NODRAW; 突破收益:=(DYNAINFO(7)-首次突破价)/首次突破价*100,NODRAW; STICKLINE(突破,V,0,1,0),COLORRED; DRAWICON(突破=1,V,17); DRAWTEXT(突破=1,最低+轴差*0.65,'☆突破'),COLORRED; DRAWICON(FILTER(CROSS(拉升量,昨拉升最高值),30),V,1),NODRAW; { DRAWTEXT(FILTER(CROSS(拉升量,昨拉升最高值),30),最低+轴差*0.50,'★攻击'),COLORYELLOW}; DRAWICON(FILTER(CROSS(拉升量,今打压最高值),30),V,1); DRAWTEXT(FILTER(CROSS(拉升量,今打压最高值),30),最低+轴差*0.35,'★攻击'),COLORMAGENTA;

甘中带苦 发表于 2016-12-29 15:14


A1:=REF(HIGH,3)=HHV(HIGH,2*3+1); B1:=FILTER(A1,3); C1:=BACKSET(B1,3+1); D1:=FILTER(C1,3);{高点}
A2:=REF(LOW,3)=LLV(LOW,2*3+1); B2:=FILTER(A2,3); C2:=BACKSET(B2,3+1); D2:=FILTER(C2,3);{低点}
E1:=(REF(LLV(LOW,2*3),1)+REF(HHV(HIGH,2*3),1))/2; E2:=(HIGH+LOW)/2;{高低点出现在同一K线上时可作取舍}
H1:=(D1 AND NOT(D2 AND E1>=E2)) OR barstatus=2OR BARSCOUNT(CLOSE)=1;
L1:=(D2 AND NOT(D1 AND E1<E2)); H2:=D1 AND NOT(D2 AND E1>=E2);
X1:=REF(BARSLAST(H1),1)+1; F1:=BACKSET(H1 AND COUNT(L1,X1)>0,LLVBARS(IF(L1,LOW,10000),X1));
G1:=F1>REF(F1,1); I1:=BACKSET(G1,2); LD:=I1>REF(I1,1);{过滤后低点}
L2:=LD OR barstatus=2OR BARSCOUNT(CLOSE)=1;
X2:=REF(BARSLAST(L2),1)+1; F2:=BACKSET(L2 AND COUNT(H2,X2)>0,HHVBARS(IF(H2,HIGH,0),X2));
G2:=F2>REF(F2,1); I2:=BACKSET(G2,2); HD:=I2>REF(I2,1);{过滤后高点}
DRAWLINE(LD,L,HD,H,0),COLORWHITE{,LINETHICK3},POINTDOT;
DRAWLINE(HD,H,LD,L,0),COLORWHITE{,PLINETHICK3},POINTDOT;
J1:=BACKSET(barstatus=2 ,MIN(BARSLAST(HD),BARSLAST(LD))+1); J2:=J1>REF(J1,1);
DRAWLINE(J2,IF(HD,H,L),barstatus=2 ,IF(BARSLAST(HD)>BARSLAST(LD),H,L),0),COLORWHITE,POINTDOT;
{以下是两条趋势线原码}
UU:=BACKSET(barstatus=2 ,BARSLAST(LD)+1);
VV:=UU>REF(UU,1);
WW:=BACKSET(VV,REF(BARSLAST(LD),1)+2);
XX:=WW>REF(WW,1);
DRAWLINE(XX,L,VV,L,1),COLORMAGENTA{,LINETHICK2};
UU2:=BACKSET(barstatus=2 ,BARSLAST(HD)+1);
VV2:=UU2>REF(UU2,1);
WW2:=BACKSET(VV2,REF(BARSLAST(HD),1)+2);
XX2:=WW2>REF(WW2,1);
前一低:=REF(L,BARSLAST(VV)){,COLOR99FF66,POINTDOT,LINETHICK1};
前二低:=REF(L,BARSLAST(XX)){,COLORFF66FF,POINTDOT,LINETHICK1};
前一高:=REF(H,BARSLAST(VV2)){,COLOR99FF66,POINTDOT,LINETHICK1};
前二高:=REF(H,BARSLAST(XX2)){,COLORFF66FF,POINTDOT,LINETHICK1};
求4看空:h*前一低/if(前一高=h,前二高,前一高);
求4看多:l*前一高/if(前一低=l,前二低,前一低);

sijjis 发表于 2016-1-15 21:58

{n=5 240 60}

XG:A1 AND A2 AND A3;



说明:同时破20日、40日、60日历史低点的个股反弹的可能性大。

ppklm3796 发表于 2016-1-15 22:01

涨停密码副图+选股指标

童心缘 发表于 2016-1-15 22:35

谢谢分享投资愉快

点点点点点 发表于 2016-1-15 22:47

谢谢分享辛苦了

k-uian 发表于 2016-1-15 23:22

看俺 看看

danxu8877 发表于 2016-1-15 23:59

通达信绝不放过涨停密码副图+选股指标

股长虹 发表于 2016-1-16 00:00

涨停密码副图+选股指标

57133068 发表于 2016-1-16 01:29

感谢分享有功德

w122016 发表于 2016-1-16 06:57

绝不放过涨停密码副图

xiaolanxing 发表于 2016-1-16 09:33

学习学习。。。

delian 发表于 2016-1-16 09:39

厉害公式高手谢谢

2456611245 发表于 2016-1-16 09:42

谢谢分享,投资愉快!

股海西域羚羊 发表于 2016-1-16 09:45

通达信绝不放过涨停密码副图+选股指标、感谢楼主精彩分享、学习学习。

回头见 发表于 2016-1-16 09:46

好 好学习学习
页: [1] 2 3 4 5 6 7 8 9 10
查看完整版本: 通达信绝不放过涨停密码副图+选股指标