最强选股战法推荐:
通达信钻石超牛未加密选股指标公式源码
源码正文:
ZLCM:=ema(WINNER(CLOSE)*70,3){XG51};
SHCM:=Ema((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3){XG51};
ZSHTL:=SHCM/(ZLCM+SHCM)*100{XG51};
ZZLKP:=ZLCM/(ZLCM+SHCM)*100{XG51};
ZCMZL:=MA(ZLCM+SHCM,13){XG51};
ZZNTS:=BArslAst(ZSHTL<90 AND REF(ZSHTL,1)>90){XG51};
ZSHJJ:=EMA(ZSHTL,89){XG51};
ZZLJJ:=EMA(ZZLKP,89){XG51};
ZJLRQD:=INTPART(ZZLKP-ZZLJJ){XG51};
BB:=MA(C,1){XG51};
持币阶段:=SMA(SMA(SMA(BB,2,1),2,1),2,1){XG51};
主升持股波段:=HHV(MA(持币阶段,1),13){XG51};
SH8:=EMA(ZSHTL,8){XG51};
DKB:=IF(ZZLKP-REF(ZZLKP,1)>ZSHTL-REF(ZSHTL,1),1,0){XG51};
RSV:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100{XG51};
K1:=SMA(RSV,10,1){XG51};
D1:=SMA(K1,5,1){XG51};
KK:=INTPART(K1){XG51};
DD:=INTPART(D1){XG51};
TFXXS:=KK+DD{XG51};
TGLD:=MOD(TFXXS,10){XG51};
TGLXS:=(TFXXS-REF(TFXXS,1))*10{XG51};
TYCFX:=TFXXS+TGLXS{XG51};
乖离系数:=TGLXS,NODRAW,COLORWHITE{XG51};
价量:=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),NODRAW{XG51};
主力活跃力度:=(((价量-LLV(价量,27))/(HHV(价量,27)-LLV(价量,27)))*(4))*(25),NODRAW{XG51};
快线:=(((价量-LLV(价量,9))/(HHV(价量,9)-LLV(价量,9)))*(4))*(25),NODRAW{XG51};
牛股出现预警:=WINNER(C/1.10)*100,COLOR00FFFF,NODRAW{XG51};
主力赢利25持仓:=WINNER(C/1.25)*100,COLORFF00FF,NODRAW{XG51};
主力筹码:=EMA(WINNER(CLOSE)*70,3){XG51};
散户筹码:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3){XG51};
散户套牢筹码:=散户筹码/(主力筹码+散户筹码)*100{XG51};
主升浪波段:=主力筹码/(主力筹码+散户筹码)*100,COLORFF6100,NODRAW{XG51};
主力主导行情:=EMA(主升浪波段,55),NODRAW,COLORFF00FF{XG51};
金叉疯牛:=EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4,2){XG51};
界:=MA(CLOSE,27){XG51};
M:=60{XG51};
N:=30{XG51};
SHX:=100*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60)) COLORBROWN{XG51};
庄家主力线:=50-SMA(SMA(SMA(SHX,2,1),2,1),2,1)/2,COLOR00FFFF,LINETHICK2{XG51};
散户持股线:=50-HHV(MA(庄家主力线,1),13)/2,COLORFF00FF,LINETHICK4{XG51};
ER:=V/FINANCE(7)*100{XG51};
A0:=TMA(ER,(1-ER),1){XG51};
MAXcyc:=dma((C+O)/2,ER/TMA(ER,(1-ER),1)){XG51};
T1:=BARSLAST(C>MAXCYC*POW(1.1,0.9)){XG51};
T2:=BARSLAST(C<MAXCYC*POW(1.1,-0.9)){XG51};
T3:=crOSS(T1,T2) OR CROSS(T2,T1) OR BARSSINCE(T1+1)=0 OR BARSSINCE(T2+1)=0 OR BARSCOUNT(C)=0{XG51};
T4:=REF(MAXCYC,BARSLAST(T3)){XG51};
VAR11:=3*SMA((C-LLV(L,480))/(HHV(H,480)-LLV(L,480))*100,5,1)
-2*SMA(SMA((C-LLV(L,480))/(HHV(H,480)-LLV(L,480))*100,180,1),15,1){XG51};
超级主升:=EMA(VAR11,5){XG51};
主升1:=超级主升-100{XG51};
D8:=EMA(C,5){XG51};
D2:=(EMA(C,1)+EMA(C,5)+EMA(C,10)+EMA(C,15)+EMA(C,20)+EMA(C,25)+EMA(C,30)+EMA(C,35)+EMA(C,40)+EMA(C,45)+
EMA(C,50)+EMA(C,55)+EMA(C,60)+EMA(C,65)+EMA(C,70)+EMA(C,75)+EMA(C,80)+EMA(C,85)+EMA(C,90)+EMA(C,95)+
EMA(C,100)+EMA(C,105)+EMA(C,110)+EMA(C,115)+EMA(C,120)+EMA(C,125)+EMA(C,130)+EMA(C,135)+EMA(C,140)+EMA(C,150))/30{XG51};
dde:=(D8/D2)*100{XG51};
主升2:=DDE-110{XG51};
A:=(H+L+2*C)/4{XG51};
A1:=(A-REF(A,3))/3+A{XG51};
MA5:=EMA(A1,7){XG51};
J:=EMA(HHV(A1,20),60),LINETHICK3{XG51};
CB5:=EMA(COST(80),30),CIRCLEDOT{XG51};
HMX:=EMA(1.4*EMA(FORCAST(A1,20),40),20),LINETHICK2{XG51};
金牛线:=(J+CB5+HMX)/3,LINETHICK2{XG51};
MA20:=MA(C,20){XG51};
UP:=EMA(EMA(C*1.38,50),50),DOTLINE,COLOR0000FF{XG51};
白色:=SMA(HIGH,21,2)*1.05{XG51};
黄色:=SMA(LOW,21,2)*0.95{XG51};
中线:=(白色+黄色)/2{XG51};
UP1:=中线+2*STD(中线,20){XG51};
UP2:=REF(UP1,0){XG51};
CC:=Abs((2*CLOSE+HIGH+LOW)/4-MA(A1,20))/MA(A1,20){XG51};
DT:=DMA(CLOSE,CC){XG51};
通道3:=(1+9/100)*DT{XG51};
通道4:=(1-7/100)*DT{XG51};
界限:=(REF((金牛线+UP+EMA(UP1*1.04,40)+通道3)/4,10)+MA(C,20)*1.04)/2{XG51};
AHC1:=H*vol{XG51};
AHC24:=EMA((expma(AHC1,180)/EXPMA(VOL,180)+EXPMA(AHC1,360)/EXPMA(VOL,360)+EXPMA(AHC1,720)/EXPMA(VOL,720)+EXPMA(AHC1,1440)/EXPMA(VOL,1440))/4,34){XG51};
C上X:=1.06*AHC24{XG51};
C下X:=AHC24*0.94{XG51};
AHC22:=EMA((EXPMA(AHC1,27)/EXPMA(VOL,27)+EXPMA(AHC1,54)/EXPMA(VOL,54)+EXPMA(AHC1,108)/EXPMA(VOL,108)+EXPMA(AHC1,316)/EXPMA(VOL,316))/4,34){XG51};
上X:=1.06*AHC22{XG51};
下X:=AHC22*0.94{XG51};
AHC23:=EMA((EXPMA(AHC1,5)/EXPMA(VOL,5)+EXPMA(AHC1,10)/EXPMA(VOL,10)+EXPMA(AHC1,20)/EXPMA(VOL,20)+EXPMA(AHC1,40)/EXPMA(VOL,40))/4,34){XG51};
D上X:=1.06*AHC23{XG51};
D下X:=AHC23*0.94{XG51};
T:=(C上X+D上X+上X)/3*1.05{XG51};
主升3:=(MA5*2/(界限+T)-1)*100{XG51};
cbx80:=MA(COST(80),20){XG51};
主升4:=(MA5/CBX80-1)*100{XG51};
FT:=((HHV(H,42)-LLV(L,42)))/2+LLV(L,42){XG51};
FT1:=ABS(HHV(H,40)-LLV(L,40)-LLV(L,40))+FT*0.5{XG51};
主升5:=(FT/FT1-1)*100{XG51};
P:=EMA(EMA(C*1.14,55),20){XG51};
主升6:=(MA5/P-1)*100{XG51};
金k线:=(EMA(HHV(H,60),60)+EMA(FT,453)*1.62)/2{XG51};
HZ:=HHV((H+L)/2,120){XG51};
AA:=(2*C+H+L)/4{XG51};
VAR2:=EMA(SLOPE(CLOSE,21)*20+CLOSE,55){XG51};
VAR3:=EMA(CLOSE,3){XG51};
VAR4:=(2*CLOSE+LOW+HIGH)/4{XG51};
VAR5:=VAR2-VAR3{XG51};
VAR6:=CLOSE*VOL{XG51};
VAR7:=EMA((EMA(VAR6,3)/EMA(VOL,3)+EMA(VAR6,6)/EMA(VOL,6)+EMA(VAR6,12)/EMA(VOL,12)+EMA(VAR6,24)/EMA(VOL,24))/4,13){XG51};
VAR8:=(EMA(CLOSE,5)*7+EMA(CLOSE,10)*3)/10{XG51};
VAR9:=(CLOSE+OPEN)/2{XG51};
超牛分界线:=EMA(VAR8*1.15,15),COLORWHITE,LINETHICK0{XG51};
主升7:=(MA5/金K线-1)*100{XG51};
超牛拉升:=(主升1+主升2+主升3+主升4+主升5+主升6+主升7)/2,LINETHICK2{XG51};
持股时段:=IF((金叉疯牛>界)AND(散户筹码<主力筹码)AND((主力活跃力度>50)OR(主力活跃力度>REF(主力活跃力度,1))),-40,0),COLORWHITE,NODRAW{XG51};
横盘:=BARSLASTCOUNT(100*(HHV(H,14)-LLV(L,14))/LLV(L,14)<15 AND MA(C,5)>REF(MA(C,5),1) AND MA(C,10)>REF(MA(C,10),1) AND MA(C,20)>REF(MA(C,20),1))>=5 AND BARSLASTCOUNT(100*(HHV(H,14)-LLV(L,14))/LLV(L,14)<15 AND MA(C,5)>REF(MA(C,5),1) AND MA(C,10)>REF(MA(C,10),1) AND MA(C,20)>REF(MA(C,20),1))<=30{XG51};
主力最大盈利:=LN(C/T4)/LN(1.1)*10,NODRAW,COLORFF0080{XG51};
VAR88:=AMOUNT/VOL/100{XG51};
VAR78:=(3*HIGH+LOW+OPEN+2*CLOSE)/7{XG51};
狂飙主升:=EMA((CLOSE-REF(CLOSE,21))/REF(CLOSE,21)*100,4)*2,COLOR1E90FF,NODRAW{XG51};
疯牛强势分界线:=IF(C>200,C,DMA(VAR78,VOL/CAPITAL))*1.1,COLOR00FFFF,LINETHICK0{XG51};
疯牛压力平台:=HHV((H+L)/2,120),COLORFF0080,LINETHICK3{XG51};
主线:=EMA(EMA(C,1),5){XG51};
本:=EMA(HHV(主线,5),1){XG51};
急:=EMA(HHV(本,21),1){XG51};
稳:=EMA(HHV(急,21),2){XG51};
投:=EMA(HHV(稳,21),3){XG51};
散:=EMA(HHV(投,21),4){XG51};
集:=EMA(HHV(散,21),5){XG51};
日线:=CLOSE{XG51};
疯牛马线:=EMA(HHV(集,21),6),COLOR00FF00,LINETHICK3{XG51};
SMA2:=MA(持币阶段,3){XG51};
V1:=(C*2+H+L)/4*10{XG51};
V2:=EMA(V1,13)-EMA(V1,21){XG51};
V3:=EMA(V2,5){XG51};
V4:=2*(V2-V3)*100,COLORWHITE,LINETHICK2{XG51};
筹码进:=IF(V4>=0,V4,0),COLORWHITE,LINETHICK2{XG51};
双线合一关注:=主升持股波段,COLOR4169E1,LINETHICK4{XG51};
超牛高:=H=HHV(超牛拉升,10){XG51};
日振幅:=(H-L)/REF(C,1)*100{XG51};
振幅15:=HHV(日振幅,15){XG51};
涨幅1:=(REF(C,1)-REF(C,2))/REF(C,2)*100{XG51};
涨幅2:=(REF(C,2)-REF(C,3))/REF(C,3)*100{XG51};
涨幅:=(C-REF(C,1))/REF(C,1)*100{XG51};
涨幅20:=(REF(C,1)-REF(C,21))/REF(C,21)*100{XG51};
涨幅50:=(REF(C,1)-REF(C,50))/REF(C,50)*100{XG51};
涨幅10:=(REF(C,1)-REF(C,11))/REF(C,11)*100{XG51};
振幅5:=HHV(CLOSE,5)/LLV(CLOSE,5){XG51};
振幅:=(C-O)/O*100{XG51};
跌幅:=(REF(C,1)-C)/REF(C,1)*100{XG51};
大阳线:=(C-O)/O*100>5{XG51};
低开大阳线:=(REF(C,1)-O)/O*100>2.5{XG51};
连阳1:=COUNT(O>REF(C,1),3)=3{XG51};
跳空1:=COUNT(O>REF(H,1) AND L>REF(H,1),10){XG51};
跳空2:=COUNT(O>REF(C,1) AND L>REF(C,1),10) AND L<O{XG51};
跳空3:=COUNT(O>REF(C,1) AND (O-REF(C,1))/REF(C,1)*100>0.1 AND C>REF(H,1),10){XG51};
快马加鞭:=FILTER((涨幅>5)AND(涨幅1>5)AND(超牛拉升>=REF(超牛拉升,1)AND(C>疯牛马线)AND(涨幅10<40)AND(超牛拉升>=REF(超牛拉升,1))),3){XG51};
VAR80:=3*SMA((C-LLV(L,180))/(HHV(H,180)-LLV(L,180))*100,5,1)-2*SMA(SMA((C-LLV(L,180))/(HHV(H,180)-LLV(L,180))*100,180,1),15,1){XG51};
超级疯牛潜力股:=EMA(VAR80,5),COLOR6600FF,LINETHICK2{XG51};
筹码集中度:=COST(10)/(COST(80)-COST(10)){XG51};
筹码1:=EMA(筹码集中度,1)*10,LINETHICK2{XG51};
筹码3:=EMA(筹码集中度,3)*10,LINETHICK2{XG51};
筹码7:=EMA(筹码集中度,7)*10,LINETHICK1{XG51};
筹码21:=EMA(筹码集中度,21)*10,LINETHICK1{XG51};
筹码34:=EMA(筹码集中度,34)*10,LINETHICK1{XG51};
筹码55:=EMA(筹码集中度,55)*10,LINETHICK1{XG51};
筹码90:=EMA(筹码集中度,89)*10,LINETHICK1{XG51};
N1:=9;N2:=5{XG51};
mtm:=C-REF(C,1){XG51};
主力轨迹:=100*EMA(EMA(MTM,N1),N1)/EMA(EMA(ABS(MTM),N1),N1),COLORBLUE{XG51};
散户轨迹:=100-MA(主力轨迹,N2),COLORFFFF00{XG51};
VAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1){XG51};
主力进场:=IF(VAR5>REF(VAR5,1),VAR5,0),COLORWHITE,NODRAW{XG51};
做多吸筹:=IF(筹码1>筹码90,(筹码1-筹码90)*100,0),COLORWHITE,LINESTICK{XG51};
底仓高效吸筹:IF(筹码1>筹码90 AND MA(C,34)>REF(MA(C,34),1) AND 超级疯牛潜力股>REF(超级疯牛潜力股,1),做多吸筹,0),COLORFF6100,NODRAW{XG51};
STICKLINE(筹码55>REF(筹码55,1)AND (MA(C,34)>REF(MA(C,34),1))AND 超级疯牛潜力股>REF(超级疯牛潜力股,1),0,做多吸筹,3,0),COLORCYAN{XG51};
VAR21:=SMA(ABS(HIGH-VAR1),13,1)/SMA(MIN(HIGH-VAR1,0),10,1){XG51};
VAR31:=EMA(VAR21,10){XG51};
VAR41:=HHV(HIGH,33){XG51};
VAR51:=EMA(IF(HIGH>=VAR41,VAR31,0),3){XG51};
主力抬轿:IF(VAR51<REF(VAR51,1)AND(跌幅<3),筹码进,0),COLORWHITE,NODRAW{XG51};
STICKLINE(VAR51>REF(VAR51,1),0,VAR51,3,0 ),COLORCYAN{XG51};
浮筹1:=IF(((C<O)AND(C>疯牛马线)AND(涨幅20<50)AND(主力抬轿>0)AND(主力进场>REF(主力进场,1))),0,VAR51),COLORFFFF00,NODRAW{XG51};
浮筹2:=IF(((C>REF(C,1))AND(C>疯牛马线)AND(涨幅20<50)AND(主力抬轿<=0)AND(主力进场>REF(主力进场,1))),0,VAR51),COLORFFCC00,NODRAW{XG51};
连续下跌:=COUNT(REF(C,2)>REF(C,1),4)>=2{XG51};
连续缩量:=COUNT(V<=REF(V,1),4)>=2{XG51};
VAR1D:=EMA(CLOSE,2)-EMA(CLOSE,89){XG51};
VAR1E:=EMA(VAR1D,30){XG51};
VAR1F:=2*(VAR1D-VAR1E)*10{XG51};
VAR20:=POW(VAR1F,3)*0.1+POW(VAR1F,2){XG51};
VAR25:=IF(YEAR<2008 AND VAR1F>0.015,VAR20,0)/45{XG51};
VAR26:=EMA(CLOSE,2)-EMA(CLOSE,150){XG51};
VAR27:=EMA(VAR26,100){XG51};
VAR28:=2*(VAR26-VAR27){XG51};
VAR29:=POW(VAR28,3)*0.1+POW(VAR28,1){XG51};
AB:=IF( VAR28>0.1 AND 持币阶段=双线合一关注 AND 涨幅>0,VAR29,0)*3{XG51};
主力抢筹力度:AB,VOLSTICK,COLORFF0080{XG51};
洗筹1:=IF((REF(涨幅>5,1)AND(REF(涨幅1,1))AND(振幅<2)AND((涨幅<2)AND(跌幅<2)AND(涨幅20<28)AND(主升持股波段=持币阶段))),18,0),COLORBLUE,NODRAW{XG51};
洗筹2:=IF((REF(涨幅>2,1)AND(涨幅<2)AND(跌幅<2)AND(主升持股波段>REF(主升持股波段,1))),18,0),COLORBLUE,NODRAW{XG51};
STICKLINE(TGLXS>0 AND 80+TGLXS<TYCFX AND MA(C,34)>REF(MA(C,34),1) AND 80+REF(TGLXS,1)>=REF(TYCFX,1),0,(80+ABS(TGLXS))*3,3,0),COLORFFFF00{XG51};
底仓吸筹阶段:=(TFXXS>80 AND 超牛拉升>REF(超牛拉升,1) AND TFXXS>REF(TFXXS,1)AND(C<疯牛马线)AND MA(CLOSE,34)>REF(MA(CLOSE,34),1)){XG51};
STICKLINE(TFXXS>80 AND 超牛拉升>REF(超牛拉升,1) AND TFXXS>REF(TFXXS,1)AND(C<疯牛马线)AND MA(CLOSE,34)>REF(MA(CLOSE,34),1),0,-128,4,0),COLORFF0080{XG51};
主力抢筹阶段:IF(TFXXS>80 AND 超牛拉升>REF(超牛拉升,1)AND(C>疯牛马线)AND(主力抬轿>0)AND MA(CLOSE,34)>REF(MA(CLOSE,34),1),-158,0),COLORFF00FF,NODRAW{XG51};
STICKLINE(TFXXS>80 AND 超牛拉升>REF(超牛拉升,1)AND(C>疯牛马线)AND(主力抬轿>0)AND MA(CLOSE,34)>REF(MA(CLOSE,34),1),0,-158,4,0),COLORFF00FF{XG51};
加速见顶阶段:IF((筹码进<REF(筹码进,1))AND(主升持股波段>REF(主升持股波段,1))AND(狂飙主升>REF(狂飙主升,1))AND(C>疯牛马线)AND(涨幅20>40)AND(MA(CLOSE,34)>REF(MA(CLOSE,34),1)),-158,0),COLORBLUE,NODRAW{XG51};
STICKLINE((筹码进<REF(筹码进,1))AND(主升持股波段>REF(主升持股波段,1))AND(狂飙主升>REF(狂飙主升,1))AND(C>疯牛马线)AND(涨幅20>40)AND(MA(CLOSE,34)>REF(MA(CLOSE,34),1)),0,-158,4,0),COLORBLUE{XG51};
筹码松动:IF((筹码进<REF(筹码进,1))AND(涨幅10>40)AND(超牛拉升>REF(超牛拉升,1))AND(主力抬轿<=0)AND(C>疯牛马线)AND(MA(CLOSE,34)>REF(MA(CLOSE,34),1)),-158,0),COLORYELLOW,NODRAW{XG51};
STICKLINE((筹码进<REF(筹码进,1))AND(涨幅10>40)AND(超牛拉升>REF(超牛拉升,1))AND(主力抬轿<=0)AND(C>疯牛马线)AND(MA(CLOSE,34)>REF(MA(CLOSE,34),1)),0,-158,4,0),COLORYELLOW{XG51};
出:=IF((VAR51>REF(VAR51,1))OR((涨幅10>50)AND(跌幅>4)AND(O>=REF(C,1))AND(C>疯牛马线)),-筹码进+超牛拉升,0){XG51};
出货:IF((底仓高效吸筹=0)AND(底仓吸筹阶段=0),出,0),COLORCYAN,NODRAW{XG51};
STICKLINE((VAR51>REF(VAR51,1))OR((涨幅10>50)AND(跌幅>4)AND(O>=REF(C,1))AND(C>疯牛马线)),0,出货,4,0 ),COLORCYAN{XG51};
最后清仓:IF((筹码进<REF(筹码进,1))AND(主升持股波段>REF(主升持股波段,1))AND(狂飙主升<REF(狂飙主升,1))AND(C>疯牛马线)AND(涨幅20>40)AND(MA(CLOSE,34)>REF(MA(CLOSE,34),1)),-158,0),COLORCYAN,NODRAW{XG51};
STICKLINE((筹码进<REF(筹码进,1))AND(主升持股波段>REF(主升持股波段,1))AND(狂飙主升<REF(狂飙主升,1))AND(C>疯牛马线)AND(涨幅20>40)AND(MA(CLOSE,34)>REF(MA(CLOSE,34),1)),0,-158,4,0),COLORCYAN{XG51};
XA_1:=(C-REF(C,1))*100/REF(C,1)>2{XG51};
XA_2:=5{XG51};
XA_3:=3{XG51};
XA_4:=(EMA(CLOSE,5)*7+EMA(CLOSE,10)*3)/10{XG51};
XA_5:=IF(YEAR>=2025,0,1){XG51};
XA_6:=EMA(EMA(LOW,21)+6.8*STD(LOW,2),55){XG51};
XA_7:=EMA(CLOSE/XA_6*(1.88*CLOSE+LOW+OPEN)/2.75,3){XG51};
XA_8:=(XA_7-XA_6)/XA_6/2{XG51};
XA_9:=EMA(XA_7-XA_8*XA_7,5)*XA_5{XG51};
XA_10:=EMA(CLOSE,34)-3*STD(CLOSE,34){XG51};
主升浪:=IF(XA_4>XA_9,XA_4,XA_9)*XA_5,COLORCYAN,LINETHICK3{XG51};
狂飙主升浪:=IF(主升浪>REF(主升浪,1),主升浪,主升浪),COLORWHITE,LINETHICK3{XG51};
下轨:=IF(XA_9<XA_4 AND XA_9<CLOSE*0.15,EMA(CLOSE,34)-3*STD(CLOSE,34),XA_9),COLORFF0080,LINETHICK3{XG51};
角度:=ATAN((狂飙主升浪/REF(狂飙主升浪,1)-1)*100)*180/3.1416{XG51};
角度选股:=BARSLASTCOUNT(狂飙主升浪>下轨)=1,NODRAW,COLORWHITE{XG51};
超牛警戒线:100,LINETHICK2,COLORFFFF00{XG51};
超牛全仓出击:=IF(主力抢筹力度>100,8,0),COLORWHITE,LINETHICK2{XG51};
STICKLINE(超牛全仓出击,0,主力抢筹力度,3,0),COLORWHITE,LINETHICK3{XG51};
STICKLINE(超牛全仓出击,主力抢筹力度/3,主力抢筹力度/3*2,3,0),COLORFF0080,LINETHICK3{XG51};
STICKLINE(超牛全仓出击,主力抢筹力度/3*2,主力抢筹力度,3,0),COLORBLUE,LINETHICK3{XG51};
STICKLINE(VAR51<REF(VAR51,1)AND(跌幅<3),0,筹码进,3,0),COLORWHITE{XG51};
全仓出击:FILTER((超牛全仓出击>5)AND(狂飙主升浪>下轨),25),COLORWHITE,LINETHICK2{XG51};
DRAWTEXT(全仓出击>0.6 AND 狂飙主升浪>下轨 AND 主升持股波段>REF(主升持股波段,1),主力抢筹力度*2.35,'全仓出击'),COLORBLUE{XG51};
DRAWICON(全仓出击>0.6 AND 狂飙主升浪>下轨 AND 主升持股波段>REF(主升持股波段,1),主力抢筹力度*1.25,25){XG51};
DRAWTEXT(TGLXS>0 AND 80+TGLXS<TYCFX AND MA(CLOSE,34)>REF(MA(CLOSE,34),1) AND 80+REF(TGLXS,1)>=REF(TYCFX,1),(100+ABS(TGLXS))*5,'主力资金大规模净流入'),COLORWHITE{XG51};
0,COLORFFFFFF,LINETHICK1{XG51};
双过百:=IF(主力抢筹力度>=100 AND 主力抬轿>=100 AND C>超牛分界线 AND 持股时段<-18,1,0){XG51};
双过百次数:=COUNT(双过百,BARSSINCE(双过百)+1){XG51};
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.20,0.01,0,SUM(双过百,15)),COLORBLUE{XG51};
DRAWNUMBER(双过百,主力抢筹力度*1.35,SUM(双过百,15)),COLORBLUE{X!G.5_1!C!N!{};
通达信擒贼先擒王主图未加密选股指标公式源码
源码正文:
N:=11{XG51};
P:=6{XG51};
P1:=8{XG51};
M:=2{XG51};
M1:=3{XG51};
{XG51};
DRAWGBK(CURRBARSCOUNT=1 , RGB(0,0,0),RGB(0,0,0),0,'1',0){XG51};
{XG51};
ZT:=REF(C,1)*1.1-C<0.01 AND H=C{XG51};
CC:=Abs((2*CLOSE+HIGH+LOW)/4-ma(CLOSE,20))/MA(CLOSE,20){XG51};
DD:=dma(CLOSE,CC){XG51};
上:(1+7/100)*DD,COLORRED{XG51};
DRAWTEXT(ISLAstBAR,上,' ←加速线'),COLORRED {XG51};
乖离涨停2:=O>上 AND ZT{XG51};
DRAWTEXT(乖离涨停2,L,'妖股'),NODRAW {XG51};
{XG51};
AA05:MA(C,5),COLORRED ,NODRAW {XG51};
五日乖离率:=(C-AA05)/AA05*100{XG51};
AA30:MA(C,30)COLORYELLOW,NODRAW {XG51};
三拾日乖离率:=(C-AA30)/AA30*100,LINETHICK0{XG51};
MR:=COUNT(crOSS(五日乖离率,0),3)>=1 AND 三拾日乖离率>REF(三拾日乖离率,1) AND AA05>REF(AA05,1) AND (C/REF(C,1)-1)*100>5 AND REF(C,1)<AA30{XG51};
买入:=FILTER(MR,10){XG51};
DRAWTEXT(买入,LOW*0.95,'买入'),COLORBLUE{XG51};
BB05:=ATAN((AA05/REF(AA05,1)-1)*100)*180/3.1416{XG51};
速度5:=SMA(ema((AA05-REF(AA05,1))/REF(AA05,1),3)*100,3,1){XG51};
加速度5:=EMA((速度5-REF(速度5,1)),3),LINETHICK0{XG51};
AA10:MA(C,10)COLORLIMAGENTA ,LINETHICK2,NODRAW{XG51};
加仓:=FILTER(COUNT(CROSS(BB05,30),5)>=1 AND AA05>REF(AA05,1) AND 三拾日乖离率>REF(三拾日乖离率,1) AND AA10>REF(AA10,1)AND 加速度5>REF(加速度5,1) AND 速度5>REF(速度5,1) ,10){XG51};
DRAWTEXT(加仓,LOW*0.98,'↖加仓'),COLORWHITE{XG51};
飞天:MA(CLOSE,25)+MA(CLOSE,25)*20/100,COLORLIMAGENTA ,LINETHICK1{XG51};
DRAWTEXT(ISLASTBAR,飞天,' ←成妖线'),COLORLIMAGENTA{XG51};
STICKLINE(C>O,C,O,1,0),COLORBLUE {XG51};
STICKLINE(C>O,H,L,0,0),COLORWHITE{XG51};
STICKLINE(C<O,C,O,2,0),COLORGREEN{XG51};
STICKLINE(C<O,H,L,0,0),COLORGREEN{XG51};
C2:=REF(C,1){XG51};
涨停:=IF((C-C2)*100/C2>=(10-0.01*100/C2),1,0){XG51};
STICKLINE(涨停,OPEN,CLOSE,2,0),COLORBLUE{XG51};
STICKLINE(涨停,H,L,0,0),COLORLIMAGENTA{XG51};
bbi:(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4,COLORBLacK,LINETHICK1{XG51};
UPR:BBI+P*STD(BBI,N),COLORGREEN,LINETHICK1{XG51};
DWN:BBI-P*STD(BBI,N),COLORYELLOW ,NODRAW , {XG51};
MA1:MA(CLOSE,P1),COLORWHITE,LINETHICK1{XG51};
买线:=EMA(C,2){XG51};
卖线:=EMA(SLOPE(C,21)*20+C,42){XG51};
指导线: EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4,2),COLORBLUE,LINETHICK1{XG51};
界: MA(CLOSE,27),COLORLIMAGENTA ,LINETHICK1{XG51};
BU:=CROSS(指导线,界){XG51};
dif:=EMA(CLOSE,12)-EMA(CLOSE,26){XG51};
DEA:=EMA(DIF,9){XG51};
AAA:=(DIF-DEA)*2{XG51};
ZT1:=C>=REF(C,1)*1.097 {XG51};
起爆:=AAA>=2*REF(AAA,1) AND ZT1 AND ABS(AAA)<=1 AND C>MA(C,20) AND C<MA(C,20)*1.2 {XG51};
DRAWTEXT(起爆,L*0.99,'↖暴涨'),COLORBLUE,LINETHICK3{XG51};
VAR1:=EMA(EMA(EMA((CLOSE*6+LOW*2+HIGH+OPEN)/10,M),M),M){XG51};
短线:= VAR1-REF(VAR1,1)+VAR1{XG51};
中短:= MA(短线,M1){XG51};
DRAWTEXT(CROSS(短线,中短),(LOW * 0.995),'★'),COLORBLUE,LINETHICK3{XG51};
TJ:=vol>=REF(V,1)*1.91 AND C>REF(C,1)*1.01{XG51};
DRAWTEXT(TJ,LOW*1.1,'量'),COLORLIMAGENTA {XG51};
STICKLINE(TJ,OPEN,CLOSE,2.2,2),COLORLIMAGENTA {XG51};
K1:=SUMBARS(TJ,1){XG51};
{XG51};
HM1:=ABS(((3.48*CLOSE+HIGH+LOW)/4-EMA(CLOSE,20))/EMA(CLOSE,20)){XG51};
HM2:=DMA(((2.15*CLOSE+LOW+HIGH)/4),HM1){XG51};
走强线:EMA(HM2,200)*1.118 ,LINETHICK1,COLORWHITE{XG51};
DRAWTEXT(ISLASTBAR,走强线,' ←走强线'),COLORWHITE{XG51};
{XG51};
VAR3AA:=IF((CLOSE>REF(CLOSE,1)),88,0){XG51};
VAR4AA:=IF(((CLOSE)/(REF(CLOSE,1))>1.05) AND ((HIGH)/(CLOSE)<1.01) AND (VAR3AA>0),91,0){XG51};
DRAWTEXT(FILTER((VAR4AA>90),45),(LOW)*(0.90),'★波段开始 '),COLORLIMAGENTA{XG51};
DRAWTEXT(FILTER((VAR4AA>90),35),(LOW)*(0.8),'★强势拉升'),COLOR00FFFF{XG51};
B:=MA(CLOSE,17)+MA(CLOSE,17)-REF(MA(CLOSE,17),1){XG51};
分水岭:IF(MA(CLOSE,17)<B,B,MA(CLOSE,17)),COLORFF00FF,NODRAW{XG51};
操作线:分水岭-(EMA(C,3)-分水岭),COLORCYAN ,LINETHICK1{XG51};
DRAWTEXT(ISLASTBAR,操作线,' ←拐点线'),COLORCYAN{XG51};
VAR4:=(((((REF(C,1)) * (1.1)) - C) < (0.01)) AND (H = C)){XG51};
E5:(EMA(C,5)),LINETHICK0 ,COLORRED{XG51};
R:=(20 * H + 19 * (REF(H,1)) + 18 * (REF(H,2)) + 17 * (REF(H,3))){XG51};
R1:=16*(REF(H,4)) +15*(REF(H,5))+14 * (REF(H,6)) + 13 * (REF(H,7)){XG51};
R2:=12*(REF(H,8))+11*(REF(H,9))+10 * (REF(H,10)) + 9 * (REF(H,11)){XG51};
R3:=8 * (REF(H,12)) + 7 * (REF(H,13)) +6*(REF(H,14))+5*(REF(H,15)){XG51};
R4:=4 * (REF(H,16)) + 3 * (REF(H,17)) +2 * (REF(H,18)) + REF(H,20){XG51};
VAR5:=(R+R1+R2+R3+R4)/(210){XG51};
VAR6:=(EMA(VAR5,90)){XG51};
妖股线:(VAR6 + (((C - (VAR6)) * C) - (VAR6)) / (VAR6)),LINETHICK0 {XG51};
VAR8:=(CROSS(妖股线,E5)){XG51};
DRAWTEXT((VAR8) AND (VAR4),L,'↖后市有牛'),LINETHICK3,COLORWHITE {XG51};
DOWN:=OPEN>CLOSE{XG51};
F:=COUNT(DOWN,6)=6{XG51};
AD:=COUNT(C<REF(C,1) ,6)=6{XG51};
BB:=(C<MA(C,30)*0.9){XG51};
E:=F AND AD AND BB{XG51};
AA:="macd.DEA"(12,26,9)<=0.6{XG51};
ZT4:=C>=REF(C,1)*1.099 AND C< MA(C,20)*1.15 AND C>MA(C,20) AND "MACD.DEA"(12,26,9)<=0.3 AND"MACD.DEA"(12,26,9)>=0{XG51};
ZT3:=C>=REF(C,1)*1.099 AND C< MA(C,20)*1.16 AND C>MA(C,20) AND AA AND C>=HHV(C,20) {XG51};
DRAWTEXT(ZT4 ,L*0.84,'C级起暴点'){XG51};
DRAWTEXT(ZT3,L*0.90,'A级起暴点'){X=G_5_1=C=N={};
重要申明:本站所有的文章、图片、评论等,均由网友发表或上传并维护或收集自网络,属个人行为,与本站立场无关。
如果侵犯了您的权利,请与我们联系,我们将在24小时内进行处理、任何非本站因素导致的法律后果,本站均不负任何责任。
选股无忧网是股票软件指标公式分享平台,不开展相关证券业务,平台展示的所有股票资料由网络收集,不保障实时性和真实性,请勿以此为依据进行股票交易。
联系QQ:875328188 | 邮箱:875328188@qq.com
Copyright © 2002-2021 选股无忧网桂ICP备18001383号-7