以下是最牛的第二天必涨选股法通达信百分之百涨停指标源码和使用说明

最牛的第二天必涨选股法通达信百分之百涨停指标源码:

   VAR1:=”dmi.pdi”(12,6);

   VAR2:=”DMI.mdi”(12,6);

   VAR3:=VAR1>65ANDVAR1>REF(VAR1,1);

   VAR4:=LLV(VAR1,0);

   VAR5:=BArslAst(VAR4=VAR1);

   VAR6:=(0-REF(VAR2,4))/(VAR4-REF(VAR2,VAR5))>2;

   VAR7:=VAR1>REF(VAR1,1);

   VAR8:=vol>2*ma(VOL,30);

   VAR9:=”DMI.ADX”(12,6);

   VARA:=”DMI.ADXR”(12,6);

   VARB:=CLOSE>MA(CLOSE,30)ANDCLOSE<MA(CLOSE,30)*1.04;

   VARC:=MA(CLOSE,30)>REF(MA(CLOSE,30),1);

   VARD:=BARSLAST(crOSS(MA(CLOSE,5),MA(CLOSE,10)))<BARSLAST(CROSS(MA(CLOSE,10),MA(CLOSE,5)));

   VARE:=0-“macd.DIFF”(7,21,3);

   VARF:=TROUGHBARS(3,15,1)<4;

   VAR10:=EMA(CLOSE,30)>REF(EMA(CLOSE,30),2);

   VAR11:=IF(VARF=1,50,0);

   VAR12:=CROSS(VAR2,VAR1)ANDCROSS(VARA,VAR9);

   VAR13:=CROSS(VAR2,VAR1)ANDCROSS(VAR9,VARA);

   VAR14:=VARBANDVARCANDVARDANDVAR10ANDVAR6ANDVAR7ANDVAR8*50;

   VAR15:=BARSLAST(CROSS(VAR2,VAR1)=1);

   VAR16:=BARSLAST(CROSS(VAR1,VAR2)=1);

   VAR17:=HHV(VAR1,VAR16);

   VAR18:=BARSLAST(VAR1=VAR17);

   多空:EMA((CLOSE-MA((2*CLOSE+HIGH+LOW)/4,30))/MA((2*CLOSE+HIGH+LOW)/4,30)*100,3),COLORWHITE;

   0,COLORRED;

   STICKLINE(FILTER(VARF=1,5)AND多空<-10,50,0,15,0),colorf00ff0;

   STICKLINE(FILTER(VARF=1,5),50,0,8,0),COLORYELLOW;

   VAR19:=VAR3ORVAR12ORVAR13*100;

   VAR1A:=VAR13*100;

   DRAWTEXT(FILTER(VARF=1,3),25,’上涨★之星’),COLORRED;

   STICKLINE(多空<-10,0,多空,0.85,0),COLORyellow;

   STICKLINE(多空>10,0,多空,0.95,0),COLORRED;

   百分之百涨停:=(H-REF(C,1))/REF(C,1)*100;

   第二天必涨:=(NAMELIKE(‘ST’)ORNAMELIKE(‘*ST’)ORNAMELIKE(‘S’))AND百分之百涨停>=4.945;

   涨停:=C=ZTPRICE(REF(C,1),0.1)OR第二天必涨;

   选股指标:=HHV(VOL,10);

   T:=BARSLAST(选股指标=VOL);

   通达信:CROSS(C,REF(C,T))AND涨停

   ANDNOT(DYNAINFO(4)=0);

   均5:MA(CLOSE,5),COLORYELLOW;

   均10:MA(CLOSE,10),COLORF00FF0;

   均30:MA(CLOSE,30),COLOR00FF00;

   均60:MA(CLOSE,60),COLORRED,POINTDOT,LINETHICK2;

   均250:MA(CLOSE,250),COLORBLUE,LINETHICK2;

   上轨:=均30+2*STD(CLOSE,30),COLORYELLOW,POINTDOT,LINETHICK2;

   下轨:=均30-2*STD(CLOSE,30),COLORYELLOW,POINTDOT,LINETHICK2;

   N:=13;

   L0:=0.02;

   L5:=ABS(L-REF(L,N))<=L0

   ORABS(C-REF(L,N))<=L0

   ORABS(O-REF(L,N))<=L0

   ORABS(L-REF(O,N))<=L0

   ORABS(C-REF(O,N))<=L0

   ORABS(O-REF(O,N))<=L0

   ORABS(L-REF(C,N))<=L0

   ORABS(C-REF(C,N))<=L0

   ORABS(O-REF(C,N))<=L0

   ORABS(L-REF(H,N))<=L0

   ORABS(C-REF(H,N))<=L0

   ORABS(O-REF(H,N))<=L0;

   精准线首次:=L5;

   精准左:=FILTER(精准线首次,N);

   天数:=BARSLAST(精准左);

   LTS:=REF(L,天数);

   精准右:=ABS(L-LTS)<=L0;

   STICKLINE(精准左,L,L,190,-1),COLORMAGENTA;

   DRAWLINE(精准左,L,精准右,LTS,0),COLORMAGENTA;

   JJ:=(CLOSE+HIGH+LOW)/3;

   A:=EMA(JJ,7);

   B:=REF(A,1);

   STICKLINE(A>B,A,B,4,0),COLORYELLOW;

   STICKLINE(A<B,A,B,4,0),COLORBLUE;

   M1:=EMA(CLOSE,3);

   M2:=EMA(CLOSE,8);

   M3:=EMA(M2,13);

   M4:=EMA(M2,55);

   VAR1:=EMA(M3,55);

   M5:=EMA(M4,81),COLORRED,LINETHICK2;

   VAR2:=(REF(HIGH,1)+REF(LOW,1))/2;

   VAR3:=MA(CLOSE,21)+2*STD(CLOSE,21);

   DRAWICON(CROSS(VAR2,VAR3),HIGH*1.035,2);

   DRAWTEXT(CROSS(VAR2,VAR3),HIGH*1.02,”),COLORGREEN;

   VAR4:=REF(CLOSE,1);

   VAR5:=SMA(MAX(CLOSE-VAR4,0),7,1)/SMA(ABS(CLOSE-VAR4),7,1)*100;

   VAR6:=CROSS(79,VAR5);

   VAR7:=FILTER(VAR6,4);

   DRAWICON(VAR7,HIGH*1.035,2);

   DRAWTEXT(VAR7,HIGH*1.02,”),COLORGREEN;

   A7:=(2*C+H+L)/4;

   VAR10:=LLV(LOW,34);

   VAR11:=HHV(HIGH,34);

   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/10ANDVOL>=1.5*MA(VOL,5)AND

   COUNT(SK>=SD,3)ANDREF(LOW,1)=LLV(LOW,120),1,0),LOW,’●买进’),COLORRED;

   DRAWTEXT(IF(COUNT(CLOSE<REF(CLOSE,1),13)/13>6/10AND

   COUNT(SK>SD,6)ANDREF(LOW,5)=LLV(LOW,120)ANDREF(CLOSE>=OPEN,4)AND

   REF(CLOSE>OPEN,3)ANDREF(CLOSE>OPEN,2)ANDREF(OPEN>CLOSE,1)AND

   OPEN>REF(CLOSE,1),1,0),LOW,’●买进’),COLORRED;

   D:=MA(CLOSE,80)-MA(CLOSE,10)/3;

   DRAWTEXT(IF(CLOSE<DANDVOL/240>MA(VOL,5)/240ANDCLOSE>REF(CLOSE,1)*1.08

   ANDCLOSE<MA(CLOSE,13)*1.3,1,0),LOW,’●抄底‘),COLORRED;

   MA1:=MA(C,20);

   MA2:=MA(C,30);

   MA3:=MA(C,60);

   A1:=O<MA1ORO<MA2ORO<MA3;

   A2:=C>MAX(MA1,MAX(MA2,MA3));

   A3:=V/MA(V,30)>1.2;

   A4:=C/REF(C,1)>1.049;

   穿云第三箭:A1ANDA2ANDA3ANDA4;

最牛的第二天必涨选股法通达信百分之百涨停指标截图

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。