最强选股战法推荐:
通达信借盘下棋未加密选股指标公式源码
源码正文:
S1:=IF(CODELIKE('300'),0,1){XG51};
S2:=IF(NAMELIKE('S'),0,1){XG51};
S3:=IF(NAMELIKE('*'),0,1){XG51};
S4:=DYNAINFO(17)>0{XG51};
去掉:= S2 AND S3 AND S4{XG51};
ZD2:="kdj.J#DAY"(9,3,3){XG51};
dif11:=(ema(DCLOSE,12)-Ema(DCLOSE,26))/EMA(DCLOSE,26)*100{XG51};
DEA22:=EMA(DIF11,9){XG51};
准备飞:=(DIF11-DEA22)*100{XG51};
集结号:=50{XG51};
穿:=准备飞-REF(准备飞,1)COLORWHITE LINETHICK2{XG51};
★集结号:crOSS(穿,集结号) AND C<20 AND 去掉,NODRAW{XG51};
DIF1:=(EMA(DCLOSE,12)-EMA(DCLOSE,26))/EMA(DCLOSE,26)*100{XG51};
DEA1:=EMA(DIF1,9){XG51};
AAA1:=(DIF1-DEA1)*120{XG51};
买:=45{XG51};
入:=AAA1-REF(AAA1,1){XG51};
正大:=CROSS(入,买),NODRAW{XG51};
DIF:=(EMA(DCLOSE,10)-EMA(DCLOSE,72))/EMA(DCLOSE,72)*100{XG51};
DEA:=EMA(DIF,17){XG51};
AAA:=(DIF-DEA)*100{XG51};
牛股:=CROSS(AAA-REF(AAA,1),45),NODRAW{XG51};
正大牛股:=(正大 AND 牛股),NODRAW{XG51};
角线:=(ATAN((MA(C,5)/REF(MA(C,5),1)-1)*100)*180/3.14115926){XG51};
角线MA:=MA(角线,5){XG51};
ANA:=PLOYLINE(CROSS(角线,角线MA),角线MA){XG51};
ANB:=PLOYLINE(CROSS(角线MA,角线),角线MA){XG51};
角买:=CROSS(角线,角线MA) AND ((ANB>REF(ANB,1) AND ANB>ANA AND 角线MA<=0) OR ((角线MA<=-45 OR CROSS(角线MA,-45)) AND (ANB<-60 OR LLV("kdJ.J",3)<=-49) AND ANB>0)){XG51};
角买点:=角买=1{XG51};
AA10:=MA(CLOSE,8){XG51};
BB10:=((ATAN((AA10 - REF(AA10,1))) * 3.1416) * 10){XG51};
均线30:=MA(CLOSE,30){XG51};
均线89:=MA(CLOSE,89){XG51};
均线:=MA(CLOSE,16){XG51};
天马:=((((((OPEN <= 均线) AND ((均线30 - REF(均线30,1)) > 0))
AND (CLOSE > 均线89)) AND (BB10 > 1)) AND ((CLOSE / OPEN) > 1.04))){XG51};
AA:=IF(CLOSE/REF(CLOSE,1)>1.050 AND HIGH/CLOSE<1.010 AND IF(CLOSE>REF(CLOSE,1),88,0)>0, 91, 0){XG51};
SS:=MA((LOW+HIGH+CLOSE)/3,5)>REF(MA((LOW+HIGH+CLOSE)/3,5),1) AND REF(MA((LOW+HIGH+CLOSE)/3,5),1)<REF(MA((LOW+HIGH+CLOSE)/3,5),2){XG51};
SC:=L<HHV(MA((LOW+HIGH+CLOSE)/3,5),13) AND H>HHV(MA((LOW+HIGH+CLOSE)/3,5),13) AND C>REF(C,1) AND C>O{XG51};
MR:=SC AND COUNT(SS,2){XG51};
BB:=MR AND NOT(REF(MR,1)){XG51};
股价必涨:=(AA OR BB OR 角买点 OR 天马){XG51};
二十日换手率:=BETWEEN(SUM(HSCOL,20),10,200){XG51};
DFO:=(C-REF(C,1))/REF(C,1)*100<-5{XG51};
Aao:=BArslAST(DFO);
突破:=CROSS(C,REF(O,AAO)){XG51};
抄底:=(二十日换手率 AND 突破),NODRAW{XG51};
大牛:(正大牛股 AND 股价必涨),NODRAW{XG51};
必涨:(正大牛股 AND 抄底),,NODRAW{XG51};
大牛股:(大牛 AND 必涨 AND 抄底),NODRAW{XG51};
共同富裕:=大牛股 OR 大牛 OR 必涨,NODRAW{XG51};
A:=EMA(C,21){XG51};
B:=A>REF(A,1){XG51};
QN1:=MA(C,13){XG51};
QN:=ATAN((QN1-REF(QN1,1)))*180/2{XG51};
QN4:=QN>1 AND QN1>REF(QN1,1){XG51};
QN2:=MA(C,21){XG51};
QN3:=ATAN((QN2-REF(QN2,1)))*180/2{XG51};
LTP:=COUNT(C/REF(C,1)>1.098,10)>0 AND DYNAINFO(4)>0,NODRAW{XG51};
CC:=Abs((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20){XG51};
DD:=dma(CLOSE,CC);
第二回调线:=(1-7/100)*DD{XG51};
第二回调:(C<=第二回调线 AND LTP AND QN3>1 AND QN4 )*2.5, COLORWHITE,NODRAW{XG51};
YT:=(第二回调>0 OR 共同富裕 OR ★集结号) ,NODRAW{XG51};
A1:="KD.K#DAY"(9,3,3){XG51};
A2:="KD.D#DAY"(9,3,3){XG51};
AA1:=(A1+A2)/2{XG51};
A3:="KD.K#WEEK"(9,3,3){XG51};
A4:="KD.D#WEEK"(9,3,3){XG51};
A5:="KD.K#MONTH"(9,3,3){XG51};
A6:="KD.D#MONTH"(9,3,3){XG51};
A7:="KDJ.J#WEEK"(9,3,3){XG51};
A8:="KD.K"(9,3,3){XG51};
A9:="KD.D"(9,3,3){XG51};
上面日K:A1,COLORBLUE,NODRAW{XG51};
日D:A2,COLORBLUE,NODRAW{XG51};
中间周K:A3,COLORRED,NODRAW{XG51};
周D:A4,COLORRED,NODRAW{XG51};
下面月K:A5,COLORCYAN,NODRAW{XG51};
月D:A6,COLORCYAN,NODRAW{XG51};
◎周J:A7,COLORRED,NODRAW{XG51};
STICKLINE( A1>A2,2 ,3 ,5 ,0 ),COLOR650000{XG51};
STICKLINE( A1<A2,2 ,3 ,5 ,0 ),COLOR111111{XG51};
STICKLINE( A3>A4,2 ,0.5 ,5 ,0 ),COLOR650000{XG51};
STICKLINE( A3<A4,2, 0.5 ,5 ,0 ),COLOR111111{XG51};
STICKLINE( A5>A6,-0.3 ,0.5 ,5 ,0 ),COLOR650000{XG51};
STICKLINE( A5<A6,-0.3 ,0.5 ,5 ,0 ),COLOR111111{XG51};
STICKLINE( C>0,0.5 ,0.5 ,5 ,0 ),COLOR555555{XG51};
STICKLINE( C>0,2 ,2,10 ,0 ),COLOR555555{XG51};
K:=A8*3/120{XG51};
D:=A9*3/120{XG51};
J:=A7*3/120{XG51};
AA2:=AA1*3/120{XG51};
DRAWBAND(A3*3/120,RGB(250,00,250),A4*3/120,RGB(00,250,250)){XG51};
DRAWTEXT(A3>=A4,J,'◎'),COLORFFFFFF{XG51};
DRAWTEXT(A3<A4,J,'◎'),COLOR00FFFF{XG51};
STICKLINE(K>D,K,D,5,1),COLORFFFF00{XG51};
STICKLINE(K<=D,K,D,5,1),COLORWHITE{XG51};
STICKLINE(C>0,1.25,1.25,3,0),COLOR555555{XG51};
{XG51};
STICKLINE(CROSS(穿,集结号) AND ZD2>=50 AND C<20 AND 去掉,0,2.5,1,0),COLORLIMAGENTA{XG51};
STICKLINE(CROSS(穿,集结号) AND ZD2<50 AND C<20 AND 去掉,0,0.5,4,1),COLORGREEN{XG51};
DRAWTEXT(CROSS(穿,集结号) AND ZD2<50 AND C<20 AND 去掉,0.5,' ★★号'),COLORGREEN{XG51};
DRAWTEXT(CROSS(穿,集结号) AND ZD2>=50 AND C<20 AND 去掉,2,' ★集结号'),COLORLIMAGENTA{XG51};
DRAWICON(大牛>0,3,1){XG51};
DRAWICON(必涨>0,1,3){XG51};
DRAWICON(大牛股>0,0,23){XG51};
DRAWBAND(第二回调,RGB(200,0,0),0,RGB(200,0,0)){XG51};
STICKLINE(第二回调,0,2,1,1){X_G~5-1_C_N_{};
通达信目标预测主图未加密选股指标公式源码
源码正文:
stICKLINE(C>O AND L>REF(H,1),CLOSE,OPEN,3,1),COLORBLUE{XG51};
STICKLINE(C<O AND L>REF(H,1),CLOSE,OPEN,3,0),COLORGREEN{XG51};
STICKLINE(C>O AND H<REF(L,1),CLOSE,OPEN,3,1),COLORmaGENTA{XG51};
STICKLINE(C<O AND H<REF(L,1),CLOSE,OPEN,3,0),COLORCYAN{XG51};
VARA01:=BArslAST(L>REF(H,1)){XG51};
VARA02:=BARSLAST(H<REF(L,1)){XG51};
STICKLINE(VARA01>0,REF(L,VARA01),REF(L,VARA01),2,0),COLORLIMAGENTA{XG51};
STICKLINE(VARA01>0,REF(H,VARA01+1),REF(H,VARA01+1),2,0),COLORLIMAGENTA{XG51};
STICKLINE(VARA02>0,REF(H,VARA02),REF(H,VARA02),2,0),COLORCYAN{XG51};
STICKLINE(VARA02>0,REF(L,VARA02+1),REF(L,VARA02+1),2,0),COLORCYAN{XG51};
N:=(1,99,10){XG51};
A1:=REF(HIGH,3)=HHV(HIGH,N){XG51};
B1:=FILTER(A1,3){XG51};
C1:=BacKSET(B1,3+1){XG51};
D1:=FILTER(C1,3){XG51};
A2:=REF(LOW,3)=LLV(LOW,N){XG51};
B2:=FILTER(A2,3){XG51};
C2:=BACKSET(B2,3+1){XG51};
D2:=FILTER(C2,3){XG51};
E1:=(REF(LLV(LOW,2*3),1)+REF(HHV(HIGH,2*3),1))/2{XG51};
E2:=(HIGH+LOW)/2{XG51};
H1:=(D1 AND NOT(D2 AND E1>=E2)) OR BARSTATUS=2 OR BARSCOUNT(CLOSE)=1{XG51};
H2:=D1 AND NOT(D2 AND E1>=E2){XG51};
L1:=D2 AND NOT(D1 AND E1=E2){XG51};
X1:=REF(BARSLAST(H1),1)+1{XG51};
F1:=BACKSET(H1 AND COUNT(L1,X1)>0,LLVBARS(IF(L1,LOW,10000),X1)){XG51};
G1:=F1>REF(F1,1){XG51};
I1:=BACKSET(G1,2){XG51};
LD:=I1>REF(I1,1){XG51};
L2:=LD OR BARSTATUS=2 OR BARSCOUNT(CLOSE)=1{XG51};
X2:=REF(BARSLAST(L2),1)+1{XG51};
F2:=BACKSET(L2 AND COUNT(H2,X2)>0,HHVBARS(IF(H2,HIGH,0),X2)){XG51};
G2:=F2>REF(F2,1){XG51};
I2:=BACKSET(G2,2){XG51};
HD:=I2>REF(I2,1){XG51};
J1:=BACKSET(BARSTATUS=2,MIN(BARSLAST(HD),BARSLAST(LD))+1){XG51};
J2:=J1>REF(J1,1){XG51};
UU:=BACKSET(BARSTATUS=2,BARSLAST(LD)+1){XG51};
VV:=UU>REF(UU,1){XG51};
WW:=BACKSET(VV,REF(BARSLAST(LD),1)+2){XG51};
XX:=WW>REF(WW,1){XG51};
WWQ:=BACKSET(XX,REF(BARSLAST(LD),1)+2){XG51};
XXQ:=WWQ>REF(WWQ,1){XG51};
下轨:DRAWLINE(XX,L,VV,L,1),COLORBLACK{XG51};
UU2:=BACKSET(BARSTATUS=2,BARSLAST(HD)+1){XG51};
VV2:=UU2>REF(UU2,1){XG51};
WW2:=BACKSET(VV2,REF(BARSLAST(HD),1)+2){XG51};
XX2:=WW2>REF(WW2,1){XG51};
WW3Q:=BACKSET(XX2,REF(BARSLAST(HD),1)+2){XG51};
XX3Q:=WW3Q>REF(WW3Q,1){XG51};
WW4Q:=BACKSET(XX3Q,REF(BARSLAST(HD),1)+2){XG51};
XX4Q:=WW4Q>REF(WW4Q,1){XG51};
上轨:DRAWLINE(XX2,H,VV2,H,1),COLORBLACK{XG51};
Q0:=BARSLAST(XX2>0){XG51};
Q1:=BARSLAST(XX>0){XG51};
Q2:=BARSLAST(WW2>0){XG51};
Q3:=BARSLAST(VV>0){XG51};
Q4:=BARSLAST(XXQ>0){XG51};
Q5:=BARSLAST(XX3Q>0){XG51};
OA周:=Q0-Q1+1;AB周:=Q1-Q2+1;BC周:=Q2-Q3+1{XG51};
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(Q5)>Q4,0.80,0.01,1,STRCAT('◆―【A】: ',STRCAT(CON2STR(OA周,0),'天')))COLOR00FF00{XG51};
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(Q5)>Q4,0.80,0.04,1,STRCAT('【A】―【B】: ',STRCAT(CON2STR(AB周,0),'天')))COLORWHITE{XG51};
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(Q5)>Q4,0.80,0.07,1,STRCAT('【B】―【C】: ',STRCAT(CON2STR(BC周,0),'天')))COLOR00FF00{XG51};
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(Q5)>Q4,0.80,0.10,1,STRCAT('【C】―--: ',STRCAT(CON2STR(Q3,0),'天')))COLORBLUE{XG51};
Z01:=Q1-Q0+1;Z12:=Q0-Q3+1;Z23:=Q3-Q2+1{XG51};
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(Q5)<Q4,0.80,0.01,1,STRCAT('低1―高2: ',STRCAT(CON2STR(Z01,0),'天')))COLORWHITE{XG51};
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(Q5)<Q4,0.80,0.04,1,STRCAT('高2―低2: ',STRCAT(CON2STR(Z12,0),'天')))COLOR00FF00{XG51};
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(Q5)<Q4,0.80,0.07,1,STRCAT('低2―高3: ',STRCAT(CON2STR(Z23,0),'天')))COLORWHITE{XG51};
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(Q5)<Q4,0.80,0.10,1,STRCAT('高3―-- : ',STRCAT(CON2STR(Q2,0),'天')))COLORBLUE{XG51};
DRAWTEXT( VV=1 AND Q0>Q1,L,'【C】')COLORRED{XG51};
DRAWTEXT(VV2=1 AND Q0>Q1,H,'【B】')COLORRED{XG51};
DRAWTEXT( XX=1 AND Q0>Q1,L,'【A】')COLORRED{XG51};
IF(XX2=1 AND Q5>Q4 ,H,DRAWNULL),COLORCYAN,LINETHICK5,CIRCLEDOT{XG51};
IF(XXQ=1 AND Q5>Q4 ,L,DRAWNULL),COLORWHITE,LINETHICK5,CIRCLEDOT{XG51};
DRAWLINE(XXQ=1 AND Q5>Q4 ,L,XX2=1 AND Q5>Q4 ,H,0),COLORWHITE{XG51};
DRAWLINE(VV2=1 AND Q0>Q1,H, VV=1 AND Q0>Q1,L,0),COLORCYAN{XG51};
DRAWLINE( XX=1 AND Q0>Q1,L,VV2=1 AND Q0>Q1,H,0),COLORWHITE{XG51};
DRAWLINE(XX2=1 AND Q5>Q4 ,H, XX=1 AND Q0>Q1,L,0),COLORCYAN{XG51};
DRAWTEXT( VV=1 AND Q0<Q1,L,'(低2)')COLORRED{XG51};
DRAWTEXT(VV2=1 AND Q0<Q1,H,'(高3)')COLORRED{XG51};
DRAWTEXT(XX2=1 AND Q0<Q1,H,'(高2)')COLORRED{XG51};
DRAWTEXT(XX=1 AND Q5<Q4,L,'(低1)')COLORRED{XG51};
DRAWTEXT(XX3Q=1 AND Q5<Q4,H,'(高1)')COLORRED{XG51};
DRAWLINE(XX3Q=1 AND Q5<Q4,H,XX=1 AND Q5<Q4,L,0),COLORCYAN{XG51};
DRAWLINE(XX=1 AND Q5<Q4,L,XX2=1 AND Q0<Q1,H,0),COLORWHITE{XG51};
DRAWLINE(XX2=1 AND Q0<Q1,H, VV=1 AND Q0<Q1,L,0),COLORCYAN{XG51};
DRAWLINE(VV=1 AND Q0<Q1,L,VV2=1 AND Q0<Q1,H,0),COLORWHITE{XG51};
笔:DRAWLINE(J2,IF(HD,H,L),BARSTATUS=2,IF(BARSLAST(HD)>BARSLAST(LD),H,L),0),DOTLINE,COLORBLUE{XG51};
TL:=1000000+160526;DRAWTEXT(DATE=TL ,L*0.997,'DA')COLORGREEN{XG51};
TH:=1000000+160606;DRAWTEXT(DATE=TH ,H,'DB')COLORGREEN,DRAWAbovE{XG51};
TC:=1000000+160624;DRAWTEXT(DATE=TC ,L*0.997,'DC')COLORGREEN{XG51};
TO:=1000000+160413;DRAWTEXT(DATE=TO ,H,'DO')COLORGREEN DRAWABOVE{XG51};
IF(DATE=TO ,H,DRAWNULL),COLORGREEN,LINETHICK5,CIRCLEDOT{XG51};
IF(DATE=TC ,L,DRAWNULL),COLORRED,LINETHICK5,CIRCLEDOT{XG51};
AL:=IF(REFDATE(CLOSE,TL)>REFDATE(CLOSE,TH),REFDATE(HIGH,TL),REFDATE(LOW,TL)){XG51};
BH:=IF(REFDATE(CLOSE,TL)>REFDATE(CLOSE,TH),REFDATE(LOW,TH),REFDATE(HIGH,TH)){XG51};
CZF:=IF(REFDATE(CLOSE,TL)>REFDATE(CLOSE,TH),REFDATE(HIGH,TC),REFDATE(LOW,TC)){XG51};
DJB:=IF(REFDATE(CLOSE,TL)>REFDATE(CLOSE,TH),REFDATE(LOW,TO),REFDATE(HIGH,TO)){XG51};
OP:=BH-AL+CZF{XG51};
COP:=0.618*(BH-AL)+CZF{XG51};
XOP:=IF((1.618*(BH-AL)+CZF)<0,OP,1.618*(BH-AL)+CZF){XG51};
TODAY:=DATE{XG51};
STICKLINE(DATE=TC,CZF,XOP,0,-1),COLORBLUE{XG51};
DRAWLINE(DATE=TC,COP,DATE=TODAY,COP,1),DOTLINE,COLORBLUE{XG51};
DRAWLINE(DATE=TC,OP,DATE=TODAY,OP,1),DOTLINE,COLORBLUE{XG51};
DRAWLINE(DATE=TC,XOP,DATE=TODAY,XOP,1),DOTLINE,COLORBLUE{XG51};
DRAWTEXT(DATE=TC,COP*1.002,'COP=0.618'),COLORBLUE {XG51};
DRAWTEXT(DATE=TC,OP*1.002,'OP=1.000'),COLORBLUE;
DRAWTEXT(DATE=TC,XOP*1.002,'XOP=1.618'),COLORBLUE {XG51};
DRAWNUMBER(DATE=TC,COP,COP),COLORBLUE{XG51};
DRAWNUMBER(DATE=TC,OP,OP),COLORBLUE{XG51};
DRAWNUMBER(DATE=TC,XOP,XOP),COLORBLUE{XG51};
DRAWLINE(DATE=TO,DJB,DATE=TL,AL,0) ,COLORBLUE{XG51};
DRAWLINE(DATE=TL,AL,DATE=TH,BH,0) ,COLORBLUE{XG51};
DRAWLINE(DATE=TH,BH,DATE=TC,CZF,0) ,COLORBLUE{X~G.5?1~C~N~{};
重要申明:本站所有的文章、图片、评论等,均由网友发表或上传并维护或收集自网络,属个人行为,与本站立场无关。
如果侵犯了您的权利,请与我们联系,我们将在24小时内进行处理、任何非本站因素导致的法律后果,本站均不负任何责任。
选股无忧网是股票软件指标公式分享平台,不开展相关证券业务,平台展示的所有股票资料由网络收集,不保障实时性和真实性,请勿以此为依据进行股票交易。
联系QQ:875328188 | 邮箱:875328188@qq.com
Copyright © 2002-2021 选股无忧网桂ICP备18001383号-7