最强选股战法推荐:
通达信主升浪骑马主图未加密选股指标公式源码
源码正文:
M1:ema(CLOSE,5),COLORBLUE{XG51};
M2:Ema(CLOSE,13),COLORRED,LINETHICK1{XG51};
M3:EMA(M2,34),COLORMAGENTA,LINETHICK1{XG51};
M4:EMA(M2,55),COLORYELLOW,LINETHICK1{XG51};
M5:EMA(CLOSE,114),COLORLIBLUE,LINETHICK2{XG51};
TYX3:=MA(REF(HHV((C+L+O+H)/4,30),1),3){XG51};
TYX4:=MA((C+L+O+H)/4,13){XG51};
TYX5:=EMA((C+L+O+H)/4,21){XG51};
stICKLINE(C<TYX5 AND C>O,H,L,0,0),COLORWHITE{XG51};
STICKLINE(C<TYX5 AND C>O,C,O,3,1),COLORWHITE{XG51};
STICKLINE(C<TYX5 AND C<O,H,L,0,0),COLOR007700{XG51};
STICKLINE(C<TYX5 AND C<O,C,O,3,0),COLOR005500{XG51};
STICKLINE(C<TYX5 AND C<O,C,O,2,0),COLOR006600{XG51};
STICKLINE(C<TYX5 AND C<O,C,O,1,0),COLOR007700{XG51};
STICKLINE(C>TYX5 AND C<O,H,L,0,0),COLORFFDD44{XG51};
STICKLINE(C>TYX5 AND C<O,C,O,3,0 ),COLORFF7700{XG51};
STICKLINE(C>TYX5 AND C<O,C,O,2,0 ),COLORFFAA22{XG51};
STICKLINE(C>TYX5 AND C<O,C,O,1 ,0 ),COLORFFDD44{XG51};
STICKLINE(C>TYX5 AND C>O,H,L,0,0 ),COLOR00EEFF{XG51};
STICKLINE(C>TYX5 AND C>O,C,O,3,0 ),COLOR00AAFF{XG51};
STICKLINE(C>TYX5 AND C>O,C,O,2,0 ),COLOR00CCFF{XG51};
STICKLINE(C>TYX5 AND C>O,C,O,1,0 ),COLOR00EEFF{XG51};
STICKLINE(C>TYX4 AND C>O,H,L,0,0),COLORFF66AA{XG51};
STICKLINE(C>TYX4 AND C>O,C,O,3,0 ),COLORFF11FF{XG51};
STICKLINE(C>TYX4 AND C>O,C,O,2,0 ),COLORFF44FF{XG51};
STICKLINE(C>TYX4 AND C>O,C,O,1,0 ),COLORFF66FF{XG51};
STICKLINE(C>TYX3 AND C>O,H,L,0,0),COLOR0000DD{XG51};
STICKLINE(C>TYX3 AND C>O,C,O,3,0),COLOR000099{XG51};
STICKLINE(C>TYX3 AND C>O,C,O,2,0),COLOR0000BB{XG51};
STICKLINE(C>TYX3 AND C>O,C,O,1,0),COLOR0000DD{XG51};
STICKLINE(HIGH=LOW AND CLOSE=OPEN AND (CLOSE/REF(CLOSE,1))>1.048,HIGH,LOW,3,0) ,COLORWHITE{XG51};
STICKLINE(HIGH=LOW AND CLOSE=OPEN AND (REF(CLOSE,1)/CLOSE)>1.048,HIGH,LOW,3,0) ,COLOR00FF00{XG51};
STICKLINE(REF(COUNT(C<TYX3,5)=5,1) AND C>TYX3 AND C>O,C,O,1,0),COLOR00CCFF{XG51};
DRAWICON((zig(3,5)>REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)<=REF(ZIG(3,5),2)) AND
(REF(ZIG(3,5),2)<=REF(ZIG(3,5),3)),LOW*0.99,1){XG51};
DRAWICON((ZIG(3,5)<REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)>=REF(ZIG(3,5),2)) AND
(REF(ZIG(3,5),2)>=REF(ZIG(3,5),3)),H,2){XG51};
AZ6:=(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))){XG51};
B7:=(10){XG51};
DRAWTEXT(crOSS(AZ6,B7),L,'←底'),COLORBLUE{XG51};
VARC:=(ZIG(3,5)>REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)<=REF(ZIG(3,5),2)) AND
(REF(ZIG(3,5),2)<=REF(ZIG(3,5),3)){XG51};
VARD:=(ZIG(3,5)<REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)>=REF(ZIG(3,5),2)) AND
(REF(ZIG(3,5),2)>=REF(ZIG(3,5),3)){XG51};
DRAWTEXT((VARC=1),L,'←朝霞'),COLOR0000FF{XG51};
DRAWTEXT((VARD=1),H,'←跑'),COLOR00FF00{XG51};
HZ:=EMA(CLOSE,10){XG51};
短波:=EMA(HZ,1),COLORWHITE,LINETHICK1{XG51};
中波:=EMA(HZ,26),COLORFF00FF,LINETHICK1{XG51};
均线148天:=EMA(C,148),POINTDOT,LINETHICK1,COLORCYAN{XG51};
成本:=SUM(AMOUNT,0)/SUM(vol,0)/100,COLORBLUE ,LINETHICK2 {XG51};
HZ2:=EMA(HZ,8),COLORWHITE,LINETHICK2{XG51};
HZ4:=EMA(HZ,39),COLORCYAN,LINETHICK2{XG51};
A2:=STICKLINE(短波>HZ2,短波,HZ2,3,1),COLORBLUE{XG51};
A3:=STICKLINE(中波>HZ4,中波,HZ4,3,1),COLORCYAN{XG51};
买入:=IF(CROSS(短波,HZ2),C,0){XG51};
DRAWTEXT(买入>0,LOW*0.92,'买入'),COLORBLUE{XG51};
VARE:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20{XG51};
VARF:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1){XG51};
VAR10:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1){XG51};
VAR11:=VARF<REF(VAR10,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1){XG51};
DRAWTEXT(VAR11 AND COUNT(VAR11,30)=1,LOW*0.83,'大资金'),LINETHICK1,COLORRED{XG51};
VAR12:=(HIGH+LOW+CLOSE)/3{XG51};
VAR13:=(VAR12-MA(VAR12,14))/(0.015*AVEDEV(VAR12,14)){XG51};
VAR14:=(VAR12-MA(VAR12,70))/(0.015*AVEDEV(VAR12,70)){XG51};
VAR15:=IF(VAR13>=150 AND VAR13<200 AND VAR14>=150 AND VAR14<200,10,0){XG51};
VAR16:=IF(VAR13<=-150 AND VAR13>-200 AND VAR14<=-150 AND VAR14>-200,-10,VAR15){XG51};
VAR17:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100{XG51};
VAR18:=100-Abs(VAR17){XG51};
VAR19:=IF(VAR18<90,VAR18,100){XG51};
VAR1A:=IF(VARE>0,VARE,0){XG51};
VAR1B:=IF(VAR14>=200 AND VAR13>=150,15,IF(VAR14<=-200 AND VAR13<=-150,-15,VAR16))+60{XG51};
VAR1C:=VAR1A>48 AND VAR1B>60 AND VAR19<100{XG51};
DRAWTEXT(VAR1C AND COUNT(VAR1C,30)=1,LOW*0.94,'大笔成交') COLORRED{XG51};
X:=BArslAST(REF(CROSS(C,MA(C,120)),1)) AND CROSS(MA(C,20),MA(C,120)){XG51};
DRAWTEXT(X,MA(C,120)-0.07,'牛股'),COLORWHITE{XG51};
VAR111:=MA(LOW,1){XG51};
VAR222:=MA(HIGH,2){XG51};
VAR333:=MA(CLOSE,2){XG51};
VAR777:=REF(VAR333,1){XG51};
VAR888:=SMA(MAX(VAR333-VAR777,0),13,1)/SMA(ABS(VAR333-VAR777),13,1)*100{XG51};
VAR444:=(VAR333-LLV(VAR111,9))/(HHV(VAR222,9)-LLV(VAR111,9))*100{XG51};
VAR555:=SMA(VAR444,3,1){XG51};
【阳】:=SMA(VAR555,3,1){XG51};
Y1:=SMA(【阳】,3,1){XG51};
VAR666:=(HHV(VAR222,9)-VAR333)/(HHV(VAR222,9)-LLV(VAR111,9))*100{XG51};
【阴】:=SMA(VAR666,3,1){XG51};
Y2:=SMA(【阴】,3,1){XG51};
VARBBB:=MA(INDEXC,3)*100/MA(INDEXC,10)-100{XG51};
VAREEE:=IF(VARBBB>10,10,VARBBB){XG51};
VARFFF:=IF(VAREEE<-10,-10,VAREEE){XG51};
VAR122:=REF(VARBBB,1){XG51};
VAR133:=100*(VAR333-REF(VAR333,1))/REF(VAR333,1){XG51};
VAR144:=INDEXC{XG51};
VAR155:=REF(VAR144,1){XG51};
VAR166:=100*(VAR144-VAR155)/VAR144{XG51};
VAR177:=MA(VAR133,3){XG51};
VAR188:=MA(VAR166,3){XG51};
VAR199:=(3*CLOSE+VAR111+OPEN+HIGH)/6{XG51};
VAR1AA:=(20*VAR199+19*REF(VAR199,1)+18*REF(VAR199,2)+17*REF(VAR199,3)+16*REF(VAR199,4)+15*REF(VAR199,5)+14*REF(VAR199,6)+13*REF(VAR199,7)+12*REF(VAR199,8)+11*REF(VAR199,9)+10*REF(VAR199,10)+9*REF(VAR199,11)+8*REF(VAR199,12)+7*REF(VAR199,13)+6*REF(VAR199,14)+5*REF(VAR199,15)+4*REF(VAR199,16)+3*REF(VAR199,17)+2*REF(VAR199,18)+REF(VAR199,20))/210{XG51};
VAR1BB:=MA(VAR1AA,12){XG51};
VAR1CC:=EMA(VAR1AA,5){XG51};
VAR1DD:=ABS(VAR1AA-VAR1BB){XG51};
VAR1EE:=REF(VAR333,1)*0.015{XG51};
VAR1FF:=REF(INDEXC,1){XG51};
VAR244:=ZIG(3,10)>REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)<REF(ZIG(3,10),2){XG51};
VAR255:=ZIG(3,10)<REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)>REF(ZIG(3,10),2){XG51};
VAR266:=MA(CLOSE,26){XG51};
VAR277:=VAR266+2*STD(VAR333,26){XG51};
VAR288:=VAR266-2*STD(VAR333,26){XG51};
VAR2BB:=IF(VAR244 AND VAR111<VAR288,1,0){XG51};
VAR2CC:=IF(VAR255*VAR111 AND VAR222>VAR277,2,VAR2BB){XG51};
VAR2DD:=IF(VAR2CC=1,80,45){XG51};
VAR2EE:=IF(VAR2CC=2,0,VAR2DD){XG51};
大户1:=EMA(100*(CLOSE-LLV (LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3){XG51};
大户:=MA(大户1,2){XG51};
散户1:=(WINNER(C*1.1)-WINNER(C*0.9))*100{XG51};
散户:=MA(散户1,12){XG51};
VAR1:=1{XG51};
主力1:=(100-VAR1)*VAR1{XG51};
主力:=MA(主力1,2){XG51};
游资1:=MA(WINNER(CLOSE*0.95)*100,3)*VAR1*1.1{XG51};
游资:=MA(游资1,2){XG51};
主升浪:= (CROSS(大户,主力) AND (MA(C,20)-LLV(MA(C,20),30))/ LLV(MA(C,20),30)*100<10
AND 主力>50 AND (主力-REF(主力,50)) >20 AND (C-MA(C,20))/MA(C,20)*100 <12 AND
散户<70) OR (CROSS(大户,主力) AND (MA(C,20)-LLV(MA(C,20),30))/ LLV(MA(C,20),30)*100<10
AND 主力>70 AND (主力-REF(主力,50)) >30 AND (C-MA(C,20))/MA(C,20)*100 <20 AND
散户<70 ) OR (CROSS(游资,主力) AND 大户>80 AND 散户>80 AND (REF(主力,100)-主力)/主力*100 >80) {XG51};
DRAWTEXT(主升浪, LOW*0.95,'主升浪'),COLORBLUE{XG51};
大黑马飚升:= CROSS(游资,散户) AND REF(主力,5)>75 AND ((游资-REF(游资,3)) /3>8
OR (大户-REF(大户,3)) /3>7)AND (HHV(HIGH,100)-C)/C*100<40{XG51};
DRAWTEXT(大黑马飚升, LOW*0.94,'黑马飚升'),COLORBLUE{XG51};
黑马飚升:= (CROSS(大户,散户) AND REF(主力,5)>75 AND ((游资-REF(游资,3)) /3>6
OR (大户-REF(大户,3)) /3>6)AND (HHV(HIGH,50)-C)/C*100<40) OR ( CROSS(游资,散户)
AND REF(主力,5)>50 AND ((游资-REF(游资,3)) /3>6 OR
(大户-REF(大户,3)) /3>6)AND (HHV(HIGH,50)-C)/C*100<40){XG51};
长线大黑马:= CROSS(游资,大户) AND 游资>90 AND C>REF(C,20) AND 主力<30{XG51};
DRAWTEXT(长线大黑马, LOW*0.90,'长线黑马'),COLORWHITE{XG51};
MA5:MA(CLOSE,5),POINTDOT,COLOR000000,LINETHICK1{XG51};
牛熊线:EMA(C,250),CIRCLEDOT,COLOR999999{XG51};
界:MA(CLOSE,21){XG51};
风险线:= MA(CLOSE,13),LINETHICK2,COLORCYAN{XG51};
止损线:= MA(CLOSE,27),LINETHICK0,COLOREE00EE{XG51};
VARA:=(100 - ((90 * (HHV(HIGH,21) - CLOSE)) / (HHV(HIGH,21) - LLV(LOW,21)))){XG51};
VAR2:=(100 - ((90 * (HHV(HIGH,21) - CLOSE)) / (HHV(HIGH,21) - LLV(LOW,21)))){XG51};
VAR3:=(100 - MA(((100 * (HHV(HIGH,6) - CLOSE)) / (HHV(HIGH,6) - LLV(LOW,6))),34)){XG51};
DRAWTEXT(CROSS(VAR2,MA(VAR3,6)),(LOW * 0.988),'B'),COLORBLUE,LINETHICK3{XG51};
DRAWTEXT(CROSS(MA(VAR3,6),VARA),(HIGH * 1.06),'S'),COLOREE00EE,LINETHICK2{XG51};
DRAWTEXT(CROSS(MA5,界),(LOW * 0.96),'底背离'){XG51};
DRAWTEXT(CROSS(C,止损线)AND 止损线>风险线,(LOW * 0.98),'主升浪'),COLORBLUE,LINETHICK3{X_G_5~1_C_N_{};
通达信短线猎枪主图未加密选股指标公式源码
源码正文:
P5:=49{XG51};
牛熊界:ma(CLOSE,P5),LINETHICK1,COLORRED{XG51};
KS:=((CLOSE-ema(CLOSE,13))/EMA(CLOSE,13))*(-100){XG51};
趋势线:=EMA(KS/10+EMA(CLOSE,10),3){XG51};
AA:= -100*(趋势线-CLOSE)/趋势线{XG51};
ac:=EMA(AA,5){XG51};
AG:=SUM((vol/FINANCE(7)),1){XG51};
ssl:=EMA(CLOSE,3){XG51};
MMV:=EMA(SLOPE(CLOSE,22)*20+CLOSE,55){XG51};
MM:=1{XG51};
SA:=0.985{XG51};
SS:=MA(CLOSE,5){XG51};
DD:=MA(CLOSE,13){XG51};
GG:=MA(CLOSE,21){XG51};
短趋势:IF(SS>MM,SSL,SA),LINETHICK1,COLORRED{XG51};
空方:IF(SSL>MM,MA(MMV,8),SA),LINETHICK1,COLORFFFFFF{XG51};
多方:IF(SSL>MM,MA(MMV,16),SA),LINETHICK1,COLORFF00FF{XG51};
VAR2Y:=((CLOSE - REF(CLOSE,1)) / REF(CLOSE,1))*100{XG51};
VAR3Y:=((CLOSE - REF(OPEN,29)) / REF(OPEN,29))*100{XG51};
VAR4Y:=REF(CLOSE,1){XG51};
VAR5Y:=((SMA(MAX((CLOSE - VAR4Y),0),6,1) / SMA(Abs((CLOSE - VAR4Y)),6,1)) * 100){XG51};
VAR6Y:=((SMA(MAX((CLOSE - VAR4Y),0),12,1) / SMA(ABS((CLOSE - VAR4Y)),12,1)) * 100){XG51};
VAR7Y:=((SMA(MAX((CLOSE - VAR4Y),0),24,1) / SMA(ABS((CLOSE - VAR4Y)),24,1)) * 100){XG51};
VAR8Y:=(((CLOSE - LLV(LOW,45)) / (HHV(HIGH,45) - LLV(LOW,45))) * 100){XG51};
VAR9Y:=SMA(VAR8Y,3,1){XG51};
VARAY:=SMA(VAR9Y,3,1){XG51};
VARBY:=((3 * VAR9Y) - (2 * VARAY)){XG51};
VARCY:=crOSS(VAR5Y,10) AND VAR3Y<-28*20{XG51};
VARDY:=((100 - CROSS(76,VAR5Y)) AND VAR3Y>5*20){XG51};
DRAWICON(CROSS(76,VAR5Y) AND VAR3Y>5,HIGH*1.0099,5),COLORFFFFFF{XG51};
VAREY:=(CROSS(VAR9Y,VARAY) AND VARAY<10 AND VAR3Y<-30 AND VAR2Y>3)*30{XG51};
VARFY:= -((VARAY<11 AND VAR5Y<15 AND VAR3Y<-26)*10){XG51};
DRAWICON(CROSS(VARFY,-9),LOW*0.998,4){XG51};
能量线:=dma((CLOSE+OPEN)/2,(VOL/(SMA(VOL,4,1)*4))){XG51};
VAR3C:=EMA(能量线,1){XG51};
VAR4C:=REF(能量线,1){XG51};
STICKLINE(VAR3C>VAR4C,VAR3C,VAR4C,2.5,0),COLOR00FFFF{XG51};
X:=EMA(((SLOPE(CLOSE,21) * 20) + CLOSE),68){XG51};
Y:=EMA(CLOSE,10){XG51};
LL:=REF(CLOSE,2){XG51};
MM1:=((SMA(MAX((CLOSE - LL),0),6,1) / SMA(ABS((CLOSE - LL)),6,1)) * 100){XG51};
DB:=IF(MM1<REF(MM1,1) AND MM1>79,MM1,0){XG51};
DRAWICON(CROSS(Y,X),(LOW * 0.985),1),LINETHICK1,COLORWHITE{XG51};
DRAWICON(CROSS(X,Y),(HIGH * 1.02),2),LINETHICK1,COLOR00FF00{XG51};
VAR1:=LLV(LOW,21){XG51};
VAR2:=HHV(HIGH,21){XG51};
AK1:=EMA((((CLOSE - VAR1) / (VAR2 - VAR1)) * 100),5){XG51};
AK:=EMA((((CLOSE - VAR1) / (VAR2 - VAR1)) * 50),13){XG51};
DD1:=EMA(((0.667 * REF(AK1,1)) + (0.333 * AK1)),2){XG51};
VAR3:=LLV(LOW,55){XG51};
VAR4:=HHV(HIGH,34){XG51};
VAR5:=EMA((((CLOSE - VAR3) / (VAR4 - VAR3)) * 100),3){XG51};
VAR6:=((AK + VAR5) / 2){XG51};
VAR7:=EMA(((0.667 * REF(VAR5,1)) + (0.333 * AK1)),2){XG51};
VAR8:=EMA(VAR6,5){XG51};
BB:=EMA(((0.667 * REF(VAR8,1)) + (0.333 * VAR8)),2){XG51};
AB:=CROSS(AK1,AK){XG51};
BB1:=(CROSS(AK1,BB) AND (BB < 30)){XG51};
CD:=(BB1 * 0.6){XG51};
DRAWTEXT(CD=0.6,LOW*0.99,'↑底2'),LINETHICK1,COLOR33CC99{XG51};
DRAWTEXT(AB=1,LOW*0.99,'↑底1'),LINETHICK1,COLORRED{XG51};
C1:=(CLOSE+LOW+HIGH)/3{XG51};
C2:=EMA(C1,6){XG51};
C3:=EMA(C2,5){XG51};
C4:=CROSS(C2,C3){XG51};
DRAWTEXT(C4,LOW/1.01,'★'),LINETHICK3,COLORWHITE{XG51};
C5:=CROSS(C3,C2){XG51};
DRAWTEXT(C5,HIGH*1.03,'★'),LINETHICK3,COLORYELLOW{XG51};
STICKLINE(CLOSE<OPEN AND REF(CLOSE,1)>REF(OPEN,1),REF(CLOSE,1),REF(CLOSE,1),20,0),COLORFFFFFF{XG51};
RSV:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100{XG51};
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
RSV12:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;
K12:=SMA(RSV12,3,1);
D12:=SMA(K12,3,1);
J12:=3*K12-2*D12;
RSV24:=(CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100;
K24:=SMA(RSV24,3,1);
D24:=SMA(K24,3,1);
J24:=3*K24-2*D24{XG51};
压力位:IF(CROSS(J24,J),H,REF(H,BArslAST(CROSS(J24,J)))),
COLORCYAN,LINETHICK1{XG51};
支撑位:IF(CROSS(J,J24),L,REF(L,BARSLAST(CROSS(J,J24))))
,COLOR77AAFF,LINETHICK1{X_G~5-1_C_N_{};
重要申明:本站所有的文章、图片、评论等,均由网友发表或上传并维护或收集自网络,属个人行为,与本站立场无关。
如果侵犯了您的权利,请与我们联系,我们将在24小时内进行处理、任何非本站因素导致的法律后果,本站均不负任何责任。
选股无忧网是股票软件指标公式分享平台,不开展相关证券业务,平台展示的所有股票资料由网络收集,不保障实时性和真实性,请勿以此为依据进行股票交易。
联系QQ:875328188 | 邮箱:875328188@qq.com
Copyright © 2002-2021 选股无忧网桂ICP备18001383号-7