【股票指标公式下载】-【通达信】圣灵石(定海神针)

合集下载

通达信精品洗盘公式源码副图

通达信精品洗盘公式源码副图

通达信洗盘公式源码副图资金密码:SUM(V/CAPITAL*100,5),COLORRED,NODRAW;势能:SMA(((CLOSE-LLV(LOW,28))/(HHV(HIGH,28)-LLV(LOW,28))*100),3,1) ,CO LORRED,LINETHICK2;STICKLINE(势能>50,势能,50,2,1),COLOR32329B;STICKLINE(50>势能,势能,50,2,1),COLOR326400;势能A:=IF(势能>50, 势能,DRAWNULL), COLORRED;圣灵石J:=(CLOSE-LLV(CLOSE,3))/(HHV(CLOSE,3)-LLV(CLOSE,3))*100;圣灵石K:=SMA(圣灵石J,2,1);圣灵石L:=SMA(圣灵石K,2,1);圣灵石G:=(HIGH+LOW+CLOSE)/3;圣灵石E:=(圣灵石G-MA(圣灵石G,7))/(0.015*AVEDEV(圣灵石G,7));圣灵石H:=EMA(CLOSE,5)-EMA(CLOSE,18),COLORWHITE,LINETHICK2;圣灵石I:=EMA(圣灵石H,3)COLORYELLOW,LINETHICK2;圣灵石F:=2*(圣灵石H-圣灵石I);圣灵石B:=IF(圣灵石K>圣灵石L AND 圣灵石E>0 AND 圣灵石H>圣灵石I AND 圣灵石F>0,1,0);STICKLINE(圣灵石B=1,50,50,6,0),COLORYELLOW;STICKLINE(圣灵石B=0,50,50,6,0),COLORCYAN;圣灵石:=SMA(势能,3,1),COLORYELLOW, LINETHICK2;正动能:IF( 势能>圣灵石,圣灵石,DRAWNULL), COLORYELLOW, LINETHICK2; 负动能:IF( 势能<圣灵石,圣灵石,DRAWNULL) ,COLORWHITE,LINETHICK3;持股:圣灵石H>圣灵石I,COLORRED;N3:=BARSLAST(CROSS(C,MA(C,5)));N4:=BARSLAST(CROSS(MA(C,5),C));攻击:IF(N3<N4,N3+1,0),COLORYELLOW,LINETHICK2,NODRAW;持币:圣灵石H<圣灵石I OR 圣灵石H=圣灵石I,COLORGREEN;选股:持股AND 攻击;顶:90,COLORYELLOW;DRAWICON(CROSS(势能,圣灵石),圣灵石,1);DRAWICON(CROSS(势能,顶),顶,2);AR圣灵石1:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70; AR圣灵石2:=SMA(AR圣灵石1,9,1)+100;AR圣灵石3:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;AR圣灵石4:=SMA(AR圣灵石3,3,1);AR圣灵石5:=SMA(AR圣灵石4,3,1)+100;AR圣灵石6:=AR圣灵石5-AR圣灵石2;密制传奇趋势:IF(AR圣灵石6>45,AR圣灵石6-45,0),COLOR00FFFF,LINETHICK3;圣灵石2Q:=REF(LOW,1);圣灵石3Q:=SMA(ABS(LOW-圣灵石2Q),3,1)/SMA(MAX(LOW-圣灵石2Q,0),3,1)*100;圣灵石4Q:=EMA(IF(CLOSE*1.3,圣灵石3Q*10,圣灵石3Q/10),3);圣灵石5Q:=LLV(LOW,30);圣灵石6Q:=HHV(圣灵石4Q,30);圣灵石7Q:=IF(MA(CLOSE,58),1,0);圣灵石8Q:=EMA(IF(LOW<=圣灵石5Q,(圣灵石4Q+圣灵石6Q*2)/2,0),3)/999*圣灵石7Q;圣灵石A:=IF(圣灵石8Q>100,100,圣灵石8Q);STICKLINE(REF(密制传奇趋势,1)< 密制传奇趋势, 密制传奇趋势,REF(密制传奇趋势,1),5,0),COLOR000033;STICKLINE(REF(密制传奇趋势,1)< 密制传奇趋势, 密制传奇趋势,REF(密制传奇趋势,1),4,0),COLOR000055;STICKLINE(REF(密制传奇趋势,1)< 密制传奇趋势, 密制传奇趋势,REF(密制传奇趋势,1),3,0),COLOR000077;STICKLINE(REF(密制传奇趋势,1)< 密制传奇趋势, 密制传奇趋势,REF(密制传奇趋势,1),2,0),COLOR000099;STICKLINE(REF(密制传奇趋势,1)< 密制传奇趋势, 密制传奇趋势,REF(密制传奇趋势,1),1.5,0),COLOR0000BB;STICKLINE(REF(密制传奇趋势,1)< 密制传奇趋势, 密制传奇趋势,REF(密制传奇趋势,1),1,0),COLOR0000DD;STICKLINE(REF(密制传奇趋势,1)> 密制传奇趋势, 密制传奇趋势,REF(密制传奇趋势,1),5,0),COLOR003300;STICKLINE(REF(密制传奇趋势,1)> 密制传奇趋势, 密制传奇趋势,REF(密制传奇趋势,1),4,0),COLOR005500;STICKLINE(REF(密制传奇趋势,1)> 密制传奇趋势, 密制传奇趋势,REF(密制传奇趋势,1),3,0),COLOR007700;STICKLINE(REF(密制传奇趋势,1)> 密制传奇趋势, 密制传奇趋势,REF(密制传奇趋势,1),2,0),COLOR009900;STICKLINE(REF(密制传奇趋势,1)> 密制传奇趋势, 密制传奇趋势,REF(密制传奇趋势,1),1,0),COLOR00DD00;圣灵石顶A:CROSS(82,RSI),COLORYELLOW;STICKLINE(圣灵石顶A,圣灵石顶A ,30,4,0 ),COLOR5555FF;STICKLINE(圣灵石顶A,圣灵石顶A ,30,3,0 ),COLOR7777FF;STICKLINE(圣灵石顶A,圣灵石顶A ,30,2,0 ),COLOR9999FF;圣灵石1:=(C+L+H)/3;圣灵石2:=EMA(圣灵石1,6);圣灵石3:=EMA(圣灵石2,5);圣灵石Y:=CROSS(圣灵石2,圣灵石3);DRAWICON(圣灵石Y,(LOW *1),1);圣灵石V:=SMA(MAX(CLOSE-REF(C,1),0),6,1)/SMA(ABS(CLOSE-REF(C,1)),6,1)*100; DRAWICON(CROSS(82,圣灵石V),HIGH,15);DRAWTEXT(CROSS(82,圣灵石V),35,'洗盘'),COLORYELLOW;。

【股票指标公式下载】-【通达信】理性投资(顶底线、强拉升、波段绝品、火焰山)

【股票指标公式下载】-【通达信】理性投资(顶底线、强拉升、波段绝品、火焰山)

【通达信】理性投资(顶底线、强拉升、波段绝品、火焰山)-指标公式源码RSVA1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;RSVA2:=100*(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9));VAR21:=SMA(RSVA2,9,1)+100;VAR11:=SMA(RSVA1,3,1);VAR51:=SMA(VAR11,3,1)+100;顶底线:=VAR51-VAR21+50;VAR2:=LLV(LOW,33);VAR3:=HHV(HIGH,21);VAR4:=EMA((CLOSE-VAR2)/(VAR3-VAR2)*100,10)*-1+100;趋势:=100-EMA(0.191*REF(VAR4,1)+0.809*VAR4,1);STICKLINE(C,100,90,4,0),COLORFFCC33;STICKLINE(C,90,80,4,0),COLORFF9933;STICKLINE(顶底线>REF(顶底线,1),20,80,4,0),COLOR9999FF;STICKLINE(顶底线<REF(顶底线,1),20,80,4,0),COLOR009966;STICKLINE((趋势>REF(趋势,1) AND 顶底线<REF(顶底线,1)),20,80,4,0),COLOR9999FF;STICKLINE((趋势<REF(趋势,1) AND 顶底线>REF(顶底线,1)),20,80,4,0),COLOR009966;STICKLINE(C,20,10,4,0),COLORFF6633;STICKLINE(C,10,0,4,0),COLORFF3333;底线:10,COLORWHITE;顶线:90,COLORWHITE;趋势线:100-EMA(0.191*REF(VAR4,1)+0.809*VAR4,1),LINETHICK2,COLORBLUE; 当前安全度:100-EMA(0.191*REF(VAR4,1)+0.809*VAR4,1),CIRCLEDOT,LINETHICK2,COLOR RED;DRAWTEXT(CURRBARSCOUNT=6,5,'高安全区'),COLORWHITE;DRAWTEXT(CURRBARSCOUNT=6,15,'安全区'),COLORWHITE;DRAWTEXT(CURRBARSCOUNT=6,45,'绿区持币'),COLORFFC000;DRAWTEXT(CURRBARSCOUNT=6,50,'(投资区)'),COLORWHITE;DRAWTEXT(CURRBARSCOUNT=6,55,'粉区持股'),COLORFFC000;DRAWTEXT(CURRBARSCOUNT=6,85,'风险区'),COLORWHITE;DRAWTEXT(CURRBARSCOUNT=6,95,'高风险区'),COLORWHITE;{强拉升}Y1:=LLV(L,17);Y2:=SMA(ABS(L-REF(L,1)),17,1);Y3:=SMA(MAX(L-REF(L,1),0),17,2);Q:=-(EMA(IF(L<=Y1,Y2/Y3,-3),1));STICKLINE(CROSS(Q,0),15,0,4,0), , COLORYELLOW;强拉升: IF(CROSS(Q,0),1,0),COLORYELLOW;Q1:= (CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100, , COLOR00FF00,LINETHICK2; STICKLINE(CROSS(Q1,-24),20,0,4,0), , COLORMAGENTA;加强拉升: IF(CROSS(Q1,-24),1,0),COLORMAGENTA;VAR22:=EXPMA(EXPMA(EXPMA((2*CLOSE+HIGH+LOW)/4,4),4),4);天:=( MA((VAR22-REF(VAR22,1))/REF(VAR22,1)*100,2));地:=( MA((VAR22-REF(VAR22,1))/REF(VAR22,1)*100,1));STICKLINE(地>天 AND 地<0,10,0,1,0),COLORRED;开始拉升:STICKLINE(地>天 AND 地<0,10,0,1,0)=1,COLORRED;{<<波段绝品>>}VAR1B:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;VAR2B:=SMA(VAR1B,9,1)+100;VAR3B:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;VAR4B:=SMA(VAR3B,3,1);VAR5B:=SMA(VAR4B,3,1)+100;VAR6B:=VAR5B-VAR2B;趋势1: IF(VAR6B>45,VAR6B-45,0),COLOR00FFFF,LINETHICK2;VAR2Q:=REF(LOW,1);VAR3Q:=SMA(ABS(LOW-VAR2Q),3,1)/SMA(MAX(LOW-VAR2Q,0),3,1)*100;VAR4Q:=EMA(IF(CLOSE*1.3,VAR3Q*10,VAR3Q/10),3);VAR5Q:=LLV(LOW,30);VAR6Q:=HHV(VAR4Q,30);VAR7Q:=IF(MA(CLOSE,58),1,0);VAR8Q:=EMA(IF(LOW<=VAR5Q,(VAR4Q+VAR6Q*2)/2,0),3)/999*VAR7Q;火焰山:=IF(VAR8Q>100,100,VAR8Q);STICKLINE(火焰山>0 AND 火焰山>REF(火焰山,1),0 ,火焰山*1.2,3.5,0 ),COLOR4444FF;STICKLINE(火焰山>0 AND 火焰山>REF(火焰山,1),0 ,火焰山*1.2,2.5,0 ),COLOR5555FF;STICKLINE(火焰山>0 AND 火焰山>REF(火焰山,1),0 ,火焰山*1.2,1.5,0 ),COLOR7777FF;STICKLINE(火焰山>0 AND 火焰山>REF(火焰山,1),0 ,火焰山*1.2,0.5,0 ),COLOR9999FF;STICKLINE(REF(趋势1,1)< 趋势1, 趋势1,REF(趋势1,1),3.5,0),COLOR000033;STICKLINE(REF(趋势1,1)< 趋势1, 趋势1,REF(趋势1,1),2.8,0),COLOR000055;STICKLINE(REF(趋势1,1)< 趋势1, 趋势1,REF(趋势1,1),2.0,0),COLOR000077;STICKLINE(REF(趋势1,1)< 趋势1, 趋势1,REF(趋势1,1),1.2,0),COLOR000099;STICKLINE(REF(趋势1,1)< 趋势1, 趋势1,REF(趋势1,1),0.4,0),COLOR0000DD;STICKLINE(REF(趋势1,1)> 趋势1, 趋势1,REF(趋势1,1),3.5,0),COLOR003300;STICKLINE(REF(趋势1,1)> 趋势1, 趋势1,REF(趋势1,1),2.8,0),COLOR005500;STICKLINE(REF(趋势1,1)> 趋势1, 趋势1,REF(趋势1,1),2.0,0),COLOR007700;STICKLINE(REF(趋势1,1)> 趋势1, 趋势1,REF(趋势1,1),1.2,0),COLOR009900;STICKLINE(REF(趋势1,1)> 趋势1, 趋势1,REF(趋势1,1),0.4,0),COLOR00DD00;逃顶:=CROSS(82,RSI);STICKLINE( 逃顶,逃顶,10,3.5,0),COLORFF5500; STICKLINE( 逃顶,逃顶,15,2.5,0),COLORFF8800; STICKLINE( 逃顶,逃顶,20,1.5,0),COLORFFAA00; STICKLINE( 逃顶,逃顶,25,0.5,0),COLORFFCC00; STICKLINE( 逃顶,逃顶,30,0.1,0),COLORFFFF00;D1:=(C+L+H)/3;D2:=EMA(D1,6);D3:=EMA(D2,5);BBUY:=CROSS(D2,D3);强弱线:50,COLORGREEN,POINTDOT;DRAWICON(BBUY,20,1);VARR1:=SMA(MAX(CLOSE-REF(C,1),0),6,1)/SMA(ABS(CLOSE-REF(C,1)),6,1)*10 0;DRAWICON(CROSS(82,VARR1),10,15);DRAWTEXT(CROSS(82,VARR1),35,'逃'),COLORYELLOW;【通达信】理性投资(顶底线、强拉升、波段绝品、火焰山)-指标公式效果图(文档来源:若水财经社区)。

通达信成功率高的选股指标公式

通达信成功率高的选股指标公式

通达信成功率高的选股指标公式代码集{逆势买入}Var1b:=DMA(CLOSE,VOL/MA(VOL,4)/4);Var2b:=DMA(CLOSE,VOL/MA(VOL,32)/32);Var3b:=(CLOSE-Var1b)/Var1b*100<-8;Var4b:=(Var1b-Var2b)/Var2b*100<-21;逆势买入:if(V ar3b AND Var4b AND (OPEN-REF(CLOSE,1))/REF(CLOSE,1)>-0.05,45,0),stick,linethick3,col orf00ff0;drawtext(逆势买入,40,'逆势买入'),colorf0f000;============================{龙战四海:99%成功率,选股条件:龙战四海=65}Var1c:=REF(OPEN,1)<REF(OPEN,2);Var2c:=REF(CLOSE,1)<REF(CLOSE,2);Var3c:=REF(LOW,1)<REF(LOW,2);Var4c:=OPEN>REF(CLOSE,1) AND OPEN/REF(CLOSE,1)>=1.03; Var5c:=CLOSE>OPEN AND CLOSE/OPEN>1.03;Var6c:=Var1c AND Var2c AND Var3c AND Var4c AND Var5c;Var7c:=CLOSE/MA(CLOSE,3)>=1.07 AND CLOSE=HHV(CLOSE,3) AND MA(VOL,2)/MA(VOL,40)>=3 AND MA(VOL,2)=HHV(MA(VOL,2),3) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);Var8c:=REF(CLOSE,1);Var9c:=SMA(MAX(CLOSE-Var8c,0),5,1)/SMA(ABS(CLOSE-Var8c),5, 1)*100;VarA:=COUNT(Var9c<20,20)>=1;VarB:=Var7c AND VarA;龙战四海:if(VarB AND Var6c,65,0),colorf0f000;drawtext(龙战四海,55,'龙战四海'),colorf00ff0;{股价经历了相当长一段时间下跌后,做空能量逐渐消耗。

【股票指标公式下载】-【通达信】精绝花(现价、主力启动线、资金异动线)

【股票指标公式下载】-【通达信】精绝花(现价、主力启动线、资金异动线)

【通达信】精绝花(现价、主力启动线、资金异动线)-指标公式源码现价:=C*3,COLORRED;顶部:= COST(95) ,COLORFFFF33;卖出:= COST(75)*3 ,COLORGREEN;买入:= COST(30) ,COLORRED;底部:= COST(5) ;空:=EMA(C,5);均衡:=EMA(空,5),COLORWHITE;中轨:=HHV(MA(H,13),13),COLORRED,LINETHICK2;趋势:=LLV(MA(H,13),1),COLOR00FF00,LINETHICK2;HHH:=(CROSS(均衡,趋势))*5;CS:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;YJD:= (EMA(CS,3)-50)*2;筹码集中度:=COST(10)/(COST(80)-COST(10));筹码1:=EMA(筹码集中度,1)*10,LINETHICK2,COLOR3399FF;筹码3:=EMA(筹码集中度,3)*10,LINETHICK2,COLORRED;买线:=EMA(C,2);卖线:=EMA(SLOPE(C,21)*20+C,42);BU:=CROSS(买线,卖线);SEL:=CROSS(卖线,买线);{DRAWICON(BU =1,L-0.1,1);}N:=15;M:=20;TR:=EXPMEMA(MAX(MAX(H-L,ABS(H-REF(C,1))),ABS(REF(C,1)-L)),N); HD:=H-REF(H,1);LD:=REF(L,1)-L;DMP:=EXPMEMA(IF(HD>0 AND HD>LD,HD,0),N);DMM:=EXPMEMA(IF(LD>0 AND LD>HD,LD,0),N);VAR1:=DMP*100/TR;VAR2:=DMM*100/TR;VARR3:=EXPMEMA(VAR1,M);VARR4:=EXPMEMA(VAR2,M);{DRAWBAND(VAR3,RGB(150,30,50),VAR4,RGB(30,110,50));}PDI:=VAR1,COLORYELLOW;MDI:=VAR2,COLORGREEN;{STICKLINE(VAR1>VAR3 AND VAR2<VAR3,VAR3,VAR1,0,0.5),COLORWHITE;}涨:=(VAR1>VARR3) AND (VAR2<VARR3),COLORWHITE;顶:=85;中:=50;底:=20;VA1:=HHV(HIGH,9)-LLV(LOW,9);VA2:=HHV(HIGH,9)-CLOSE;VA3:=CLOSE-LLV(LOW,9);VA4:=VA2/VA1*100-70;VA5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;VA6:=(2*CLOSE+HIGH+LOW)/4;VA7:=SMA(VA3/VA1*100,3,1);VA8:=LLV(LOW,34);VA9:=SMA(VA7,3,1)-SMA(VA4,9,1);VAA:=IF(VA9>100,VA9-100,0);VAB:=HHV(HIGH,34);AAA:= VAA*2;BBB:= EMA((VA6-VA8)/(VAB-VA8)*100,13);VAC:=EMA(0.667*REF(BB,1)+0.333*BB,2);CCC:=SMA(VA5,20,1),COLORRED;CCC1:=SMA(CCC,5,1),COLORGREEN;出:=IF((CROSS(CCC,CCC1) AND (CCC1 < 顶) ),80,0)/23,COLORRED; VOLUME:=VOL,VOLSTICK;主力启动线:=MA(VOLUME,5),COLORRED,LINETHICK2;主力洗盘线:=MA(VOLUME,35),COLORYELLOW,LINETHICK2;资金异动线:=MA(VOLUME,135),COLORBLUE,LINETHICK2;击:=STICKLINE(CROSS(主力启动线,资金异动线) OR ((主力洗盘线 > 资金异动线)AND CROSS(主力启动线,主力洗盘线)),0,VOL,2,0),COLORYELLOW;动:=STICKLINE(主力启动线>REF(主力启动线,1) AND (CROSS(VOL,主力启动线) AND (REF(VOL,1)<REF(资金异动线,1) AND REF(VOL,2)<REF(资金异动线,2))) ,0,VOL,3,0),COLORGREEN;V1:=CLOSE/REF(CLOSE,3)>=1.1;V2:=BACKSET(V1,2);V3:=REF(CLOSE,3)*1.1;V4:=CROSS(C,V3);OK:=STICKLINE((V2 AND COUNT(V2,2)=1),VOL,0,3,0),COLORRED;BOLLL:=MA(CLOSE,20),COLORRED;UP:=BOLLL+2*STD(CLOSE,20),COLOR808080 ;LO:=BOLLL-2*STD(CLOSE,20),COLORGREEN;DSLX:=((CLOSE/INDEXC)*10000),COLORFFFFFF,;DSLXMA1:=MA(DSLX,5),COLOR0000FF;DSLXMA2:=MA(DSLX,10),COLOR00FF00;DSLXMA3:=MA(DSLX,0);DSLXMA4:=MA(DSLX,0);DI:(EMA(CLOSE,3)-EMA(CLOSE,13))*2,COLORBLUE,LINETHICK2;D1:=EMA(DI,5),COLORGRAY;D2:=EMA(DI,10),COLORGRAY;D3:=EMA(DI,20),COLORGRAY;D4:=EMA(DI,30),COLORGRAY;D5:=EMA(DI,60),COLORGRAY;D6:=EMA(DI,90),COLORGRAY;D7:=EMA(DI,120),COLORGRAY;D8:=EMA(DI,250),COLORGRAY;AA:STICKLINE(DI>=REF(DI,1) AND D1>=REF(D1,1) AND D2>=REF(D2,1) ANDD3>=REF(D3,1) ANDD4>=REF(D4,1) AND D5>=REF(D5,1) AND D6>=REF(D6,1) AND D7>=REF(D7,1) AND D8>=REF(D8,1) AND C>EMA(C,11) AND DI>-0.8,DI,0,2,0)*2,COLORRED;0,LINETHICK2;VAR3:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;VAR4:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;VAR5:=(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100;VAR6:=(VAR3+VAR4+VAR5)/3;VAR7:=EMA(VAR6,5);RSVV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(RSVV,3,1);D:=SMA(K,3,1);J:=3*K-2*D;日均价:=(C*3+H+L+O)/6;JF1:=SMA(SMA(EMA(日均价,5)*2-MA(日均价,5),3,1),3,1),COLOR999900;补偿:=FLOOR(((JF1-MA(JF1,5))/MA(JF1,5)*100));风:=SMA(SMA((EMA(日均价,(5+ABS(补偿)))),2,1),2,1),COLORWHITE,LINETHICK2;上轨:=风+2*STD(风,10),COLORBLUE;下轨:=风-2*STD(风,10),COLORBLUE;无盐:=EMA(日均价,5)*2-MA(日均价,5);修正:=SMA(SMA(EMA(日均价,5)*2-MA(日均价,5),2,1),2,1),COLOR999900;夺命:=(MA(C,5)+MA(C,13))/2;追风:=MA(C,5)-MA(C,13)+MA(C,8),COLORRED,LINETHICK2;UU:=(3*C+H+2*O)/6;DSSA:=SMA(XMA(UU,2),2,1),LINETHICK2;部:=DSSA*1,COLORYELLOW;BOLL:=(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),13 ,1))/(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),5, 1));{A1:BOLL+2*STD(CLOSE,1);B1:BOLL-2*STD(CLOSE,1);}魔花A2:BOLL+2*STD(CLOSE,3);B2:BOLL-2*STD(CLOSE,3);{A3:BOLL+2*STD(CLOSE,5);B3:BOLL-2*STD(CLOSE,5);}A4:BOLL+2*STD(CLOSE,7);B4:BOLL-2*STD(CLOSE,7);A5:BOLL+2*STD(CLOSE,9);B5:BOLL-2*STD(CLOSE,9);A6:BOLL+2*STD(CLOSE,11);B6:BOLL-2*STD(CLOSE,11);A7:BOLL+2*STD(CLOSE,13);B7:BOLL-2*STD(CLOSE,13);A8:BOLL+2*STD(CLOSE,15);B8:BOLL-2*STD(CLOSE,15);A9:BOLL+2*STD(CLOSE,17);B9:BOLL-2*STD(CLOSE,17);A10:BOLL+2*STD(CLOSE,19);B10:BOLL-2*STD(CLOSE,19);{A11:BOLL+2*STD(CLOSE,21);B11:BOLL-2*STD(CLOSE,21);}{A12:BOLL+2*STD(CLOSE,23);B12:BOLL-2*STD(CLOSE,23);}A13:BOLL+2*STD(CLOSE,2);B13:BOLL-2*STD(CLOSE,2);A14:BOLL+2*STD(CLOSE,4);B14:BOLL-2*STD(CLOSE,4);A15:BOLL+2*STD(CLOSE,6);B15:BOLL-2*STD(CLOSE,6);A16:BOLL+2*STD(CLOSE,8);B16:BOLL-2*STD(CLOSE,8);A17:BOLL+2*STD(CLOSE,10);B17:BOLL-2*STD(CLOSE,10);A18:BOLL+2*STD(CLOSE,12);B18:BOLL-2*STD(CLOSE,12);A19:BOLL+2*STD(CLOSE,14);B19:BOLL-2*STD(CLOSE,14);A20:BOLL+2*STD(CLOSE,16);B20:BOLL-2*STD(CLOSE,16);A21:BOLL+2*STD(CLOSE,18);B21:BOLL-2*STD(CLOSE,18);{A22:BOLL+2*STD(CLOSE,20);B22:BOLL-2*STD(CLOSE,20);}A23:BOLL+1.6*STD(CLOSE,22),COLORYELLOW, LINETHICK1; B23:BOLL-1.6*STD(CLOSE,22),COLORYELLOW, LINETHICK1; {A25:BOLL+2*STD(CLOSE,25), COLORYELLOW,LINETHICK1.5; B25:BOLL-2*STD(CLOSE,25), COLORYELLOW,LINETHICK1.5;} {2.5,COLORFF4242;}2,COLORGREEN,LINETHICK2;{0.5,COLORFFCC66;1.5,COLORFFCC66;}0,COLORGREEN,LINETHICK2;(-1.5),COLORFF4242;4,COLORYELLOW,LINETHICK2;{5,COLORYELLOW;}{6,COLORYELLOW;}强弱线:6.5*MA(((C+L+(H+C)/2)/3-LLV(L,13))/(HHV(H,13)-LLV(L,13)),3),COLORR ED;辅助线:6.5*((C+L+(H+C)/2)/3-LLV(L,21))/(HHV(H,21)-LLV(L,21)),COLORFFFFFA; MA1:=MA(CLOSE,5);MA2:=MA(CLOSE,13);MA3:=MA(CLOSE,34);MA4:=MA(CLOSE,60);MA5:=MA(C,120);MA6:=MA(C,250);DIF:=EMA(CLOSE,40)-EMA(CLOSE,41);DEA:=EMA(DIF,6);MACD:=(DIF-DEA)*6,COLORSTICK;WR:=100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34));PSY:=COUNT(CLOSE>REF(CLOSE,1),13)/13*100;AR:=SUM(HIGH-OPEN,26)/SUM(OPEN-LOW,26)*100;ROC:=100*(CLOSE-REF(CLOSE,12))/REF(CLOSE,12);MCST:=DMA(AMOUNT/(100*VOL),VOL/CAPITAL),COLORCYAN;RSV:=(((CLOSE - LLV(LOW,33)) / (HHV(HIGH,33) - LLV(LOW,33))) * 100); Y0:=SMA(RSV,7,1)/4;Y1:=SMA(SMA(RSV,7,1),4,1)/4;Y3:=SMA(SMA(SMA(RSV,7,1),4,1),6,1)/4;根:=( ((辅助线<1.5) AND (A23>1.5)AND (B23>0.5) AND (A23<2.2))OR (强弱线<2 AND (A23>1.5)AND (B23>0.4) AND (A23<2.2)AND(辅助线>2.5) AND(O+C*3+L)/5>MA3)OR (强弱线<2 AND (A23>1)AND (B23>0.5) AND (A23<1.8)AND(辅助线>2.5)AND(O+C*3+L)/5>MA3))*2,COLORGREEN,LINETHICK3;花种:=((DI>0 AND DI<0.8 AND (DI>=REF(DI,1) AND D1>=REF(D1,1) ANDD2>=REF(D2,1) AND D3>=REF(D3,1) ANDD4>=REF(D4,1) AND D5>=REF(D5,1) AND D6>=REF(D6,1) AND D7>=REF(D7,1) AND D8>=REF(D8,1) AND C>EMA(C,11) ) AND 3<(辅助线+强弱线)/2)AND (MA1/MA2)<1.028 AND MA1>风 AND C/O<1.05 AND REF(C,1)/REF(C,2)<1.068 AND VOL/REF(VOL,1)<5 ), COLORYELLOW,LINETHICK2;JJJ:=(CROSS(主力启动线,资金异动线) OR ((主力洗盘线 > 资金异动线)AND CROSS(主力启动线,主力洗盘线)))*4,COLORYELLOW;DDD:=((主力启动线>REF(主力启动线,1)) AND CROSS(VOL,主力启动线)AND (REF(VOL,1)<REF(资金异动线,1)) AND REF(VOL,2)<REF(资金异动线,2))*4 ,COLORGREEN;KKK:=((V2 AND COUNT(V2,2)=1))*4,COLORRED;含苞欲放:((DDD=4 AND 花种>0) OR (BU AND 花种>0 ) )*2.3,COLORMAGENTA,LINETHICK2;LONG2:(CROSS(DI,0.5) AND MA2>MA3 AND MA3>MA4AND 部/风<1.05 AND 部>REF(部,1) AND 部>上轨)*1.5,COLORYELLOW ,LINETHICK2;吐蕊:(JJJ=4 AND 花种>0 AND LONG2>0 ) *1.8,COLORYELLOW,LINETHICK2;怒放:(吐蕊>0 AND 含苞欲放>0)*3.5,COLORRED,LINETHICK2;ZF:=(C/REF(C,1)-1)*100;势:=SUM(ZF,3),COLORFFFFFF,LINETHICK2;RO:=(100*(CLOSE-REF(CLOSE,12))/REF(CLOSE,12));OKK:=EMA((ZF,3)+((100*(CLOSE-REF(CLOSE,12))/REF(CLOSE,12))/2),5); TYP:=(HIGH+LOW+CLOSE)/3;CCI:=(TYP-MA(TYP,88))/(0.015*AVEDEV(TYP,88))/10,COLORGREEN;M1:=EMA(C,13);M2:=EMA(C,34);A:((CROSS(RO, OKK) AND OKK>REF(OKK,1) AND OKK<8 AND C>M1 AND CCI>5 AND 势<5 AND 势>REF(势,1) AND RO>5 AND M1-M2<0.68)OR (CROSS(RO,势)AND CROSS(RO, OKK) AND CROSS(势,OKK))AND CCI>5AND CCI<18 AND 势>0 AND RO>5)*4,COLORRED;【通达信】精绝花(现价、主力启动线、资金异动线)-指标公式效果图(文档来源:若水财经社区)。

【股票指标公式下载】-【通达信】玄黄吉星(神奇趋势线、盈利临界)

【股票指标公式下载】-【通达信】玄黄吉星(神奇趋势线、盈利临界)

【通达信】玄黄吉星(神奇趋势线、盈利临界)-指标公式源码XF: EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4,2); VAR2:=MA(CLOSE,80)-MA(CLOSE,13)/3;神奇趋势线:=MA((CLOSE-VAR2)/VAR2,1);狙击: DRAWTEXT(CROSS(神奇趋势线,0) AND LOW/REF(HIGH,1)<1.012,LOW,'狙击'),COLORYELLOW;盈利临界: DRAWTEXT(COUNT(神奇趋势线>REF(神奇趋势线,1),3)=3 AND COUNT(神奇趋势线<0,10)=10 AND REF(神奇趋势线,3)=LLV(神奇趋势线,10),LOW,'盈利临界'),COLORYELLOW;参与: DRAWTEXT(REF(神奇趋势线,2)=LLV(神奇趋势线,20) AND REF(神奇趋势线,2)<0.071 AND REF(神奇趋势线,2)<REF(神奇趋势线,1) ANDNOT(REF(LOW,1)>REF(HIGH,2) AND LOW>REF(HIGH,1)) ANDCLOSE>REF(CLOSE,1),LOW,'参与'),COLORYELLOW;DRAWICON(CROSS(EMA(CLOSE,8),EMA(EMA(CLOSE,8),20)) ANDEMA(CLOSE,8)<MA(CLOSE,120),LOW,1),COLORRED;DRAWTEXT((WINNER(CLOSE)-WINNER(OPEN))*100>=17 ANDVOL/CAPITAL*100<=2,LOW,'无量长阳,谨慎'),COLORWHITE;VAR1:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;VAR21:=SMA(VAR1,20,1);VAR3:=SMA(VAR21,15,1);VAR4:=100-3*VAR21+2*VAR3;VAR5:=(3*VAR21+2*VAR3)/4;VAR6:=ABS(ABS(VAR5)-ABS(VAR4));VAR7:=ABS(ABS(VAR5)-ABS(VAR6));阴跌区域:=VAR玄黄吉星4-VAR7;见顶区域:=阴跌区域<0;均衡:=VAR5-VAR7;DRAWTEXT(CROSS(阴跌区域,均衡),LOW,'阴跌延续'),COLORGREEN; DRAWTEXT(CROSS(阴跌区域,-0.1),LOW,'见顶回落'),COLORWHITE;STICKLINE(C>=O,C,H,0.1,0),COLORRED;TTZF:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100 {AND TTZF>=ZF}; STICKLINE(TTZF>=2.50 ,O ,C ,8,0),COLOR00FFFF;中轨:HHV(MA(H,11),15),COLORRED;趋势:LLV(MA(H,11),1),COLORGREEN;【通达信】玄黄吉星(神奇趋势线、盈利临界)-指标公式效果图(文档来源:若水财经社区)。

【股票指标公式下载】-【通达信】天一神鞭(离基、动态止损度、布林、止损价)

【股票指标公式下载】-【通达信】天一神鞭(离基、动态止损度、布林、止损价)

【通达信】天一神鞭〔离基、动态止损度、布林、止损价〕-指标公式源码动态止损度:=5;黑:=0;{下跌通道黑色K线开关}离L:=0;{乖离提示开关}提示:=0;{买卖文字提示开关}布林M:=0;{开关}MMA:=0;五:MA(CLOSE,5),COLORWHITE;十:MA(CLOSE,10),COLOR00FFFF;M18:=MA(CLOSE,18),COLORRED;离基:=五;离O:=离基*1.20,COLOR555555;离A:离基*1.15,COLOR555555;离B:离基*1.10,COLOR555555;离C:离基*0.90,COLOR555555;离D:=离基*0.85,COLOR333333;EXP50:=EXPMA(CLOSE,50),COLORGREEN;MA30:MA(CLOSE,30),LINETHICK1,COLORRED;MA60:MA(CLOSE,60),COLORGREEN;β0:=(H-L)/2+L,LINETHICK0;α:=β0,LINETHICK0;β:=REF(β0,1),LINETHICK0,COLORGREEN;γ:=REF(β0,2),LINETHICK0,COLORMAGENTA;{涨:PLOYLINE(C>REF(C,1),CONST(C)),COLOR0000AA,LINETHICK1;跌:PLOYLINE(C<REF(C,1),CONST(C)),COLOR00AA00,LINETHICK1;}高:PLOYLINE(1,CONST(HHV(H,50))),COLOR770077,LINETHICK1;低:=PLOYLINE(1,CONST(LLV(L,50))),COLOR777700,LINETHICK1;中:=PLOYLINE(1,(高-低)/2+低),COLOR005555,LINETHICK4;止损价:=CONST(HHV(C,5)*(100-动态止损度)/100);止:PLOYLINE(CONST(C)<=止损价,止损价),COLOR888800,LINETHICK4; DRAWTEXT(DYNAINFO(7)<=止损价 AND ISLASTBAR,止损价*1.05,'止损'); AA:=CLOSE/REF(C,1)>=1.09;BA:=CLOSE/REF(C,1)>=1.09;DRAWKLINE(H,O,L,C);STICKLINE(AA,O,C,2.5,1),COLORYELLOW;MA1:=MA(CLOSE,5),COLORRED;MA2:=MA(CLOSE,10),COLORYELLOW;MA3:=MA(CLOSE,20),COLOR770077;E50:=EXPMA(CLOSE,50),LINETHICK1,POINTDOT,COLORLIGREEN;E100:=EXPMA(CLOSE,100),POINTDOT,COLORGRAY;MA181:MA(C,181),COLORGRAY;{MA60:=MA(C,60),COLOR007700;}{周:IF( MMA=1 ,MA2,DRAWNULL),COLORYELLOW,LINETHICK1;月:IF( MMA=1 ,MA3,DRAWNULL),COLORWHITE,LINETHICK1;季:IF( MMA=1 ,MA4,DRAWNULL),COLORGREEN,LINETHICK1;}{IF(C>E50 ,E50,DRAWNULL),COLOR00FF00,LINETHICK1;}IF(CONST(α>β) ANDDYNAINFO(7)>0,DYNAINFO(7),DRAWNULL),COLOR000088,LINETHICK1; IF(CONST(α<=β)ANDDYNAINFO(7)>0 ,DYNAINFO(7),DRAWNULL),COLOR008800,LINETHICK1; IF(CONST(α>β) AND DYNAINFO(7)>0 AND DYNAINFO(7)>=高*0.99,DYNAINFO(7),DRAWNULL),COLOR000088,LINETHICK1;IF(CONST(α<=β)AND DYNAINFO(7)>0 AND DYNAINFO(7)<=低*1.01 ,DYNAINFO(7),DRAWNULL),COLOR008800,LINETHICK1;N1:=12;N2:=26;N3:=9;DIFF:=(EMA(CLOSE,N1) - EMA(CLOSE,N2));DEA:=EMA(DIFF,N3);MACD:=(2 * (DIFF - DEA));MACD2:=MACD;SARH:=CLOSE>SAR(4,2,20);{IF(C<MA3 ,MA1,DRAWNULL),COLOR555555,LINETHICK1;}{IF(C<MA3 ,MA2,DRAWNULL),COLOR222222,LINETHICK1;}{IF(五>=REF(五,1) ,离A,DRAWNULL),COLOR0000FF,LINETHICK1;IF(五>=REF(五,1) ,离B,DRAWNULL),COLOR0000FF,LINETHICK1;IF(五<=REF(五,1) ,离C,DRAWNULL),COLOR00FF00,LINETHICK1;IF(五<=REF(五,1) ,离D,DRAWNULL),COLOR00FF00,LINETHICK1;}五V:=MA(V,5);{IF(五V>=REF(五V,1) ,离A,DRAWNULL),COLOR0000FF,LINETHICK1;IF(五V>=REF(五V,1) ,离B,DRAWNULL),COLOR0000FF,LINETHICK1;IF(五V<=REF(五V,1) ,离C,DRAWNULL),COLOR00FF00,LINETHICK1;IF(五V<=REF(五V,1) ,离D,DRAWNULL),COLOR00FF00,LINETHICK1;}{IF(五<REF(五,2) AND 离L=0,离A,DRAWNULL),COLOR555555,LINETHICK1;IF(五<REF(五,2) AND 离L=0,离D,DRAWNULL),COLOR555555,LINETHICK1;} TYP:=(HIGH+LOW+CLOSE)/3;CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));STICKLINE(C<MA3 AND 黑=1,H,L,0,0),COLOR555555;STICKLINE(MA1<MA3 AND 黑=1,O,C,2.5,1),COLOR555555;STICKLINE(BA AND C<MA3,O,C,2.7,1),COLORWHITE;{DRAWICON(MACD>REF(MACD,1) AND CROSS(C,MA3) AND 提示=0 ,L,1);} {DRAWICON(REF(C>MA3 AND 提示,1) AND CROSS(MA(C,5),C),H,2);}N:=14;M:=6;TR:=EXPMEMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1) -LOW)),N);HD :=HIGH-REF(HIGH,1);LD :=REF(LOW,1)-LOW;DMP:=EXPMEMA(IF(HD>0&&HD>LD,HD,0),N);DMM:=EXPMEMA(IF(LD>0&&LD>HD,LD,0),N);PDI:=DMP*100/TR;MDI:=DMM*100/TR;ADX:=EXPMEMA(ABS(MDI-PDI)/(MDI+PDI)*100,M);ADXR:=EXPMEMA(ADX,M);DMIJX:=CROSS(PDI,MDI) AND C>O ;{STICKLINE(DMIJX,H,L,0,1),COLORYELLOW;STICKLINE(DMIJX,O,C,2.7,0),COLORYELLOW;}{DRAWICON(DMIJX AND 提示=0,L,1);}{DRAWTEXT(H>离A,离A/0.99,'★'),COLORYELLOW;}头上边:=MAX(O,C),NODRAW;头下边:=MIN(O,C),NODRAW;垂头:=ABS(O-C),NODRAW;{垂头}长针:=(头下边-L),NODRAW;{长针}垂:=长针/垂头>2 AND (H-头上边)<=长针 AND L<REF(L,1) ANDO<REF(C,1),NODRAW;DRAWTEXT(垂 AND L<=LLV(L,3) AND L<离C AND 提示,L/1.01,'针') AND 提示,COLORGREEN,LINETHICK4;DRAWTEXT(H>MA(CLOSE,5)*1.07 AND ISLASTBAR AND 提示,H*1.01,'离!'),COLORGREEN,LINETHICK2;DRAWTEXT(L<MA(CLOSE,5)*1.005 AND L>MA(CLOSE,5) AND 提示=0 ANDH<MA(CLOSE,5)*1.07 AND ISLASTBAR,L/1.02,'低吸'),COLORGREEN,LINETHICK2; {////MACD反身向上////}{MACD红缩:=REF(MACD,1)>MACD AND MACD>0;DRAWTEXT(REF(EVERY(MACD红缩,3),1)AND MACD>REF(MACD,1) AND C>MA(C,22) AND 提示=0,L/1.02,'启动'),COLORWHITE;}{////MACD反身向上2////}{MACD红缩2:=REF(MACD,1)>MACD AND MACD>0;DRAWTEXT(REF(EVERY(MACD红缩2,2),1)AND MACD>REF(MACD,1) AND C>MA(C,22) AND EVERY(DIFF>0,3) AND 提示=0,L/1.02,'起动'),COLORWHITE;}{突破买进(源码)}{DRAWTEXT(DYNAINFO(7)>0 AND ISLASTBAR ,HIGH,'("DYNAINFO(7)")');}上5日:=REF(EVERY(C<MA1,2),1) AND CROSS(C,MA1);STICKLINE(上5日,H,L,0,0),COLORFF00FF;{STICKLINE(上5日,O,C,2.7,0),COLOR3366FF;}STICKLINE(上5日,O,C,2.7,0),COLORFF00FF;DRAWICON(上5日,L,1);破5日:=REF(EVERY(C>MA1,4),1) AND CROSS(MA1,C);DRAWICON(破5日,H,2);DT:=REF(CLOSE/REF(C,1),1)<=0.95;DRAWTEXT(AA AND DT AND CURRBARSCOUNT<60 ,H,'急挖坑'),COLORGREEN;SC1:=MACD.MACD<0;SC2:=CROSS(十,五);SC3:=MA(V,5)<MA(V,10);SC:=SC1 AND SC2 AND SC3 ;DRAWTEXT(SC AND CURRBARSCOUNT<10 ,HHV(H,5),'三死叉'),COLORWHITE;JC1:=MACD.MACD>0;JC2:=CROSS(五,十);JC3:=MA(V,5)>MA(V,10);JC:=JC1 AND JC2 AND JC3 ;DRAWTEXT(JC AND CURRBARSCOUNT<20 ,LLV(L,5),'后金叉'),COLORYELLOW; {ZS:=CROSS(DMI.ADXR,DMI.ADX);DRAWTEXT(ZS AND CURRBARSCOUNT<10 ,HHV(H,5),'转势'),COLORRED;}{IF(五<REF(五,1),五,DRAWNULL),COLOR888888,LINETHICK1;};{XQK:=H<REF(L,1) ;DRAWTEXT(XQK AND CURRBARSCOUNT<20 ,H,'□□□□□□□□□□□□'),COLOR999999;SQK:= L>REF(H,1);DRAWTEXT(SQK AND CURRBARSCOUNT<20 ,L,'□□□□□□□□□□□□'),COLORRED;};DRAWTEXT(CROSS(H,离B) AND CURRBARSCOUNT<10 ,HHV(H,3),'超乖离'),COLORYELLOW;DRAWTEXT(CROSS(H,离A) AND CURRBARSCOUNT<10 ,HHV(H,3),'超乖离'),COLORYELLOW;DRAWTEXT(CROSS(离C,L) AND CURRBARSCOUNT<10 ,LLV(L,3),'负乖离'),COLORWHITE;DRAWTEXT((C<MA(C,5) OR MA(C,5)<MA(C,10)) ANDCURRBARSCOUNT<2,HHV(H,5)*1.04,'MA5下'),COLORRED;DRAWTEXT((C<MA(C,5) OR MA(C,5)<MA(C,10)) ANDCURRBARSCOUNT<2 ,HHV(H,5)*1.01,'不持股'),COLORRED;【通达信】天一神鞭〔离基、动态止损度、布林、止损价〕-指标公式效果图(文档来源:假设水财经社区)。

神式十大公式(通达信亲测可用)

神式十大公式(通达信亲测可用)

神式十大公式一、神仙大趋势神仙大趋势H1:EMA(CLOSE,6);H2:EMA(神仙大趋势H1,18);H3:EMA(CLOSE,108),coloryellow;STICKLINE(神仙大趋势H1>H2,神仙大趋势H1,H2,1,1),colorred;STICKLINE(神仙大趋势H1<H2,神仙大趋势H1,H2,1,1),colorblue;二、神仙短线精灵VAR1:=((CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100+(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100+(CLOSE-MA(C LOSE,32))/MA(CLOSE,32)*100)/3;持币区域:VAR1,COLORFEDCBA;持股区域:IF(VAR1>0,VAR1,0),colorred;短顶:STICKLINE(VAR1>9AND FILTER(VAR1<REF(VAR1,1),5),VAR1+2,0,3,0),colorgreen;大顶:STICKLINE(VAR1>20AND FILTER(VAR1<REF(VAR1,1),5),VAR1+5,0,7,0),COLOR00FF00;VAR2:=HHV(VAR1>20,10);危险:STICKLINE(VAR2 ANDCROSS((REF(HIGH,1)+REF(LOW,1))/2,MA(CLOSE,20)+2*STD(CLOSE,20)),VAR1+10,0,4,0);注意止损:STICKLINE(VAR2 AND FILTER(VAR1<REF(VAR1,1),6) ANDCROSS(MA(CLOSE,5),MA(CLOSE,2)),VAR1+6,0,3,0);短底:STICKLINE(VAR1<-9AND VAR1>REF(VAR1,1),VAR1-2,0,3,0),colorred;大底:STICKLINE(VAR1<-20AND FILTER(VAR1>REF(VAR1,1),5),VAR1-5,0,7,0),coloryellow;买入准备:VAR1<-9AND VAR1>REF(VAR1,1),colorwhite;三、神仙顶底先知CS:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;YJD:(EMA(CS,3)-50)*2;极弱:-80;强势:60;风险:80;弱势:-60;YJD,COLORSTICK;四、神式买卖点VAR1:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),25); VAR2:=HIGH-REF(HIGH,1);VAR3:=REF(LOW,1)-LOW;VAR4:=SUM(IF(VAR2>0AND VAR2>VAR3,VAR2,0),25);VAR5:=SUM(IF(VAR3>0AND VAR3>VAR2,VAR3,0),25);VAR6:=VAR4*100/VAR1;VAR7:=VAR5*100/VAR1;VAR8:=MA(ABS(VAR7-VAR6)/(VAR7+VAR6)*100,15);VAR9:=(VAR8+REF(VAR8,15))/2;A:=(VAR7>VAR6 AND VAR7>25AND VAR6<25);B:ZIG(3,50/5)*100,colorwhite;G:MA(B,2),coloryellow;D:=CROSS(B,G)*1000,colorred;W:=CROSS(G,B)*1000,colorblue;E:=REF(INDEXC,1);F:=SMA(MAX(INDEXC-E,0),3,1)/SMA(ABS(INDEXC-E),3,1);VAR10:=F AND F<8;VAR11:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;VAR12:=SMA(VAR11,3,1);VAR13:=SMA(VAR12,3,1);VAR14:=VAR13 AND VAR13<20;MM:=A AND D AND VAR10 AND VAR14;DRAWTEXT(W=1000,B*1.05,'卖'),COLOR00FF00;DRAWTEXT(D=1000,B*1.05,'买'),colorred;五、神仙提款机尖顶买入:ZIG(3,10)>REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)<REF(ZIG(3,10),2),colorred,LINETHICK2;尖顶卖出:ZIG(3,10)<REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)>REF(ZIG(3,10),2),colorgreen,LINETHICK2;DRAWTEXT(尖顶买入=1,1,'入!'),colorred;DRAWTEXT(尖顶卖出=1,1,'出!'),colorgreen六、神仙建仓VAR1:=REF(LOW,1);VAR2:=SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),13,1)*4;VAR3:=EMA(VAR2,13);VAR4:=LLV(LOW,34);VAR5:=EMA(IF(LOW<=VAR4,VAR3,0),3);主力进场:STICKLINE(VAR5>REF(VAR5,1),0,VAR5,3,0),colorred;七、神仙抄底VAR2:=TROUGHBARS(3,15,1)<10;VAR3:=PEAKBARS(3,15,1)<10;VAR4:=IF(VAR2=1,50,0);VAR5:=IF(VAR3=1,50,0);底部:=IF(VAR4=50,10,0);多头能量:0,colorwhite,LINETHICK2;买入:IF(底部=10AND REF(底部,1)=10AND REF(底部,2)=0,50,0),COLOR0000CC,LINETHICK2; 买入延迟线:底部,LINETHICK1 ,COLOR00CCFF;八、神仙敢死队R1:=150*WINNER(CLOSE*0.95);VAR3:=EMA(100*(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100)),5);VAR4:=(CLOSE-LLV(CLOSE,126))/(HHV(CLOSE,126)-LLV(CLOSE,126))*100;VAR5:=EMA(CLOSE,2)-EMA(CLOSE,120);VAR6:=EMA(VAR5,68);VAR7:=(VAR5+VAR6);敢死:=POW(VAR7,3)*0.1+POW(VAR7,1);九、神仙三线A:=MA(CLOSE,17)+ABS(MA(CLOSE,17)-REF(MA(CLOSE,17),1));B:=MA(CLOSE,17)+MA(CLOSE,17)-REF(MA(CLOSE,17),1);分水岭:IF(MA(CLOSE,17)<B,B,MA(CLOSE,17)),coloryellow,LINETHICK2; 操作线:分水岭-(EMA(C,3)-分水岭),colorgreen,LINETHICK2;PM:MA(C,5),colorwhite,LINETHICK2;IF(PM>REF(PM,1),PM,DRAWNULL),colorred,LINETHICK2;IF(PM=REF(PM,1),PM,DRAWNULL),colorred;IF(PM<REF(PM,1),PM,DRAWNULL),COLORFF9900,LINETHICK2;S:=(PM>操作线);DD:=分水岭<REF(分水岭,1);IF(DD,分水岭,DRAWNULL),coloryellow,LINETHICK2;IF(S,分水岭,DRAWNULL),coloryellow,POINTDOT,LINETHICK4; DRAWICON(CROSS(分水岭,操作线),分水岭-0.1,1);A1:=BARSLAST(REF(CROSS("MACD.DIF","MACD.DEA"),1));B1:=REF(C,A1+1)>C AND REF("MACD.DIF",A1+1)<"MACD.DIF"AND CROSS("MACD.DIF","MACD.DEA");DRAWTEXT(B1>0,L-0.02,'★M'),COLOR00FFFF;A2:=BARSLAST(REF(CROSS("KDJ.K","KDJ.D"),1));B2:=REF(C,A2+1)>C AND REF("KDJ.K",A2+1)<"KDJ.K"ANDCROSS("KDJ.K","KDJ.D");DRAWTEXT(B2,L-0.10,'◎K'),COLORFF00FF;A3:=BARSLAST(REF(CROSS("RSI.RSI1","RSI.RSI2"),1));B3:=REF(C,A3+1)>C AND REF("RSI.RSI1",A3+1)<"RSI.RSI1"AND CROSS("RSI.RSI1","RSI.RSI2");DRAWTEXT(B3>0,L-0.18,'◆R'),COLOR0000FF;C1:=BARSLAST(REF(CROSS("MACD.DEA","MACD.DIF"),1));D1:=REF(C,C1+1)<C AND REF("MACD.DIF",C1+1)>"MACD.DIF"ANDCROSS("MACD.DEA","MACD.DIF");DRAWTEXT(D1>0,H+0.16,'★M'),COLOR00FF00;C2:=BARSLAST(REF(CROSS("KDJ.D","KDJ.K"),1));D2:=REF(C,C2+1)<C AND REF("KDJ.K",C2+1)>"KDJ.K"AND CROSS("KDJ.D","KDJ.K");DRAWTEXT(D2>0,H+0.08,'◎K'),COLORFFFFCC;C3:=BARSLAST(REF(CROSS("RSI.RSI2","RSI.RSI1"),1));D3:=REF(C,C3+1)<C AND REF("RSI.RSI1",C3+1)>"RSI.RSI1"AND CROSS("RSI.RSI2","RSI.RSI1");DRAWTEXT(D3>0,H+0.04,'◆R'),COLORFF9900;十、神式阴线买入VAR11AA:=EMA(CLOSE,30)-EMA(CLOSE,17);VAR12AA:=EMA(VAR11AA,5);九:=TROUGHBARS(3,10,1)<1AND CROSS(VAR11AA,VAR12AA);DRAWICON(九>0,8,1);DRAWTEXT(九,99,'九'),COLOR000000;VAR2A:=(EMA(CLOSE,26)-EMA(CLOSE,52))/MA(CLOSE,60)*100;VAR3A:=EMA(VAR2A,18);VAR4A:=VAR2A<-1;VAR5A:=VAR4A AND CROSS(VAR2A,VAR3A);追2:=VAR5A;追涨C:=IF(追2>0,0.8,0),STICK,coloryellow,LINETHICK4;XX:=EMA(CLOSE,30)-EMA(CLOSE,17);YY:=EMA(XX,13);短针2:TROUGHBARS(3,5,1)<1AND XX<YY;阴:=IF(短针2>0,0.4,0),STICK,COLORF0F000,LINETHICK4;DRAWICON(阴>0,8,1);DRAWTEXT(阴,85,'阴'),COLOR000000;N1:=30;N2:=17;N3:=5;N4:=6;VAR1X:=EMA(CLOSE,N1)-EMA(CLOSE,N2);VAR2X:=EMA(VAR1X,N3);剑:=CROSS(VAR1X,VAR2X) AND TROUGHBARS(3,7,1)<1;DRAWICON(剑>0,8,1);DRAWTEXT(剑,73,'剑'),COLOR000000;阴剑:九OR剑OR阴;。

【股票指标公式下载】-【通达信】一把定乾坤(趋势线、生死线)

【股票指标公式下载】-【通达信】一把定乾坤(趋势线、生死线)

【通达信】一把定乾坤(趋势线、生死线)-指标公式源码VAR1:=IF(YEAR>=2334 AND MONTH>0,0,1);VAR2:=(CLOSE-LLV(LOW,80))/(HHV(HIGH,80)-LLV(LOW,80))*200;VAR3:=SMA(VAR2,3,1);VAR4:=SMA(VAR3,3,1);VAR5:=3*VAR3-2*VAR4;VAR6:=LLV(LOW,5);VAR7:=HHV(HIGH,5);VAR8:=EMA((CLOSE-VAR6)/(VAR7-VAR6)*100,4)*2;VAR9:=EMA(0.667*REF(VAR8,1)+0.333*VAR8,2);VARA:=3*VAR8-2*VAR9;VARB:=POW(MA(CLOSE,5),2)+MA(CLOSE,5);VARC:=POW(MA(LOW,5),2)+MA(LOW,5);VARD:=POW(MA(HIGH,5),2)+MA(HIGH,5);VARE:=(VARB-LLV(VARC,64))/(HHV(VARD,64)-LLV(VARC,64))*150+65-10; VARF:=SMA(VARE,3,1)*1.5-100;VAR10:=SMA(VARF,3,1);VAR11:=3*VARF-2*VAR10;VAR12:=(HIGH+LOW+CLOSE*2)/4;VAR13:=EMA(VAR12,13);VAR14:=STD(VAR12,13);VAR15:=(VAR12-VAR13)*100/VAR14;VAR16:=EMA(VAR15,5);VAR17:=EMA(VAR16,13);VAR18:=EMA(VAR16,13)+200-100;VAR19:=EMA(VAR18,10);VAR1A:=3*VAR18-2*VAR19;VAR1B:=VAR3+VAR8+VARF+VAR18;VAR1C:=VAR4+VAR9+VAR10+VAR19;VAR1D:=VAR5+VARA+VAR11+VAR1A;VAR1E:=(HIGH+LOW+CLOSE)/3;VAR1F:=AMOUNT/VOL/100;VAR20:=SUM(AMOUNT,5)/SUM(VOL,5)/100;VAR21:=(VAR1E-MA(VAR1E,34))/(0.015*AVEDEV(VAR1E,34));VAR22:=DMA(AMOUNT/VOL/100,VOL/CAPITAL);VAR23:=(HIGH+LOW+CLOSE+VAR1E)/4;VAR24:=EMA(VAR23,24);VAR25:=STD(VAR23,24);VAR26:=(VAR23-VAR24)/VAR25*100;VAR27:=(VAR1E-MA(VAR1E,24))/(0.015*AVEDEV(VAR1E,24));VAR28:=EMA(VAR26,5);VAR29:=(VAR1F-MA(VAR1F,21))/(0.015*AVEDEV(VAR1F,21));VAR2A:=(VAR20-MA(VAR20,90))/(0.015*AVEDEV(VAR20,90));VAR2B:=((VAR28+VAR27+VAR21)/3+165)/4;VAR2C:=(EMA(EMA(EMA(VAR2B,15),10),5)-25)*2+VAR22;VAR2D:=(VAR1B+VAR1C+VAR1D*30)/32/5-15;VAR2E:=EMA(VAR2D,13);VAR2F:=(VAR2B+VAR2D)/2/1.1;VAR30:=VAR2F*VAR1;短A: EMA(VAR30,1),COLORRED;短B: EMA(短A,5),COLORFFCC66;趋势线: EMA((VAR2C+VAR2E)/2,2),COLOR0099FF;生死线: EMA(趋势线,40),COLORGREEN,LINETHICK2;VAR31:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;VAR32:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;VAR33:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;VAR34:=DMA(EMA(CLOSE,12),SUM(VOL,5)/3/CAPITAL);VAR35:=(CLOSE-VAR34)/VAR34*100;VAR36:=REF(VAR35,1)<-40 AND VAR35>REF(VAR35,1) ANDREF(VAR35,1)<REF(VAR35,2) AND VAR35-REF(VAR35,1)>2.5;VAR37:=(MA(AMOUNT,5)/MA(VOL,5)/100-MA(AMOUNT,110)/MA(VOL,110)/100)/(M A(AMOUNT,5)/MA(VOL,5)/100)<-0.273;VAR38:=(CLOSE-MA(CLOSE,30))/MA(CLOSE,30)<-0.125;VAR39:=VAR37 AND VAR38;VAR3A:=VAR31>=-45 AND VAR31<=-10 AND VAR32<=-15 AND VAR33<=-20;VAR3B:=COUNT(VAR3A,1)>=1;VAR3C:=1;VAR3D:=VAR39 AND VAR3B;VAR3E:=(MA(AMOUNT,5)*VAR3C/MA(VOL,5)/100-MA(AMOUNT,125)/MA(VOL,125)/1 00)/(MA(AMOUNT,5)/MA(VOL,5)/100)<(-0.4)*VAR3C;VAR3F:=HHV(HIGH,500);VAR40:=LLV(LOW,500);VAR41:=HHV(HIGH,250);VAR42:=LLV(LOW,250);VAR43:=EMA(CLOSE,34);VAR44:=MA(VAR43*0.82,5);VAR45:=CLOSE-REF(MA(CLOSE,20),11)<-2;VAR46:=LLV(LOW,125);VAR47:=MA((VAR3F*0.45+VAR41*0.5+VAR40+VAR42+VAR46)/5,35);VAR48:=VAR47;VAR49:=SMA(AMOUNT/VOL/100,13,1)*0.85;VAR4A:=CLOSE-REF(MA(CLOSE,20),11);VAR4B:=CLOSE<VAR44 AND VAR3E AND CLOSE<VAR49 OR CLOSE<VAR44 AND VAR45 AND VAR3E OR CLOSE<VAR44 AND CLOSE<VAR49 OR CLOSE<VAR44 AND VAR3E AND CLOSE<VAR49 OR VAR3E AND CLOSE<VAR48 OR VAR3E AND VAR45 AND VAR4A<-1.5 OR VAR3E AND CLOSE<VAR44 OR VAR3E AND VAR4A<-1.5 OR VAR45 AND CLOSE<VAR49 OR CLOSE<VAR48 AND VAR4A<-1.5 OR CLOSE<VAR44 AND VAR45;VAR4C:=VAR37 AND VAR38;VAR4D:=VAR31>=-45 AND VAR31<=-7 AND VAR32<=-11 AND VAR33<=-14;VAR4E:=COUNT(VAR4D,1)>=1;VAR4F:=VAR4C AND VAR4E;VAR50:=VAR3E AND CLOSE<VAR44 AND VAR45 AND CLOSE<VAR48 AND VAR4B AND VAR4F;VAR51:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;VAR52:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;VAR53:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;VAR54:=REF(CLOSE,1);VAR55:=SMA(MAX(CLOSE-VAR54,0),5,1)/SMA(ABS(CLOSE-VAR54),5,1)*100; VAR56:=(HIGH+LOW+CLOSE)/3;VAR57:=(VAR56-MA(VAR56,14))/(0.015*AVEDEV(VAR56,14));VAR58:=REF(CLOSE,2)*0.865;VAR59:=REF(CLOSE,13)*0.772;VAR5A:=MIN(VAR58,VAR59);VAR5B:=100*VOL/CAPITAL;VAR5C:=VAR51>=-15.8 AND VAR51<=-12.2 AND VAR52<=-20.8 AND VAR53<=-27.5 AND VAR55<=11.7 AND VAR57<=-145;鬼指: IF(VAR36 OR VAR3D OR VAR50 OR VAR5C OR (CLOSE-VAR5A)/CLOSE<0.03 AND SUM(VAR5B,5)/5<1.8,100,-32),COLORYELLOW;风险区: STICKLINE(趋势线>105,140,130,10,1),COLORRED;鬼顶: STICKLINE(趋势线>135,140,130,10,0),COLORBLUE;鬼道: STICKLINE(BETWEEN(趋势线,CROSS(趋势线,150),140),-40,-30,0,0),COLORFFCC66;安全区: STICKLINE(趋势线<-15,-41,-31,10,1),COLOR0099FF;鬼底: STICKLINE(趋势线<-26,-41,-31,4,0),COLORWHITE;鬼眼:IF(CROSS(100,短A) OR CROSS(80,短A),105,120),COLORFFCCCC; DRAWTEXT(CROSS(趋势线,130) OR CROSS(趋势线,135) OR CROSS(135,趋势线) OR CROSS(132,趋势线) OR CROSS(130,趋势线) OR CROSS(128,趋势线) OR CROSS(126,趋势线) OR CROSS(124,趋势线),140,'◆'),COLORYELLOW;DRAWICON(CROSS(短B,趋势线) AND 趋势线<=-17 OR CROSS(趋势线,生死线) AND 生死线<=5,{-15}0,1);【通达信】一把定乾坤(趋势线、生死线)-指标公式效果图(文档来源:若水财经社区)。

通达信定海神针波段底指标公式

通达信定海神针波段底指标公式

通达信定海神针波段底指标公式
通达信定海神针波段底指标公式是一种技术分析指标,主要用于股票市场中的波段底分析。

其计算公式如下:
底点 := HHV(H, N) - BarsSince(HHV(H, N));
底位 := Ref(L, BarsSince(L = LLV(L, N)));
定海神针波段底指标 := If(Cross(L,MA(C,5)),底点,底位);
其中,HHV表示最高价的最高值,N表示统计周期,L表示最低价,LLV表示最低价的最低值,Ref表示某个指标向前移动的周期数,Cross表示两个指标之间的交叉。

通达信定海神针波段底指标可以帮助投资者准确把握股票市场中的波段底,及时做出买入或卖出的决策,提高交易的成功率和盈利水平。

- 1 -。

通达信神奇的探温针主图指标公式

通达信神奇的探温针主图指标公式

通达信神奇的探温针主图指标公式N:=120;K:=BARSLAST(CURRBARSCOUNT=N);GD:=CONST(IF(ISLASTBAR=1,HHV(H,K),0));{高点}DD:=CONST(IF(ISLASTBAR=1,LLV(L,K),0));{低点}KJ:=GD-DD;{高低点差值=分区高度}GD4:=IF(CURRBARSCOUNT<=N/30,GD,DRAWNULL); {设置分区的宽度,调整数据可调整分区宽度}平衡:=IF(CURRBARSCOUNT<=N/30,DD+KJ/2,DRAWNULL),COLOR 00FFFF;{低点+中点=0.50线,NODRAW}压力:=IF(CURRBARSCOUNT<=N/30,GD-KJ*0.191,DRAWNULL),COLORFF00FF;{高点-分区高度*0.191=0.819线,NODRAW}支撑:=IF(CURRBARSCOUNT<=N/30,DD+KJ*0.191,DRAWNULL),CO LOR00FF00;{低点+分区高度*0.191=0.191线,NODRAW} 高:=IF(CURRBARSCOUNT<=N/30,GD,DRAWNULL),COLOR00 FFFF;{高点划线,POINTDOT}低:=IF(CURRBARSCOUNT<=N/30,DD,DRAWNULL),COLOR00 FF00;{低点划线,POINTDOT}DRAWBAND(高,RGB(160,160,0),压力,RGB(0,0,0));DRAWBAND(压力,RGB(130,0,0),平衡,RGB(0,0,0));DRAWBAND(平衡,RGB(100,0,100),支撑,RGB(0,0,0));DRAWBAND(支撑,RGB(150,150,150),低,RGB(0,0,0));止损:=REF(HHV(H,5),3)*0.925,COLORGRAY,DOTLINE;STICKLINE(CURRBARSCOUNT=1,止损,止损,80,-1),COLORYELLOW;STICKLINE(CURRBARSCOUNT=N/30,GD,DD,0,0),COLORGRE EN;{划左侧高低点边线}STICKLINE(CURRBARSCOUNT=1,GD,DD,0,0),COLORGREEN;{划右侧高低点边线}STICKLINE(CURRBARSCOUNT<=N/30,平衡,平衡,4,0),COLORWHITE;{划平衡线横线线}STICKLINE(CURRBARSCOUNT<=N/30,压力,压力,4,0),COLORRED;{划压力线横线线}STICKLINE(CURRBARSCOUNT<=N/30,支撑,支撑*0.997,4,0),COLORRED;{划支撑想横线线}STICKLINE(CURRBARSCOUNT<=N/30,低,低,4,0),COLORGREEN;{划低位横线线};VAR93:=CLOSE=LLV(C,4) AND (REF(C,1)<REF(C,2) OR REF(C,1)<REF(C,3)) OR REF(C,1)=LLV(C,4) AND C<REF(C,2) OR REF(C,2)=LLV(C,4) AND REF(C,1)=HHV(C,4) AND C<REF(C,1) OR REF(C,3)=LLV(C,4) AND C<REF(C,1) AND C<REF(C,2);VAR94:=REF(C,1)=LLV(C,4) AND C>=REF(C,2) OR REF(C,2)=LLV(C,4) AND REF(C,1)<=REF(C,3) AND REF(C,2)<REF(C,4) AND C>=REF(C,1);STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,3,0),COLORFF7700;STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,2.2,0),COLORFF990 0;STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,1.5,0),COLORFFBB0 0;STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3,0),COLOR000099;STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2.2,0),COLOR0000CC;STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1.5,0),COLOR0000FF;STICKLINE(VAR93,OPEN,(OPEN+CLOSE)/2,3,0),COLOR00990 0;STICKLINE(VAR93,OPEN,(OPEN+CLOSE)/2,2.2,0),COLOR00B B00;STICKLINE(VAR94,OPEN,(OPEN+CLOSE)/2,3,0),COLOR99999 9;STICKLINE(VAR94,OPEN,(OPEN+CLOSE)/2,2.2,0),COLORBBB BBB;DRAWTEXT_FIX(ISLASTBAR,0.80,0,1,'止损价:'),COLORGREEN;DRAWNUMBER_FIX(ISLASTBAR,0.805,0,0,REF(HHV(H,5),3)*0. 925)COLORGREEN;DRAWTEXT_FIX(ISLASTBAR,0.80,0.1,1,'买进价:'),COLORRED;DRAWNUMBER_FIX(ISLASTBAR,0.805,0.1,0,REF(C,1)*1.043)C OLORRED;CCI151:=((HIGH+LOW+CLOSE)/3-MA((HIGH+LOW+CLOSE)/3,15))/(0.015*AVEDEV((HIGH+LOW+C LOSE)/3,15));CCI101:=((HIGH+LOW+CLOSE)/3-MA((HIGH+LOW+CLOSE)/3,10))/(0.015*AVEDEV((HIGH+LOW+C LOSE)/3,10));CCI51:=((HIGH+LOW+CLOSE)/3-MA((HIGH+LOW+CLOSE)/3,5))/(0.015*AVEDEV((HIGH+LOW+CL OSE)/3,5));CCI31:=((HIGH+LOW+CLOSE)/3-MA((HIGH+LOW+CLOSE)/3,3))/(0.015*AVEDEV((HIGH+LOW+CL OSE)/3,3));CCI买点定位1:=CROSS(CCI51,0) AND CROSS(CCI31,0) ANDREF(CCI151,1)>0 AND REF(CCI101,1)>-30 AND REF(CCI151,1)>REF(CCI101,1) AND REF(CCI101,1)>REF(CCI51,1);CCI买点定位2:=CROSS(CCI31,0) AND CCI51>REF(CCI51,1) AND REF(CCI51,1)<-100 AND REF(CCI151,1)>0 AND REF(CCI101,1)>-30 AND REF(CCI151,1)>REF(CCI101,1) AND REF(CCI101,1)>REF(CCI51,1);CCI买点定位3:=CROSS(CCI51,0) AND CROSS(CCI31,0) AND REF(CCI101,1)>0 AND REF(CCI101,1)>REF(CCI151,1);买点定位:=CCI买点定位1=1 OR CCI买点定位2=1 OR CCI买点定位3=1;VOL比:=VOL/REF(VOL,1);出现买点:=买点定位 AND VOL比>1.2;STICKLINE(出现买点,O,C,3,0),COLOR2CB3E3;DRAWTEXT(出现买点 ,L*0.98,'出现买点')COLORYELLOW;DRAWICON(出现买点,L*0.99,1);。

【炒股必备】通达信闪电之王+选股指标公式

【炒股必备】通达信闪电之王+选股指标公式

【炒股必备】通达信闪电之王+选股指标公式通达信闪电之王+选股指标公式V AR1:="DMI.PDI"(12,6);V AR2:="DMI.MDI"(12,6);V AR3:=V AR1>65 AND V AR1>REF(V AR1,1);V AR4:=LLV(V AR1,0);V AR5:=BARSLAST(V AR4=V AR1);V AR6:=(0-REF(V AR2,4))/(V AR4-REF(V AR2,V AR5))>2;V AR7:=V AR1>REF(V AR1,1);V AR8:=VOL>2*MA(VOL,30);V AR9:="DMI.ADX"(12,6);V ARA:="DMI.ADXR"(12,6);V ARB:=CLOSE>MA(CLOSE,30) AND CLOSEV ARC:=MA(CLOSE,30)>REF(MA(CLOSE,30),1);V ARD:=BARSLAST(CROSS(MA(CLOSE,5),MA(CLOSE,10)))V ARE:=0-"MACD.DIF"(7,21,3);V ARF:=TROUGHBARS(3,15,1)<4;V AR10:=EMA(CLOSE,30)>REF(EMA(CLOSE,30),2);V AR11:=IF(V ARF=1,50,0);V AR12:=CROSS(V AR2,V AR1) AND CROSS(V ARA,V AR9);V AR13:=CROSS(V AR2,V AR1) AND CROSS(V AR9,V ARA);V AR14:=V ARB AND V ARC AND V ARD AND V AR10 AND V AR6 AND V AR7 AND V AR8*50; VAR15:=BARSLAST(CROSS(V AR2,V AR1)=1);V AR16:=BARSLAST(CROSS(V AR1,V AR2)=1);V AR17:=HHV(V AR1,V AR16);V AR18:=BARSLAST(V AR1=V AR17);多空:EMA((CLOSE-MA((2*CLOSE+HIGH+LOW)/4,30))/MA((2*CLOSE+HIGH+LOW)/4,30)*1 00,3),COLORWHITE; 0,COLORRED;选股:IF(V ARF=1,5,0) ;STICKLINE(FILTER(V ARF=1,5) AND 多空<-10,50,0,30,0),COLORRED;STICKLINE(FILTER(V ARF=1,5),50,0,10,0),COLORRED;V AR19:=V AR3 OR V AR12 OR V AR13*100;V AR1A:=V AR13*100;DRAWICON(FILTER(V ARF=1,3),50,1);DRAWTEXT(FILTER(V ARF=1,3),25,'雷电交加'),COLORYELLOW; STICKLINE(多空<-10,0,多空,1,0),COLORYELLOW;{选股公式:V ARF:=TROUGHBARS(3,15,1)<4; XG:V ARF=1;}。

通达信主图指标股海英雄(附源码)

通达信主图指标股海英雄(附源码)

通达信主图指标股海英雄(附源码)上线:=SMA(C,6.5,1);下线:=SMA(C,13.5,1);上线1:=SMA(C,3,1);下线1:=SMA(C,8,1);STICKLINE(上线>下线, 上线,下线,2.5, 0),COLORRED,LINETHICK2;STICKLINE(下线>上线,上线,下线,2.5,0),COLORYELLOW,LINETHICK2;DRAWTEXT( CROSS(上线,下线),LOW *0.98,'全仓买' ),COLOR00FF00;DRAWTEXT(CROSS(下线1,上线1),H*1.02,'清仓'),COLORYELLOW;BBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;UPR:=BBI+3*STD(BBI,13),LINETHICK2;DWN:=BBI-3*STD(BBI,13);安全:=MA(CLOSE,60),LINETHICK2;LC:=REF(CLOSE,1);RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;DRAWTEXT( CROSS(82,RSI) , HIGH*1.02,'减仓') ,COLORFF9966,LINETHICK2;A7:=(2*C+H+L)/4;操作:MA(A7,5),LINETHICK2;操作1:=MA(A7,5)*1.03,LINETHICK2;操作2:=MA(A7,5)*0.97,LINETHICK2;VAR1:LLV(A7,21);VAR2:HHV(A7,21);SK:=EMA((A7-VAR1)/(VAR2-VAR1)*100,7);SD:=EMA(0.667*REF(SK,1)+0.333*SK,5);DRAWTEXT(IF(COUNT(CLOSE<REF(CLOSE,1),8)/8>6/10 AND VOL>=1.5*MA(VOL,5) AND COUNT(SK>=SD,3) AND REF(LOW,1)=LLV(LOW,120),1,0),LOW*0.98,'买进') ,COLOR0099FF; DRAWTEXT(IF(COUNT(CLOSE<REF(CLOSE,1),13)/13>6/10 ANDCOUNT(SK>SD,6) AND REF(LOW,5)=LLV(LOW,120) AND REF(CLOSE>=OPEN,4) ANDREF(CLOSE>OPEN,3) AND REF(CLOSE>OPEN,2) AND REF(OPEN>CLOSE,1) ANDOPEN>REF(CLOSE,1),1,0),LOW*0.98,'买进') ,COLORYELLOW;D:=MA(CLOSE,80)-MA(CLOSE,10)/3;DRAWTEXT(IF(CLOSE<D AND VOL/240>MA(VOL,5)/240 AND CLOSE>REF(CLOSE,1)*1.08 AND CLOSE<MA(CLOSE,13)*1.3,1,0),LOW*0.98,'抄底'),COLORYELLOW;。

【股票指标公式下载】-【通达信】降龙十八掌(见龙在田、主图)

【股票指标公式下载】-【通达信】降龙十八掌(见龙在田、主图)
通达信降龙十八掌见龙在田主图指标公式效果图文档来源
【通达信】降龙十八掌(见龙在田、主图)-指标公式源码
JJJ:=IF(DYNAINFO(8)>0.01,0.01*DYNAINFO(10)/DYNAINFO(8),DYNAINFO(3));
DDD:=(DYNAINFO(5)<0.01 || DYNAINFO(6)<0.01);
JJJT:=IF(DDD,1,(JJJ<(DYNAINFO(5)+0.01) && JJJ>(DYNAINFO(6)-0.01)));
CYC1:=IF(JJJT,0.01*MA(AMOUNT,55)/MA(VOL,55),MA((HIGH+LOW+CLOSE)/3,55));
CYC2:=IF(JJGH+LOW+CLOSE)/3,89));
STICKLINE(CYC1<CYC2,CYC1,CYC2,5,0)COLORWHITE;
STICKLINE(CYC2<CYC3 AND CYC1<CYC2 ,CYC2,CYC3,4,0)COLORLIBLUE;
STICKLINE(CYC3<CYC∞ AND CYC2<CYC3 ,CYC3,CYC∞,3,0)COLORCYAN;
STICKLINE(CYC1>CYC2,CYC1,CYC2,5,0)COLORYELLOW;
STICKLINE(CYC2>CYC3 AND CYC1>CYC2 ,CYC2,CYC3,4,0)COLORLIGREEN;
STICKLINE(CYC3>CYC∞ AND CYC2>CYC3 ,CYC3,CYC∞,3,0)COLORRED;

【股票指标公式下载】-【通达信】股海神灯(圣灵石)

【股票指标公式下载】-【通达信】股海神灯(圣灵石)

【通达信】股海神灯(圣灵石)-指标公式源码圣灵石1:EMA(C,3),LINETHICK2;圣灵石仙1:EMA(C,7),LINETHICK2;圣2:=IF((EMA((C*2+H+L)/4,1)-EMA((C*2+H+L)/4,40)-EMA(EMA((C*2+H+L)/4,1)-EMA((C*2+H+L)/4,40),5))*100<-20,-20,IF((EMA((C*2+H+L)/4,1)-EMA((C*2+H +L)/4,40)-EMA(EMA((C*2+H+L)/4,1)-EMA((C*2+H+L)/4,40),5))*100>100,100, (EMA((C*2+H+L)/4,1)-EMA((C*2+H+L)/4,40)-EMA(EMA((C*2+H+L)/4,1)-EMA((C *2+H+L)/4,40),5))*100));灵2:=IF((3*(HHV(HIGH,5)-CLOSE)/(HHV(HIGH,5)-LLV(LOW,5))*20-2*SMA((HHV(H IGH,5)-CLOSE)/(HHV(HIGH,5)-LLV(LOW,5))*20,3,1))*1>100,100,IF((3*(HHV( HIGH,5)-CLOSE)/(HHV(HIGH,5)-LLV(LOW,5))*20-2*SMA((HHV(HIGH,5)-CLOSE)/ (HHV(HIGH,5)-LLV(LOW,5))*20,3,1))*1<-5,-5,(3*(HHV(HIGH,5)-CLOSE)/(HHV (HIGH,5)-LLV(LOW,5))*20-2*SMA((HHV(HIGH,5)-CLOSE)/(HHV(HIGH,5)-LLV(LO W,5))*20,3,1))*1));石2:=IF((HHV(HIGH,13)-CLOSE)/(HHV(HIGH,13)-LLV(LOW,13))*120>100,100,(HH V(HIGH,13)-CLOSE)/(HHV(HIGH,13)-LLV(LOW,13))*120);股海神灯:=CROSS(圣2,灵2) AND CROSS(80,石2);DRAWICON(股海神灯,L*0.98,1);DRAWTEXT(股海神灯,LOW *0.98,'股海神灯' ),COLORYELLOW;{STICKLINE(股海神灯,H,L,6,0),LINETHICK1,COLORRED;STICKLINE(股海神灯,H,L,0.2,0),COLORYELLOW;STICKLINE(股海神灯,O,C,2,0),LINETHICK1,COLORYELLOW;DRAWICON(股海神灯,(H+L)/2,7);}【通达信】股海神灯(圣灵石)-指标公式效果图(文档来源:若水财经社区)。

股票指标公式通达信分时控盘无庄控盘有庄控盘主力出货

股票指标公式通达信分时控盘无庄控盘有庄控盘主力出货

股票指标公式通达信分时控盘⽆庄控盘有庄控盘主⼒出货K2:=EMA(C,5),COLORFFFF00;K3:=EMA(C,10),COLORFFFF00;K5:=EMA(C,30),COLORFFFF00;KK5:=EMA(INDEXC,30),COLORFFFF00;K6:=2*(K2-K5);K7:=2*(K2-K3);K8:=2*(K7+K6),COLORRED;STICKLINE(CROSS(K8,0),0,10,8,0),COLORRED;K1:=IF(K8>REF(K8,5)ANDK3K21:=IF(K8>REF(K8,7)ANDK3K31:=IF(K8>REF(K8,9)ANDK3K4:=IF(K8>REF(K8,11)ANDK3底部:=STICKLINE((K1ORK21ORK31ORK4)ANDK8<0ANDK8>REF(K8,1),5,0,8,0); 天:87.5,COLORMAGENTA;风险:80,COLORGRAY;地:10,COLORGREEN;散户:=EMA(CLOSE,5),COLORWHITE;操盘:=MA(CLOSE,9),COLORCYAN,LINETHICK2;界点:=MA(CLOSE,20),COLORMAGENTA;BU1:=CROSS(散户,操盘);买线1:=EMA(C,2);卖线1:=EMA(SLOPE(C,21)*20+C,42);BU2:=CROSS(买线1,卖线1);KAAA:=BU2ANDBU1ANDK6;AA:=LLV(LOW,36);BB:=HHV(HIGH,30);DD:=EMA((CLOSE-AA)/(BB-AA)*4,4)*25;操作线:DD,COLORRED,LINETHICK2;股海:=(DD-LLV(DD,21))/(HHV(DD,21)-LLV(DD,21))*4*25;⽬标出现:IF(CROSS(股海,90)AND操作线<40,70,0),COLORBLUE;注意:IF(COUNT(操作线>REF(操作线,1),1)=1ANDREF(操作线,1)⿊马:EMA(EMA(C,12)-EMA(C,25),2),COLORCC00CC,LINETHICK2;MA1:EMA(⿊马,6),COLORYELLOW,LINETHICK2;MA2:(MA1<(MA(C,3)*0.618/C))*MA1,LINETHICK0;WWW:EMA(EMA(C,12)-EMA(C,25),2),COLORYELLOW,LINETHICK0;XDKXGS:EMA(⿊马,6),COLORYELLOW,LINETHICK0;CN:(MA1<(MA(C,3)*0.618/C))*MA1,COLORYELLOW,LINETHICK0;MA3:DRAWICON((MA2ORMA1<(MA(C,3)*0.618/C))ANDCROSS(⿊马,MA1)ANDV>REF(MA(V,5),1)*1.1ANDC>MA(C,125)ANDC>REF(C,1)*1.02,MA1,5),COLORCC00CC;MA4:IF((MA2ORMA1<(MA(C,3)*0.618/C))ANDCROSS(⿊马,MA1)ANDV>REF(MA(V,5),1)*1.1ANDC>MA(C,125)ANDC>REF(C,1)*1.02,MA1*1.01,MA1),COLORD4FF7F;DRAWTEXT((MA2ORMA1<(MA(C,3)*0.618/C))ANDCROSS(⿊马,MA1)ANDV>REF( MA(V,5),1)*1.1ANDC>MA(C,125)ANDC>REF(C,1)*1.02,MA1*1.2,'关注启动'),COLORRED;K2:=EMA(C,5),COLORFFFF00;K3:=EMA(C,10),COLORFFFF00;K5:=EMA(C,30),COLORFFFF00;KK5:=EMA(INDEXC,30),COLORFFFF00;K6:=2*(K2-K5);K7:=2*(K2-K3);K8:=2*(K7+K6),COLORRED;STICKLINE(CROSS(K8,0),0,10,8,0),COLORRED;K1:=IF(K8>REF(K8,5)ANDK3K21:=IF(K8>REF(K8,7)ANDK3K31:=IF(K8>REF(K8,9)ANDK3K4:=IF(K8>REF(K8,11)ANDK3底部:=STICKLINE((K1ORK21ORK31ORK4)ANDK8<0ANDK8>REF(K8,1),5,0,8,0);天:87.5,COLORMAGENTA;风险:80,COLORGRAY;地:10,COLORGREEN;散户:=EMA(CLOSE,5),COLORWHITE;操盘:=MA(CLOSE,9),COLORCYAN,LINETHICK2;界点:=MA(CLOSE,20),COLORMAGENTA;BU1:=CROSS(散户,操盘);买线1:=EMA(C,2);卖线1:=EMA(SLOPE(C,21)*20+C,42);BU2:=CROSS(买线1,卖线1);KAAA:=BU2ANDBU1ANDK6;AA:=LLV(LOW,36);BB:=HHV(HIGH,30);DD:=EMA((CLOSE-AA)/(BB-AA)*4,4)*25;操作线:DD,COLORRED,LINETHICK2;股海:=(DD-LLV(DD,21))/(HHV(DD,21)-LLV(DD,21))*4*25;⽬标出现:IF(CROSS(股海,90)AND操作线<40,70,0),COLORBLUE;注意:IF(COUNT(操作线>REF(操作线,1),1)=1ANDREF(操作线,1)⿊马:EMA(EMA(C,12)-EMA(C,25),2),COLORCC00CC,LINETHICK2;MA1:EMA(⿊马,6),COLORYELLOW,LINETHICK2;MA2:(MA1<(MA(C,3)*0.618/C))*MA1,LINETHICK0;WWW:EMA(EMA(C,12)-EMA(C,25),2),COLORYELLOW,LINETHICK0; XDKXGS:EMA(⿊马,6),COLORYELLOW,LINETHICK0;CN:(MA1<(MA(C,3)*0.618/C))*MA1,COLORYELLOW,LINETHICK0;MA3:DRAWICON((MA2ORMA1<(MA(C,3)*0.618/C))ANDCROSS(⿊马,MA1)ANDV>REF(MA(V,5),1)*1.1ANDC>MA(C,125)ANDC>REF(C,1)*1.02,MA1,5),COLORCC00CC;MA4:IF((MA2ORMA1<(MA(C,3)*0.618/C))ANDCROSS(⿊马,MA1)ANDV>REF( MA(V,5),1)*1.1ANDC>MA(C,125)AND C>REF(C,1)*1.02,MA1*1.01,MA1),COLORD4FF7F;DRAWTEXT((MA2ORMA1<(MA(C,3)*0.618/C))ANDCROSS(⿊马,MA1)ANDV>REF(MA(V,5),1)*1.1ANDC>MA(C,125)ANDC>REF(C,1)*1.02,MA1*1.2,'关注启动'),COLORRED;⿊马:EMA(EMA(C,12)-EMA(C,25),2),COLORCC00CC,LINETHICK2;MA1:EMA(⿊马,6),COLORYELLOW,LINETHICK2;MA2:(MA1<(MA(C,3)*0.618/C))*MA1,LINETHICK0;WWW:EMA(EMA(C,12)-EMA(C,25),2),COLORYELLOW,LINETHICK0; XDKXGS:EMA(⿊马,6),COLORYELLOW,LINETHICK0;CN:(MA1<(MA(C,3)*0.618/C))*MA1,COLORYELLOW,LINETHICK0;MA3:DRAWICON((MA2ORMA1<(MA(C,3)*0.618/C))ANDCROSS(⿊马,MA1)ANDV>REF(MA(V,5),1)*1.1ANDC>MA(C,125)ANDC>REF(C,1)*1.02,MA1,5),COLORCC00CC;MA4:IF((MA2ORMA1<(MA(C,3)*0.618/C))ANDCROSS(⿊马,MA1)ANDV>REF(MA(V,5),1)*1.1ANDC>MA(C,125)ANDC>REF(C,1)*1.02,MA1*1.01,MA1),COLORD4FF7F;DRAWTEXT((MA2ORMA1<(MA(C,3)*0.618/C))ANDCROSS(⿊马,MA1)ANDV>REF(MA(V,5),1)*1.1ANDC>MA(C,125)ANDC>REF(C,1)*1.02,MA1*1.2,'关注启动'),COLORRED;圣灵⽯:EMA(EMA(C,12)-EMA(C,25),2),COLORCC00CC,LINETHICK2;MA1:EMA(圣灵⽯,6),COLORYELLOW,LINETHICK2;MA2:(MA1<(MA(C,3)*0.618/C))*MA1,LINETHICK0;WWW:EMA(EMA(C,12)-EMA(C,25),2),COLORYELLOW,LINETHICK0;XDKXGS:EMA(圣灵⽯,6),COLORYELLOW,LINETHICK0;CN:(MA1<(MA(C,3)*0.618/C))*MA1,COLORYELLOW,LINETHICK0;MA3:DRAWICON((MA2ORMA1<(MA(C,3)*0.618/C))ANDCROSS(圣灵⽯,MA1)ANDV>REF(MA(V,5),1)*1.1ANDC>MA(C,125)ANDC>REF(C,1)*1.02,MA1,5),COLORCC00CC;MA4:IF((MA2ORMA1<(MA(C,3)*0.618/C))ANDCROSS(圣灵⽯,MA1)ANDV>REF( MA(V,5),1)*1.1ANDC>MA(C,125)ANDC>REF(C,1)*1.02,MA1*1.01,MA1),COLORD4FF7F;DRAWTEXT((MA2ORMA1<(MA(C,3)*0.618/C))ANDCROSS(圣灵⽯,MA1)ANDV>REF(MA(V,5),1)*1.1ANDC>MA(C,125)ANDC>REF(C,1)*1.02,MA1*1.2,'关注启动'),COLORRED;输出圣灵⽯:收盘价的12⽇指数移动平均-收盘价的25⽇指数移动平均的2⽇指数移动平均,COLORCC00CC,LINETHICK2输出MA1:圣灵⽯的6⽇指数移动平均,画黄⾊,LINETHICK2输出均线:(MA1<(收盘价的3⽇简单移动平均*0.618/收盘价))*MA1,LINETHICK0输出WWW:收盘价的12⽇指数移动平均-收盘价的25⽇指数移动平均的2⽇指数移动平均,画黄⾊,LINETHICK0输出XDKXGS:圣灵⽯的6⽇指数移动平均,画黄⾊,LINETHICK0输出CN:(MA1<(收盘价的3⽇简单移动平均*0.618/收盘价))*MA1,画黄⾊,LINETHICK0输出MA3:当满⾜条件(MA2ORMA1<(收盘价的3⽇简单移动平均*0.618/收盘价))ANDCROSS(圣灵⽯,MA1)ANDV>昨⽇成交量(⼿)的5⽇简单移动平均*1.1ANDC>收盘价的125⽇简单移动平均ANDC>昨收*1.02时,在MA1位置画5号图标,COLORCC00CC输出MA4:如果(MA2ORMA1<(收盘价的3⽇简单移动平均*0.618/收盘价))ANDCROSS(圣灵⽯,MA1)ANDV>昨⽇成交量(⼿)的5⽇简单移动平均*1.1ANDC>收盘价的125⽇简单移动平均ANDC>昨收*1.02,返回MA1*1.01,否则返回MA1,COLORD4FF7F当满⾜条件(MA2ORMA1<(收盘价的3⽇简单移动平均*0.618/收盘价))ANDCROSS(圣灵⽯,MA1)ANDV>昨⽇成交量(⼿)的5⽇简单移动平均*1.1ANDC>收盘价的125⽇简单移动平均ANDC>昨收*1.02时,在MA1*1.2位置书写⽂字,画红⾊上(*^四__哥^*)23:48:27⿊马:EMA(EMA(C,12)-EMA(C,25),2),COLORCC00CC,LINETHICK2;MA1:EMA(⿊马,6),COLORYELLOW,LINETHICK2;MA2:(MA1<(MA(C,3)*0.618/C))*MA1,LINETHICK0;WWW:EMA(EMA(C,12)-EMA(C,25),2),COLORYELLOW,LINETHICK0;XDKXGS:EMA(⿊马,6),COLORYELLOW,LINETHICK0;CN:(MA1<(MA(C,3)*0.618/C))*MA1,COLORYELLOW,LINETHICK0;MA3:DRAWICON((MA2ORMA1<(MA(C,3)*0.618/C))ANDCROSS(⿊马,MA1)ANDV>REF(MA(V,5),1)*1.1ANDC>MA(C,125)ANDC>REF(C,1)*1.02,MA1,5),COLORCC00CC;MA4:IF((MA2ORMA1<(MA(C,3)*0.618/C))ANDCROSS(⿊马,MA1)ANDV>REF( MA(V,5),1)*1.1ANDC>MA(C,125)ANDC>REF(C,1)*1.02,MA1*1.01,MA1),COLORD4FF7F;DRAWTEXT((MA2ORMA1<(MA(C,3)*0.618/C))ANDCROSS(⿊马,MA1)ANDV>REF(MA(V,5),1)*1.1ANDC>MA(C,125)ANDC>REF(C,1)*1.02,MA1*1.2,'关注启动'),COLORRED;上:ISSUEDATE;{上市时间}均:ref(CAPITAL/HOLDERNUM,1)*100,pointdot;{⼈均持股}⾼:HHV(HIGH,0);{历史最⾼}低:LLV(LOW,0),colorred;{历史最低}总:FINANCE(1),pointdot;{总股本}流:IF(VOL>0,CAPITAL/100,0),pointdot;{流通盘}量:vol;额:amount;{成交额}益:finance(33);{每股收益}换:100*v/capital;{换⼿率}盈:dynainfo(39);{市盈率}积:finance(18);{公积⾦}净:finance(34);{每股净资产}{基本⾯选股==基本⾯选股好!}{jbmxg基本⾯选股}{基本⾯选股==基本⾯选股好已可⽤}{jbmxg基本⾯选股}总股本:=FINANCE2(35)/10000<100;流通股:=FINANCE2(37)/10000<20;限售A股:=FINANCE2(41);每股收益:=FINANCE2(3)>0.2;市盈率:=DYNAINFO(39)<30;每股公积⾦:=FINANCE2(7);价:=c<30andc>5;涨幅1:=c/ref(c,1)>1.03;量:=v>ref(v,1)*1.2;xg:if(总股本and每股收益and市盈率and价and涨幅1and量,1,0);{选股⽅法:1。

通达信——【股海神剑】选股器该选股器是我...

通达信——【股海神剑】选股器该选股器是我...

通达信——【股海神剑】选股器该选股器是我...
通达信——【股海神剑】选股器
该选股器是我从一个姓杨的大神级人物那里机缘巧合之下得来的。

在我得到之后也是多番尝试,时长多达近两年,胜率也不错大概在95%的样子。

关键是简单易上手,而且能从几千支里面就挑选出极少的几只优质的,大大减少节约我们的时间,让我们有更多时间去分析研究。

在我用了这选股器之后基本都是吃米的。

这次拿出来也是希望大家能多多交流,分享经验,让我们都能有进步,精益求精。

下面源码奉上,大家都可以自己试试。

源码:
TRTR := SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),7);
HD := HIGH-REF(HIGH,1);
LD := REF(LOW,1)-LOW;
DMP:= SUM(IF(HD>0 AND HD>LD,HD,0),7);
DMM:= SUM(IF(LD>0 AND LD>HD,LD,0),7);
+DI:= DMP*100/TR;
-DI:= DMM*100/TR;
ADX:= MA(ABS(-DI-+DI)/(-DI++DI)*100,6);
神剑:CROSS ADX AND V>REF(V,1)*1.6 AND KDJ.J>50 AND C>O;。

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

【通达信】圣灵石(定海神针)-指标公式源码
定海神针:=STICKLINE(CROSS(((HIGH + LOW + CLOSE)/3-MA((HIGH + LOW + CLOSE)/3,11))/(0.015*AVEDEV((HIGH + LOW + CLOSE)/3,11)),-200) AND ((HIGH + LOW + CLOSE)/3-MA((HIGH + LOW + CLOSE)/3,11))/(0.015*AVEDEV((HIGH + LOW + CLOSE)/3,11))>REF(((HIGH + LOW + CLOSE)/3-MA((HIGH + LOW + CLOSE)/3,11))/(0.015*AVEDEV((HIGH + LOW + CLOSE)/3,11)),1),((HIGH + LOW + CLOSE)/3-MA((HIGH + LOW + CLOSE)/3,11))/(0.015*AVEDEV((HIGH + LOW + CLOSE)/3,11)),0,2,0),COLORYELLOW,LINETHICK3;
STICKLINE(((HIGH + LOW + CLOSE)/3-MA((HIGH + LOW +
CLOSE)/3,11))/(0.015*AVEDEV((HIGH + LOW + CLOSE)/3,11))>0,0,((HIGH + LOW + CLOSE)/3-MA((HIGH + LOW + CLOSE)/3,11))/(0.015*AVEDEV((HIGH + LOW + CLOSE)/3,11)),1.5,0),COLOR0000D5;
STICKLINE(定海神针,150,-40,2,0),COLORRED;
STICKLINE(定海神针,150,200,2,0),COLORYELLOW;
STICKLINE(定海神针,-100,-40,2,0),COLORYELLOW;
DRAWTEXT(定海神针,130,'如'),COLORYELLOW;
DRAWTEXT(定海神针,92.5,'意'),COLORYELLOW;
DRAWTEXT(定海神针,56.5,'金'),COLORYELLOW;
DRAWTEXT(定海神针,17,'箍'),COLORYELLOW;
DRAWTEXT(定海神针,-22,'棒'),COLORYELLOW;
STICKLINE(CROSS(200,((HIGH + LOW + CLOSE)/3-MA((HIGH + LOW + CLOSE)/3,11))/(0.015*AVEDEV((HIGH + LOW + CLOSE)/3,11))) AND ((HIGH + LOW + CLOSE)/3-MA((HIGH + LOW + CLOSE)/3,11))/(0.015*AVEDEV((HIGH + LOW + CLOSE)/3,11))<REF(((HIGH + LOW + CLOSE)/3-MA((HIGH + LOW +
CLOSE)/3,11))/(0.015*AVEDEV((HIGH + LOW + CLOSE)/3,11)),1),0,((HIGH + LOW + CLOSE)/3-MA((HIGH + LOW + CLOSE)/3,11))/(0.015*AVEDEV((HIGH + LOW + CLOSE)/3,11)),2,0),COLORGREEN,LINETHICK2;
涨:IF(((HIGH + LOW + CLOSE)/3-MA((HIGH + LOW +
CLOSE)/3,11))/(0.015*AVEDEV((HIGH + LOW + CLOSE)/3,11))>REF(((HIGH + LOW + CLOSE)/3-MA((HIGH + LOW + CLOSE)/3,11))/(0.015*AVEDEV((HIGH + LOW + CLOSE)/3,11)),7),((HIGH + LOW + CLOSE)/3-MA((HIGH + LOW +
CLOSE)/3,11))/(0.015*AVEDEV((HIGH + LOW +
CLOSE)/3,11)),DRAWNULL),COLORRED;
跌:IF(((HIGH + LOW + CLOSE)/3-MA((HIGH + LOW +
CLOSE)/3,11))/(0.015*AVEDEV((HIGH + LOW + CLOSE)/3,11))<REF(((HIGH + LOW + CLOSE)/3-MA((HIGH + LOW + CLOSE)/3,11))/(0.015*AVEDEV((HIGH + LOW + CLOSE)/3,11)),1),((HIGH + LOW + CLOSE)/3-MA((HIGH + LOW +
CLOSE)/3,11))/(0.015*AVEDEV((HIGH + LOW +
CLOSE)/3,11)),DRAWNULL),COLORGREEN,LINETHICK2;
圣灵石:EMA(((HIGH + LOW + CLOSE)/3-MA((HIGH + LOW +
CLOSE)/3,11))/(0.015*AVEDEV((HIGH + LOW +
CLOSE)/3,11)),3),COLORRED,LINETHICK2;
DRAWBAND(圣灵石,RGB(300,100,00),((HIGH + LOW + CLOSE)/3-MA((HIGH + LOW + CLOSE)/3,11))/(0.015*AVEDEV((HIGH + LOW +
CLOSE)/3,11)),RGB(250,00,00));
DRAWICON(CROSS(200,((HIGH + LOW + CLOSE)/3-MA((HIGH + LOW +
CLOSE)/3,11))/(0.015*AVEDEV((HIGH + LOW + CLOSE)/3,11))),250,2); DRAWTEXT(CROSS(200,((HIGH + LOW + CLOSE)/3-MA((HIGH + LOW +
CLOSE)/3,11))/(0.015*AVEDEV((HIGH + LOW + CLOSE)/3,11))),-22,'洗盘'),COLORYELLOW;
DRAWTEXT(CROSS(200,((HIGH + LOW + CLOSE)/3-MA((HIGH + LOW +
CLOSE)/3,11))/(0.015*AVEDEV((HIGH + LOW + CLOSE)/3,11))),-50,'OR强转
弱'),COLORYELLOW;
DRAWTEXT(CROSS(((HIGH + LOW + CLOSE)/3-MA((HIGH + LOW +
CLOSE)/3,11))/(0.015*AVEDEV((HIGH + LOW + CLOSE)/3,11)),-200),-150,' 如意金箍棒信号出弱转强'),COLORYELLOW;
DRAWTEXT(CROSS(((HIGH + LOW + CLOSE)/3-MA((HIGH + LOW +
CLOSE)/3,11))/(0.015*AVEDEV((HIGH + LOW + CLOSE)/3,11)),-200),-170,' 红色带持股,红柱为强势区'),COLORYELLOW;
DRAWTEXT(CROSS(((HIGH + LOW + CLOSE)/3-MA((HIGH + LOW +
CLOSE)/3,11))/(0.015*AVEDEV((HIGH + LOW + CLOSE)/3,11)),-200),-190,' 绿色带持币!!!'),COLORYELLOW;
强势:IF(((HIGH + LOW + CLOSE)/3-MA((HIGH + LOW +
CLOSE)/3,11))/(0.015*AVEDEV((HIGH + LOW + CLOSE)/3,11))>=REF(((HIGH + LOW + CLOSE)/3-MA((HIGH + LOW + CLOSE)/3,11))/(0.015*AVEDEV((HIGH + LOW + CLOSE)/3,11)),1),((HIGH + LOW + CLOSE)/3-MA((HIGH + LOW +
CLOSE)/3,11))/(0.015*AVEDEV((HIGH + LOW +
CLOSE)/3,11)),DRAWNULL),COLOR0000FF,LINETHICK7;
【圣灵石指标】:0,POINTDOT,COLORYELLOW;
{下面的源码,不参与数据计算,仅为显示【圣灵石专用指标】字样!} AAA:=REFDATE(HHV(H,60),DATE);
T5:=CONST(IF(COST(50),1,0));
T9:=CONST(IF((H+L+C)/3,1,0));
TS5:=IF(T5=1,0+0.03,0);
TS9:=IF(T9=1,0+0.03,0);
DRAWTEXT(T9=1 AND CURRBARSCOUNT=45 AND PERIOD=5,AAA-(AAA*TS9),'【圣灵石专用指标】'),COLORYELLOW;
【通达信】圣灵石(定海神针)-指标公式效果图
(文档来源:若水财经社区)。

相关文档
最新文档