通達(dá)信精準(zhǔn)選股公式:
條件選股公式源碼:
年認(rèn)同價(jià):=MA(C,240); 價(jià)格中樞:=(SUM(年認(rèn)同價(jià),0)/(BARSSINCE(年認(rèn)同價(jià)>0)+239)); 箱頂:=價(jià)格中樞*1.2; 箱底:=價(jià)格中樞*0.8; 毛利潤(rùn)率:=FINANCE(21)/FINANCE(20); 成長(zhǎng)價(jià)值:=年認(rèn)同價(jià)*(1+毛利潤(rùn)率); 收益價(jià)值:=年認(rèn)同價(jià)+FINANCE(33); 回調(diào)認(rèn)同:=EMA(EXPMA(C,20),13); 多頭:=(回調(diào)認(rèn)同>REF(回調(diào)認(rèn)同,1))AND(成長(zhǎng)價(jià)值>REF(成長(zhǎng)價(jià)值,1))AND(收益價(jià)值>REF(收益價(jià)值,1))AND(DYNAINFO(7)>0); 回調(diào)條件:=COUNT(C<回調(diào)認(rèn)同,5)>=3; 回調(diào)突破:=(REF(C,1)<=REF(回調(diào)認(rèn)同,1))AND(C>回調(diào)認(rèn)同)AND(回調(diào)條件)AND 多頭; 成長(zhǎng)條件:=COUNT(C<成長(zhǎng)價(jià)值,5)>=3; 成長(zhǎng)突破:=(REF(C,1)<=REF(成長(zhǎng)價(jià)值,1))AND(C>成長(zhǎng)價(jià)值)AND(成長(zhǎng)條件)AND 多頭; 收益條件:=COUNT(C<收益價(jià)值,5)>=3; 收益突破:=(REF(C,1)<=REF(收益價(jià)值,1))AND(C>收益價(jià)值)AND(收益條件)AND 多頭; 箱底條件:=COUNT(C<箱底,5)>=3; 箱底突破:=(REF(C,1)<=REF(箱底,1))AND(C>箱底)AND(箱底條件)AND 多頭; 價(jià)格條件:=COUNT(C<價(jià)格中樞,5)>=3; 價(jià)格突破:=(REF(C,1)<=REF(價(jià)格中樞,1))AND(C>價(jià)格中樞)AND(價(jià)格條件)AND 多頭; 箱頂條件:=COUNT(C<箱頂,5)>=3; 箱頂突破:=(REF(C,1)<=REF(箱頂,1))AND(C>箱頂)AND(箱頂條件)AND 多頭; 突破買(mǎi)點(diǎn):(回調(diào)突破+成長(zhǎng)突破+收益突破+箱底突破+價(jià)格突破+箱頂突破); 專買(mǎi)老鼠倉(cāng) {老鼠倉(cāng)} AA1:=AMOUNT/V; BB1:=L<AA1*0.9; CC1:=(C-REF(C,1))/REF(C,1)*100>1.2; DD1:=L<MA(C,5)*0.921; EE1:=V<MA(V,5)*1.5; FF1:=BB1 AND CC1 AND DD1 AND EE1; DRAWTEXT(FF1,(LOW* 0.97),'老鼠倉(cāng)'),COLOR4080FF; 老鼠倉(cāng)是個(gè)很不錯(cuò)的指標(biāo),信號(hào)發(fā)出一般都在一個(gè)波段的底部起漲之時(shí)。 根據(jù)本人的實(shí)踐,使用指標(biāo)時(shí)候要注意幾點(diǎn): 1 該指標(biāo)可以添加到任何一個(gè)主圖里面去,比如MA均線什么的。 2 出現(xiàn)信號(hào)當(dāng)天買(mǎi)進(jìn)股票,第二天收陽(yáng)繼續(xù)持股,直到出陰為止。 3 第二天出陰考慮賣(mài)出,非常適合短線操作! 老鼠倉(cāng)(選股公式) AA1:=AMOUNT/V; BB1:=L<AA1*0.9; CC1:=(C-REF(C,1))/REF(C,1)*100>1.2; DD1:=L<MA(C,5)*0.921; EE1:=V<MA(V,5)*1.5; 老鼠倉(cāng):BB1 AND CC1 AND DD1 AND EE1; 理想選股(選股公式) VAR1:=MA((LOW+HIGH+CLOSE)/3,5); VAR2:=CLOSE=HHV(C,4) AND REF(C,1)=LLV(C,4); VAR3:=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); VAR4:=VAR1>REF(VAR1,1) AND REF(VAR1,1)<REF(VAR1,2); VAR5:=LOW<HHV(VAR1,13) AND HIGH>HHV(VAR1,13) AND CLOSE>REF(C,1) AND CLOSE>OPEN; VAR6:=VAR5 AND COUNT(VAR4,2); VAR7:=VAR6 AND NOT(REF(VAR6,1)); VAR8:=100*EMA(EMA(C-REF(C,1),6),6)/EMA(EMA(ABS(C-REF(C,1)),6),6); VAR9:=EMA(MA(C,13),13); VAR10:=FILTER((LLV(VAR8,2)=LLV(VAR8,7) AND COUNT(VAR8<0,2) AND CROSS(VAR8,MA(VAR8,2)))=1,5); VAR11:=SMA(EMA((C-REF(C,1))/REF(C,1),5)*100,3,1)*10; VAR12:=FILTER(((CROSS(VAR11,0) OR CROSS(C,VAR9)) AND VAR10)=1,3); VAR13:=MA(C,18)>=REF(MA(C,18),3) AND CROSS(C,MA(C,18)); RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; K:=SMA(RSV,3,1); D:=SMA(K,3,1); J:=3*K-2*D; 金叉:=CROSS(J,D); 死叉:=CROSS(D,J); 買(mǎi)1:=(VAR12 OR VAR13) AND VAR10; 買(mǎi)2:=(VAR12 OR VAR13) AND VAR3; 買(mǎi)3:=(VAR12 OR VAR13) AND VAR2; 買(mǎi)4:=(VAR2 AND VAR10) OR (VAR3 AND VAR10); 買(mǎi)5:=(金叉 AND VAR3) OR (金叉 AND VAR2) OR (金叉 AND VAR10); ST:=EXIST(C/REF(C,1)>1.06,50); 輸出:=(買(mǎi)1 OR 買(mǎi)2 OR 買(mǎi)3 OR 買(mǎi)4 OR 買(mǎi)5 OR VAR7) AND ST; MA5:=MA(C,5),COLORWHITE; X:=(3*C+L+O+H)/6; 多空線:=(20*X+19*REF(X,1)+18*REF(X,2)+17*REF(X,3)+16*REF(X,4)+15*REF(X,5)+14*REF(X,6) +13*REF(X,7)+12*REF(X,8)+11*REF(X,9)+10*REF(X,10)+9*REF(X,11)+8*REF(X,12) +7*REF(X,13)+6*REF(X,14)+5*REF(X,15)+4*REF(X,16)+3*REF(X,17)+2*REF(X,18)+ REF(X,20))/210,COLORFF00FF,LINETHICK1; AB:=DRAWLINE(HIGH>=HHV(HIGH,10),HIGH,LOW<=LLV(LOW,3),HHV(HIGH,3),1),COLORYELLOW; CROSS(MA5,多空線) and CROSS(C,AB) and 輸出 ; 點(diǎn)石成金(選股公式) KS13:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*(-100); RSV:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100; FASTK:=SMA(RSV,3,1);K:=SMA(FASTK,3,1);D:=SMA(K,5,1); Var1:=CLOSE/MA(CLOSE,40)*100<76; Var2:=CLOSE/MA(CLOSE,60)*100<74; Var3:=HIGH>LOW*1.051; Var4:=Var3 AND COUNT(Var3,5)>1; Var4 AND (Var1 OR Var2) AND REF(KS13,1)>=10 AND REF(KS13,1)/KS13>=1.13 AND CLOSE/REF(CLOSE,1)>=1.02; 牛市絕底(選股公式) VAR1:=REF(CLOSE,1); VAR2:=((SMA(MAX((CLOSE - VAR1),0),7,1) / SMA(ABS((CLOSE - VAR1)),7,1)) * 100); VAR3:=((SMA(MAX((CLOSE - VAR1),0),13,1) / SMA(ABS((CLOSE - VAR1)),13,1)) * 100); VAR4:=((100 * (HHV(HIGH,48) - LOW)) / HHV(HIGH,48)); VAR5:=((100 * (HIGH - LLV(LOW,48))) / LLV(LOW,48)); 牛市絕底:VAR2 < 15 AND VAR3 < 20 AND (VAR2 + VAR3) > 20 AND VAR4 > 40 AND BARSCOUNT(CLOSE) > 47; 飛彈一號(hào)(選股公式) var1:=c/ma(c,40)*100<78; var2:=c/ma(c,60)*100<74; var3:=h>=l*1.051; var4:=var3 and count(var3,5)>=2; xg:var4 and (var1 or var2) and count(h=l and c=o and c<ref(c,1),3)=0 and hhv(v/capital,30)<0.8; 牛魔無(wú)雙(選股公式) A4:=(HIGH-LOW)/HIGH*100+(C-REF(C,1))/REF(C,1)*100; B4:=EMA(MA(A4,50),5); c4:=B4>LLV(B4,5)*1.01 AND REF(B4,1)<REF(LLV(B4,5),1)*1.01 AND LLV(B4,50)=LLV(B4,5); d4:=LLV(LOW,5)=LLV(LOW,50) AND LLV(LOW,5)<HHV(LOW,70)*0.5; xg:c4 AND d4; 火牛神功(選股公式) Var1:=DMA(CLOSE,VOL/SUM(VOL,34)); Var2:=DMA(CLOSE,VOL/SUM(VOL,13)); Var3:=(CLOSE-Var1)/Var1*100; Var4:=(CLOSE-Var2)/Var2*100; Var4<=-12 AND Var3<=-19 ; 跟莊建倉(cāng)(選股公式) A01:=DYNAINFO(7); A03:=BARSCOUNT(CLOSE); A04:=(SMA((CLOSE / HHV(HIGH,120)),3,1) * 100); A05:=IF((A03 > 20),A04,0); A06:=IF((LOW > A01),0,IF((HIGH < A01),1,(((A01 - LOW) + 0.009) / ((HIGH - LOW) + 0.009)))); A07:=DMA(A06,(VOL / CAPITAL)) * 60; A09:=IF((((A07 > 0) AND (A07 > REF(A07,1))) AND (A05 <= 88)),A07,0); Var3:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1); 趨勢(shì):=EMA(Var3,3)-10; 機(jī)構(gòu)建倉(cāng)區(qū):=(A09 > 0 AND (趨勢(shì)<20 OR 趨勢(shì)>REF(趨勢(shì),1)AND 趨勢(shì)<50)); Var7:=LLV(LOW,30); Var11:=SMA(ABS(L-REF(L,1)),3,1)/SMA(MAX(L-REF(L,1),0),3,1)*100; Var12:=HHV(Var11,30)*8; 火焰山:=EMA(IF(LOW<=Var7 AND 趨勢(shì)<40,(Var11+Var12),0),3)/618; 選股:火焰山>0 AND 機(jī)構(gòu)建倉(cāng)區(qū)>0 AND 趨勢(shì)>REF(趨勢(shì),1) AND REF(趨勢(shì),1)<REF(趨勢(shì),2); 跟莊建倉(cāng)源碼 A01:=DYNAINFO(7); A03:=BARSCOUNT(CLOSE); A04:=(SMA((CLOSE / HHV(HIGH,120)),3,1) * 100); A05:=IF((A03 > 20),A04,0); A06:=IF((LOW > A01),0,IF((HIGH < A01),1,(((A01 - LOW) + 0.009) / ((HIGH - LOW) + 0.009)))); A07:=DMA(A06,(VOL / CAPITAL)) * 60; A09:=IF((((A07 > 0) AND (A07 > REF(A07,1))) AND (A05 <= 88)),A07,0); Var1:=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); Var2:=EMA(Var1,8); Var3:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1); 趨勢(shì):=EMA(Var3,3)-10; STICKLINE(趨勢(shì)>80,趨勢(shì),80,5,0); DRAWICON(CROSS(趨勢(shì),0),0,1); STICKLINE((A09 > 0 AND (趨勢(shì)<20 OR 趨勢(shì)>REF(趨勢(shì),1)AND 趨勢(shì)<50)),0,A09,6,0),colorFFff00; 機(jī)構(gòu)建倉(cāng)區(qū):0,LINETHICK0,colorFFFF00; Var4:=(趨勢(shì)-REF(趨勢(shì),1))/REF(趨勢(shì),1)*100; STICKLINE(趨勢(shì)<=13,0,20,3,0),colorcc9900; DRAWTEXT(FILTER(趨勢(shì)<=13,15),30,'準(zhǔn)備現(xiàn)金'),colorcc9900; STICKLINE(趨勢(shì)<=13 AND Var4>13,0,50,2,0),color0099ff; Var5:=FILTER((趨勢(shì)<=13 AND Var4>13),10); DRAWTEXT(Var5,60,'買(mǎi)入'),color0099ff; STICKLINE(趨勢(shì)>=90 AND Var4,0,30,3,0),colorgray; Var6:=FILTER((趨勢(shì)>=90 AND Var4),10); DRAWTEXT(Var6,40,'清倉(cāng)'),colorgray; Var7:=LLV(LOW,30); Var8:=HHV(HIGH,30); Var9:=EMA((CLOSE-Var7)/(Var8-Var7)*4,4)*25; STICKLINE(Var9>90,100,105,3,2),COLORRED; Var10:=(Var9-LLV(Var9,4))/(HHV(Var9,4)-LLV(Var9,4))*100; DRAWTEXT(IF(CROSS(Var9,Var10) AND Var9>87,95,0),88,'險(xiǎn)'),Color00FF00; DRAWICON(CROSS(90,Var9),95,9); Var11:=SMA(ABS(L-REF(L,1)),3,1)/SMA(MAX(L-REF(L,1),0),3,1)*100; Var12:=HHV(Var11,30)*8; 火焰山:EMA(IF(LOW<=Var7 AND 趨勢(shì)<40,(Var11+Var12),0),3)/618,COLORRED,linethick2; STICKLINE(火焰山>0,0 ,火焰山*1.2,4,0 ),COLORRED; Var13:=(MA(C,1)+MA(C,3)+MA(C,5)+MA(C,7)+MA(C,9))/5; Var14:=(MA(C,2)+MA(C,4)+MA(C,6)+MA(C,8)+MA(C,10))/5; 趨勢(shì)線: 趨勢(shì),colorff0000; Var16:=MAX(EMA(Var13,2)-EMA(Var14,5),0)*200; Var17:=EMA(Var16,5); 波浪峰:Var17,stick,colorff00ff; STICKLINE(Var17<REF(Var17,1),0,Var17,1,0),color00ff00; Var18:=MA(趨勢(shì)線,8); if(CROSS(Var2,Var18) AND Var2<15,50,0),COLORRED; DRAWTEXT(CROSS(趨勢(shì)線,Var2)AND 趨勢(shì)線>REF(趨勢(shì)線,1)AND 趨勢(shì)線<50,50,'追漲'),COLORff00ff; 風(fēng)險(xiǎn)區(qū):IF(趨勢(shì)>80,趨勢(shì),80),colorff00ff; 雙信號(hào)"全倉(cāng)"選股(選股公式) FF:=EMA(CLOSE,3); MA15:=EMA(CLOSE,21); TTJ:=CROSS(FF,MA15); 上:=EMA(C,3),COLORBLUE,LINETHICK1; 中:=EMA(C,5),COLORWHITE,LINETHICK1; 下:=EMA(中,5),COLOR00FF00,LINETHICK1; QQ:= C<中; MM:=上>REF(上,1) AND REF(上,1)<REF(上,2) ; V1:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20); V2:=(1-7/100)*(DMA(CLOSE,V1)); V3:=(1+7/100)*(DMA(CLOSE,V1)); V5:=MA((LOW+HIGH+CLOSE)/3,5); MA1:=MEMA(CLOSE,5); MA2:=ATAN((MA1/REF(MA1,1)-1)*100)*180/3.1416; MA3:=IF(MA2>0,MA2,MA2); MA5:=MA(CLOSE,5),COLOR888899; MA13:=MA(CLOSE,13),COLORFF00F0,LINETHICK2; VAR01:=CLOSE=HHV(C,4) AND (REF(C,1)>=REF(C,2) OR REF(C,1)>=REF(C,3)) OR REF(C,1)=HHV(C,4) AND CLOSE>=REF(C,2) OR REF(C,2)=HHV(C,4) AND REF(C,3)=LLV(C,4) AND C>=REF(C,1) OR REF(C,3)=HHV(C,4) AND C>=REF(C,1) AND C>=REF(C,2); {收盤(pán)價(jià)=4日內(nèi)收盤(pán)價(jià)的最高值 AND 昨收>=2日前的收盤(pán)價(jià)} VAR02:=CLOSE=HHV(C,4) AND REF(C,1)=LLV(C,4); {收盤(pán)價(jià)=4日內(nèi)收盤(pán)價(jià)的最高值 AND 昨收=4日內(nèi)收盤(pán)價(jià)的最低值} VAR03:=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); {收盤(pán)價(jià)=4日內(nèi)收盤(pán)價(jià)的最低值 AND (昨收<2日前的收盤(pán)價(jià)} VAR04:=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); {昨收=4日內(nèi)收盤(pán)價(jià)的最低值 AND 收盤(pán)價(jià)>=2日前的收盤(pán)價(jià)} VAR05:=REF(C,1)=HHV(C,4) AND C<REF(C,2) OR (REF(C,2)=HHV(C,4) AND REF(C,1)>REF(C,3) OR REF(C,3)=HHV(C,4) AND REF(C,1)>REF(C,2)) AND REF(C,2)>=REF(C,4) AND C<REF(C,1); {昨收=4日內(nèi)收盤(pán)價(jià)的最高值 AND 收盤(pán)價(jià)<2日前的收盤(pán)價(jià)} VAR06:=V5>REF(V5,1) AND REF(V5,1)<REF(V5,2); {今日V5向上形成拐點(diǎn)} VAR07:=LOW<HHV(V5,13) AND HIGH>HHV(V5,13) AND CLOSE>REF(C,1) AND CLOSE>OPEN; VAR08:=VAR07 AND COUNT(VAR06,2); VAR09:=100*EMA(EMA(C-REF(C,1),6),6)/EMA(EMA(ABS(C-REF(C,1)),6),6); VAR10:=EMA(MA(C,13),13); VAR11:=FILTER((LLV(VAR09,2)=LLV(VAR09,7) AND COUNT(VAR09<0,2) AND CROSS(VAR09,MA(VAR09,2)))=1,5); VAR12:=FILTER((HHV(VAR09,2)=HHV(VAR09,7) AND COUNT(VAR09>50,2) AND CROSS(MA(VAR09,2),VAR09))=1,1); VAR13:=SMA(EMA((C-REF(C,1))/REF(C,1),5)*100,3,1)*10; VAR14:=FILTER(((CROSS(VAR13,0) OR CROSS(C,VAR10)) AND VAR11)=1,3); VAR15:=MA(C,18)>=REF(MA(C,18),3) AND CROSS(C,MA(C,18)); VAR16:=VAR08 AND NOT(REF(VAR08,1)); RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; K:=SMA(RSV,3,1); D:=SMA(K,3,1); J:=3*K-2*D; 金叉:=CROSS(J,D); 死叉:=CROSS(D,J); 買(mǎi)1:=(VAR14 OR VAR15) AND VAR11; 買(mǎi)2:=(VAR14 OR VAR15) AND VAR04; 買(mǎi)3:=(VAR14 OR VAR15) AND VAR02; 買(mǎi)4:=(VAR02 AND VAR11) OR (VAR04 AND VAR11); 買(mǎi)5:=(金叉 AND VAR04) OR (金叉 AND VAR02) OR (金叉 AND VAR11); TTJ0:=VAR16; TTJ1:=買(mǎi)1 OR 買(mǎi)2 OR 買(mǎi)3 OR 買(mǎi)4 OR 買(mǎi)5 AND MM; XG0:=TTJ AND TTJ0; XG1:=TTJ AND TTJ1; XG11:=XG0 OR XG1; {以下波浪理論浪底重疊"買(mǎi)底"選股原碼} PL5:=ZIG(3,5); EN1:=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); EX1:=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); PL10:=ZIG(3,10); EN2:=ZIG(3,10)>REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)<=REF(ZIG(3,10),2) AND REF(ZIG(3,10),2)<=REF(ZIG(3,10),3); EX2:=ZIG(3,10)<REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)>=REF(ZIG(3,10),2) AND REF(ZIG(3,10),2)>=REF(ZIG(3,10),3); PL20:=ZIG(3,20); EN3:=ZIG(3,20)>REF(ZIG(3,20),1) AND REF(ZIG(3,20),1)<=REF(ZIG(3,20),2) AND REF(ZIG(3,20),2)<=REF(ZIG(3,20),3); EX3:=ZIG(3,20)<REF(ZIG(3,20),1) AND REF(ZIG(3,20),1)>=REF(ZIG(3,20),2) AND REF(ZIG(3,20),2)>=REF(ZIG(3,20),3); PL40:=ZIG(3,40); 走強(qiáng)1:=BARSLAST(PL5<REF(PL5,1)); 走弱1:=BARSLAST(PL5>REF(PL5,1)); 走強(qiáng)2:=BARSLAST(PL10<REF(PL10,1)); 走弱2:=BARSLAST(PL10>REF(PL10,1)); 走強(qiáng)3:=BARSLAST(PL20<REF(PL20,1)); 走弱3:=BARSLAST(PL20>REF(PL20,1)); ZTJZ5:=IF(PL10>REF(PL10,1),COUNT(EN1,走強(qiáng)2),0); ZTJD5:=IF(PL10>REF(PL10,1),COUNT(EX1,走強(qiáng)2),0); DTJZ5:=IF(PL10<REF(PL10,1),COUNT(EN1,走弱2),0); DTJD5:=IF(PL10<REF(PL10,1),COUNT(EX1,走弱2),0); ZTJZ10:=IF(PL20>REF(PL20,1),COUNT(EN2,走強(qiáng)3),0); ZTJD10:=IF(PL20>REF(PL20,1),COUNT(EX2,走強(qiáng)3),0); DTJZ10:=IF(PL20<REF(PL20,1),COUNT(EN2,走弱3),0); DTJD10:=IF(PL20<REF(PL20,1),COUNT(EX2,走弱3),0); TJ11:=EN2 AND ZTJZ5=1; TJ22:=EN1 AND PL10>REF(PL10,1) AND ZTJZ5=2; TJ33:=EN2 AND DTJZ10=1; TJ44:=EN3 AND ZTJZ10=1; TJ55:=EN2 AND PL20>REF(PL20,1) AND ZTJZ10=2; XG22:=TJ11 OR TJ22 OR TJ33 OR TJ44 OR TJ55; {以下二者結(jié)合共同選股} XG:=XG11 OR XG22; W18:EXIST(XG,1); 漲停板敢死隊(duì)(選股公式) Lx1:=(EMA((AMOUNT/10000000),1) /3); Lx2:=(WINNER(C)/0.3); Lx3:=IF(c<0,Lx1,V); Lx4:=IF(c<0,Lx2,V); Lx5:=IF((BARSCOUNT(C)>100),Lx3,Lx4); 量:=Lx5/1000; 動(dòng)量:=(EMA(量,13)*1.5); A01:=IF((量>動(dòng)量),量,0); A02:=BARSLAST((A01>0)); A03:=REF(量,A02); 趨勢(shì):=IF((量<=A01),量,A03); 突破:=IF(((((量=趨勢(shì)) and (C>REF(C,1))) and (量>REF(量,1))) and (REF(A02,2)>0)),888,0); 量?jī)r(jià)突破:FILTER(突破 ,5 )*6; 通達(dá)信選股公式:
超級(jí)牛魔
VAR3:=1; VAR4:=MA(CLOSE,5); VAR5:=MA(CLOSE,10); VAR6:=MA(CLOSE,30); VAR7:=MA(CLOSE,60); VAR8:=EMA(COST(85),7); VAR9:=EMA(COST(15),7); VARA:=SUM(CLOSE*VOL*100,4)/SUM(VOL*100,4); VARB:=INTPART(VARA*100)/100; VARC:=SUM(CLOSE*VOL*100,7)/SUM(VOL*100,7); VARD:=INTPART(VARC*100)/100; VARE:=SUM(CLOSE*VOL*100,28)/SUM(VOL*100,28); VARF:=INTPART(VARE*100)/100; 短線趨勢(shì):=EMA(CLOSE,5)-EMA(CLOSE,10); 中線趨勢(shì):=EMA(短線趨勢(shì),30); VAR10:=-100*(HHV(CLOSE,5)-CLOSE)/(HHV(CLOSE,5)-LLV(LOW,5))+100; VAR11:=-100*(HHV(CLOSE,10)-CLOSE)/(HHV(CLOSE,10)-LLV(LOW,10))+100; VAR12:=-100*(HHV(CLOSE,20)-CLOSE)/(HHV(CLOSE,20)-LLV(LOW,20))+100; VAR13:=-100*(HHV(CLOSE,30)-CLOSE)/(HHV(CLOSE,30)-LLV(LOW,30))+100; VAR14:=REF(中線趨勢(shì),1); VAR15:=中線趨勢(shì); VAR16:=VAR15-VAR14; VAR17:=REF(短線趨勢(shì),1); VAR18:=短線趨勢(shì); VAR19:=VAR18-VAR17; VAR1A:=OPEN; VAR1B:=CLOSE; 超級(jí)牛魔王:IF(VAR1A<=VAR4 AND VAR1A<=VAR5 AND VAR1A<=VAR6 AND VAR1B>=VAR4 AND VAR1B>=VARF AND VAR16>0 AND VAR19>0 AND VAR3=1,0.5,0); 盤(pán)中參考 VAR3:=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); VAR4:=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); VAR27:=VAR3<REF(VAR4,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1); 關(guān)注:VAR27 AND COUNT(VAR27,30)=1; 初升介入1 五線選股 短線通道 套利狐貍 同時(shí)金叉 果斷介入 領(lǐng)頭羊 黑馬起步 突破指標(biāo) 頂天立地
VAR1F:=((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100); VAR21:=SMA(VAR1F,3,1); 趨勢(shì):=SMA(VAR21,3,1); 人氣:=SMA(趨勢(shì),3,1); 出擊:CROSS(趨勢(shì),人氣) AND (趨勢(shì)<30); {短賣(mài):IF(CROSS(人氣,趨勢(shì)) AND (人氣>75),85,100),COLOR008000,LINETHICK2; }; 主力進(jìn)出 ABV:=MA(SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE<REF(CLOSE,1),-VOL,0)),0)/25000,2); M1:=EMA(ABV,12); M2:=EMA(ABV,26); MTM:=CLOSE-REF(CLOSE,1); MMS:=((100)*(EMA(EMA(MTM,6),6)))/(EMA(EMA(ABS(MTM),6),6)); MMM:=((100)*(EMA(EMA(MTM,12),12)))/(EMA(EMA(ABS(MTM),12),12)); MML:=((100)*(EMA(EMA(MTM,26),26)))/(EMA(EMA(ABS(MTM),26),26)); MTGJ:=C-REF(C,1); ZLGJ:=100*EMA(EMA(MTGJ,9),9)/EMA(EMA(ABS(MTGJ),9),9); MAZL:=MA(ZLGJ,5); 主力進(jìn)出:=MMS>REF(MMS,1) AND ZLGJ>REF(ZLGJ,1) AND CROSS(ABV,M2) AND ABV>REF(ABV,1) AND M1>REF(M1,1) AND M2>REF(M2,1); 主進(jìn)主軌:=ABV>M2 AND CROSS(ABV,M1) AND CROSS(ZLGJ,MAZL); 主力進(jìn)出 OR 主進(jìn)主軌; 一招就夠 V1:=EMA(CLOSE,5); V2:=EMA(EMA(CLOSE,29)*1.01,10); CROSS(V1,V2);
黑馬易找 |
|
來(lái)自: suhua0510 > 《我的圖書(shū)館》