通達(dá)信選股公式
通達(dá)信]均線強(qiáng)勢(shì)上影線洗盤(選股)
強(qiáng)勢(shì)上影線洗盤顧名思義就是追漲
追漲有技巧 追漲有風(fēng)險(xiǎn) 追漲的利潤豐厚 A:REF(C,2)/REF(C,3)>=1.06 AND (REF(H,1)-MAX(REF(C,1),REF(O,1)))/(REF(H,1)-REF(L,1))>=0.3 AND BETWEEN(REF(C,1)/REF(C,2),1,1.06) AND H>REF(H,1) AND C>REF(C,1); 止損:0.965*REF(H,1),LINETHICK0; 止盈:1.06*REF(H,1),LINETHICK0; 通達(dá)信]放量陰線預(yù)警
放量陰線:C<O AND REF(C,1)< REF(O,1) AND REF(C,2)<REF(O,2) AND (C-L)>2*ABS(C-O) AND V>MA(V,4)*1.2;
通達(dá)信]箱底預(yù)警
中軸線:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
壓力線:=BBI+3*STD(BBI,10); 支撐線:=BBI-3*STD(BBI,10); 安全線:=MA(CLOSE,30); 上開:=O; 上收:=C; 上高:=H; 上低:=L; JJ:=(上開+上高+上低)/3; A:=EMA(JJ,4); VA1:=EMA(上收,8); VA2:=EMA(上收,20); LC:=REF(CLOSE,1); RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100; 箱頂:=MA(REF(HHV(上收,30),1),2); P:=MA(REF(LLV(上收,30),1),2); 買線:=EMA(C,2); X1:=(C+L+H)/3; X2:=EMA(X1,6); X3:=EMA(X2,5); S:=EMA((CLOSE-LLV(CLOSE,21))/(HHV(CLOSE,21)-LLV(CLOSE,21)),1); 莊:=IF(S>0,MA(S,1),0); Q: O-P>0 AND CROSS(C,P); 通達(dá)信]箱底選股
中軸線:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
壓力線:=BBI+3*STD(BBI,10); 支撐線:=BBI-3*STD(BBI,10); 安全線:=MA(CLOSE,30); 上開:=O; 上收:=C; 上高:=H; 上低:=L; JJ:=(上開+上高+上低)/3; A:=EMA(JJ,4); VA1:=EMA(上收,8); VA2:=EMA(上收,20); LC:=REF(CLOSE,1); RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100; 箱頂:=MA(REF(HHV(上收,30),1),2); P:=MA(REF(LLV(上收,30),1),2); 買線:=EMA(C,2); X1:=(C+L+H)/3; X2:=EMA(X1,6); X3:=EMA(X2,5); S:=EMA((CLOSE-LLV(CLOSE,21))/(HHV(CLOSE,21)-LLV(CLOSE,21)),1); 莊:=IF(S>0,MA(S,1),0); Q: C-P>0 AND (C-P)*100<C AND L<P; {VAR326:=IF(CLOSE>REF(CLOSE,1),88,0); VAR327:=IF(CLOSE/REF(CLOSE,1)>1.050 AND HIGH/CLOSE<1.010 AND VAR326>0, 91, 0); STICKLINE(VAR327>90,L*0.80,L*0.95,4,0),COLORYELLOW; DRAWTEXT(VAR327>90,LOW*0.79,'追漲'),COLORYELLOW;}; 通達(dá)信]放量選股
參數(shù){M : 1 99 1.36 N: 1 99 5}
-------------------------------------------------------------------------------- VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN)); 成交:=VOL; 主動(dòng)買盤:=IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)); 主動(dòng)賣盤:=IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR1*(HIGH-LOW),0-VOL/2)); DYNAINFO(17)>M AND ABS(主動(dòng)買盤/主動(dòng)賣盤)>N; 通達(dá)信]MACD背離選股指標(biāo)
SHORT:=12;
LONG:=26; M:=9; DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26); DEA:=EMA(DIFF,9); MACD:=2*(DIFF-DEA),,; 低位金叉:=CROSS(DIFF,DEA) AND DIFF<-0.1; JCCOUNT:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA>=0)); 二次金叉:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(JCCOUNT=2,21)=1; A1:=BARSLAST(REF(CROSS(DIFF,DEA),1)); 底背離:=REF(CLOSE,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1) AND CROSS(DIFF,DEA); A2:=BARSLAST(REF(CROSS(DEA,DIFF),1)); 頂背離:=REF(CLOSE,A2+1)<CLOSE AND REF(DIFF,A2+1)>DIFF AND CROSS(DEA,DIFF); 三全項(xiàng):低位金叉 AND 二次金叉 AND 底背離; 條件選股公式源碼:
選股公式只是用來縮小分析范圍的工具年認(rèn)同價(jià):=MA(C,240); 價(jià)格中樞:=(SUM(年認(rèn)同價(jià),0)/(BARSSINCE(年認(rèn)同價(jià)>0)+239)); 箱頂:=價(jià)格中樞*1.2; 箱底:=價(jià)格中樞*0.8; 毛利潤率:=FINANCE(21)/FINANCE(20); 成長(zhǎng)價(jià)值:=年認(rèn)同價(jià)*(1+毛利潤率); 收益價(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 多頭; 突破買點(diǎn):(回調(diào)突破+成長(zhǎng)突破+收益突破+箱底突破+價(jià)格突破+箱頂突破); 專買老鼠倉 {老鼠倉} 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),'老鼠倉'),COLOR4080FF; 老鼠倉是個(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)天買進(jìn)股票,第二天收陽繼續(xù)持股,直到出陰為止。 3 第二天出陰考慮賣出,非常適合短線操作! 老鼠倉(選股公式) 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; 老鼠倉: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); 買1:=(VAR12 OR VAR13) AND VAR10; 買2:=(VAR12 OR VAR13) AND VAR3; 買3:=(VAR12 OR VAR13) AND VAR2; 買4:=(VAR2 AND VAR10) OR (VAR3 AND VAR10); 買5:=(金叉 AND VAR3) OR (金叉 AND VAR2) OR (金叉 AND VAR10); ST:=EXIST(C/REF(C,1)>1.06,50); 輸出:=(買1 OR 買2 OR 買3 OR 買4 OR 買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; 牛魔無雙(選股公式) 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 ; 跟莊建倉(選股公式) 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)建倉區(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)建倉區(qū)>0 AND 趨勢(shì)>REF(趨勢(shì),1) AND REF(趨勢(shì),1)<REF(趨勢(shì),2); 跟莊建倉源碼 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)建倉區(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,'買入'),color0099ff; STICKLINE(趨勢(shì)>=90 AND Var4,0,30,3,0),colorgray; Var6:=FILTER((趨勢(shì)>=90 AND Var4),10); DRAWTEXT(Var6,40,'清倉'),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)"全倉"選股(選股公式) 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); {收盤價(jià)=4日內(nèi)收盤價(jià)的最高值 AND 昨收>=2日前的收盤價(jià)} VAR02:=CLOSE=HHV(C,4) AND REF(C,1)=LLV(C,4); {收盤價(jià)=4日內(nèi)收盤價(jià)的最高值 AND 昨收=4日內(nèi)收盤價(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); {收盤價(jià)=4日內(nèi)收盤價(jià)的最低值 AND (昨收<2日前的收盤價(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)收盤價(jià)的最低值 AND 收盤價(jià)>=2日前的收盤價(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)收盤價(jià)的最高值 AND 收盤價(jià)<2日前的收盤價(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); 買1:=(VAR14 OR VAR15) AND VAR11; 買2:=(VAR14 OR VAR15) AND VAR04; 買3:=(VAR14 OR VAR15) AND VAR02; 買4:=(VAR02 AND VAR11) OR (VAR04 AND VAR11); 買5:=(金叉 AND VAR04) OR (金叉 AND VAR02) OR (金叉 AND VAR11); TTJ0:=VAR16; TTJ1:=買1 OR 買2 OR 買3 OR 買4 OR 買5 AND MM; XG0:=TTJ AND TTJ0; XG1:=TTJ AND TTJ1; XG11:=XG0 OR XG1; {以下波浪理論浪底重疊"買底"選股原碼} 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; 在選股公式中只允許有一條輸出語句,因此在改之前要把所有的STICKLINE語句、DARWICON語句及DARWTEXT語句全部刪除。再把所有的畫線語句如該公式中的“指導(dǎo)線:EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4,2),,COLORFFFFFF;”要加上“=”號(hào)即改成:“指導(dǎo)線:=EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4,2),,COLORFFFFFF; ”。 最后僅保留所需要的選股語句,如該公式中的“B買:IF(CROSS(指導(dǎo)線,界) OR CROSS(買線,賣線),C,DRAWNULL),COLORMAGENTA,NODRAW;”但這條語句是一個(gè)選擇語句要改一下,變成:“B買:(CROSS(指導(dǎo)線,界) OR CROSS(買線,賣線);”就是說僅留下這個(gè)語句中的條件部分就可以了。整個(gè)公式就成了如下的樣子: 買線:=EMA(C,2); 賣線:=EMA(SLOPE(C,21)*20+C,42); 指導(dǎo)線:=EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4,2),,COLORFFFFFF; 界:=MA(CLOSE,27),COLOR00FFFF; B買:CROSS(指導(dǎo)線,界) OR CROSS(買線,賣線); 公式只是工具,出現(xiàn)以下含有未來函數(shù)的公式,大家可僅作參考 ZIG PEAK PEAKBARS TROUGH TROUGHBARS FLATZIG FLATZIGA PEAKA PEAKBARSA TROUGHA ZIGA FFT BACKSET WINNER LWINNER COST 短線追漲 GJTJ1:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5)); GJTJ2:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10)); GJTJ3:=100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20)); GJTJ4:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30)); A:=BARSLAST(CROSS(97,GJTJ1))<=1 AND BARSLAST(CROSS(GJTJ1,85))<=1; B:=BARSLAST(CROSS(97,GJTJ2))<=1 AND BARSLAST(CROSS(GJTJ2,85))<=1; A1:=A AND B; AA:=BARSLAST(CROSS(97,GJTJ1))<=2 AND BARSLAST(CROSS(GJTJ1,85))<=1; BA:=BARSLAST(CROSS(97,GJTJ2))<=2 AND BARSLAST(CROSS(GJTJ2,85))<=1; A2:=AA AND BA ; AAA:=BARSLAST(CROSS(97,GJTJ1))<=3 AND BARSLAST(CROSS(GJTJ1,85))<=1; BAA:=BARSLAST(CROSS(97,GJTJ2))<=3 AND BARSLAST(CROSS(GJTJ2,85))<=1; A3:=AAA AND BAA ; B1:=REF(A1,1); B2:=REF(A2,1); B3:=REF(A3,1); D1:=GJTJ1=100 AND GJTJ2=100 AND A1; D2:=GJTJ1=100 AND GJTJ2=100 AND A2; D3:=GJTJ1=100 AND GJTJ2=100 AND A3; ENTERLONG: D1 OR D2 OR D3; 白金點(diǎn)燈 GJTJ1:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5)); GJTJ2:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10)); GJTJ3:=100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20)); GJTJ4:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30)); A:=BARSLAST(CROSS(30,GJTJ1))<2 AND BARSLAST(CROSS(GJTJ1,50))<2; B:=BARSLAST(CROSS(GJTJ4,GJTJ1))<2 AND GJTJ1>GJTJ4; E:=GJTJ1>60 AND GJTJ4>70; ENTERLONG:A AND B AND E; 黃金點(diǎn)燈 GJTJ1:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5)); GJTJ2:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10)); GJTJ3:=100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20)); GJTJ4:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30)); A:=BARSLAST(CROSS(50,GJTJ1))<3 AND BARSLAST(CROSS(GJTJ1,50))<3; B:=BARSLAST(CROSS(GJTJ4,GJTJ1))<2 AND GJTJ1>GJTJ4; ENTERLONG:A AND B; 起漲首日 GJTJ1:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5)); GJTJ2:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10)); GJTJ3:=100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20)); GJTJ4:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30)); A:=BARSLAST(CROSS(95,GJTJ1))<=2; B:=BARSLAST(CROSS(95,GJTJ2))<=2; E:= GJTJ4<GJTJ1 AND GJTJ1<GJTJ2 AND GJTJ1<GJTJ3; F:=GJTJ2>50 AND GJTJ3>50; G:=GJTJ1=100 AND GJTJ2=100; TX:=COUNT(G,2)=1; ENTERLONG:A AND B AND E AND F AND TX; 波啟前兆 GJTJ1:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5)); GJTJ2:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10)); GJTJ3:=100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20)); GJTJ4:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30)); A:=GJTJ3=100; B:=GJTJ4<90; ENTERLONG:COUNT(A,2) = 2 AND B; 黃金三角 GJTJ1:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5)); GJTJ2:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10)); GJTJ3:=100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20)); GJTJ4:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30)); BAIJIN1:=BARSLAST(CROSS(30,GJTJ1))<2 AND BARSLAST(CROSS(GJTJ1,50))<2; BAIJIN2:=BARSLAST(CROSS(GJTJ4,GJTJ1))<2 AND GJTJ1>GJTJ4; BAIJIN3:=GJTJ1>60 AND GJTJ4>70; M1:=BAIJIN1 AND BAIJIN2 AND BAIJIN3; HUANGJIN1:=BARSLAST(CROSS(50,GJTJ1))<3 AND BARSLAST(CROSS(GJTJ1,50))<3; HUANGJIN2:=BARSLAST(CROSS(GJTJ4,GJTJ1))<2 AND GJTJ1>GJTJ4; M2:=HUANGJIN1 AND HUANGJIN2; XG:=BARSLAST(CROSS(GJTJ4,GJTJ1))<5 AND GJTJ1>GJTJ4; M3:=COUNT(XG,3)=1 AND XG AND C>MA(C,20); 操盤手: M1 OR M2 OR M3; 操盤手 GJTJ1:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5)); GJTJ2:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10)); GJTJ3:=100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20)); GJTJ4:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30)); BAIJIN1:=BARSLAST(CROSS(30,GJTJ1))<2 AND BARSLAST(CROSS(GJTJ1,50))<2; BAIJIN2:=BARSLAST(CROSS(GJTJ4,GJTJ1))<2 AND GJTJ1>GJTJ4; BAIJIN3:=GJTJ1>60 AND GJTJ4>70; M1:=BAIJIN1 AND BAIJIN2 AND BAIJIN3; HUANGJIN1:=BARSLAST(CROSS(50,GJTJ1))<3 AND BARSLAST(CROSS(GJTJ1,50))<3; HUANGJIN2:=BARSLAST(CROSS(GJTJ4,GJTJ1))<2 AND GJTJ1>GJTJ4; M2:=HUANGJIN1 AND HUANGJIN2; XG:=BARSLAST(CROSS(GJTJ4,GJTJ1))<5 AND GJTJ1>GJTJ4; M3:=COUNT(XG,3)=1 AND XG AND C>MA(C,20); A:=BARSLAST(CROSS(97,GJTJ1))<=1 AND BARSLAST(CROSS(GJTJ1,85))<=1; B:=BARSLAST(CROSS(97,GJTJ2))<=1 AND BARSLAST(CROSS(GJTJ2,85))<=1; A1:=A AND B; AA:=BARSLAST(CROSS(97,GJTJ1))<=2 AND BARSLAST(CROSS(GJTJ1,85))<=1; BA:=BARSLAST(CROSS(97,GJTJ2))<=2 AND BARSLAST(CROSS(GJTJ2,85))<=1; A2:=AA AND BA ; AAA:=BARSLAST(CROSS(97,GJTJ1))<=3 AND BARSLAST(CROSS(GJTJ1,85))<=1; BAA:=BARSLAST(CROSS(97,GJTJ2))<=3 AND BARSLAST(CROSS(GJTJ2,85))<=1; A3:=AAA AND BAA ; B1:=REF(A1,1); B2:=REF(A2,1); B3:=REF(A3,1); D1:=GJTJ1=100 AND GJTJ2=100 AND A1; D2:=GJTJ1=100 AND GJTJ2=100 AND A2; D3:=GJTJ1=100 AND GJTJ2=100 AND A3; AQ:=BARSLAST(CROSS(GJTJ4,GJTJ1))>3 AND BARSLAST(CROSS(GJTJ1,GJTJ4))<3; BQ:=BARSLAST(CROSS(GJTJ4,GJTJ2)); DQ:=GJTJ3<GJTJ4 AND GJTJ2<GJTJ4; EQ:=BARSLAST(CROSS(GJTJ4,GJTJ3))>3 AND BARSLAST(CROSS(GJTJ1,GJTJ4))<3; FQ:=GJTJ2<GJTJ3 AND GJTJ2<GJTJ4 AND GJTJ2<GJTJ1 AND GJTJ1=100; AW:=BARSLAST(CROSS(95,GJTJ1))<=2; BW:=BARSLAST(CROSS(95,GJTJ2))<=2; EW:= GJTJ4<GJTJ1 AND GJTJ1<GJTJ2 AND GJTJ1<GJTJ3; FW:=GJTJ2>50 AND GJTJ3>50; G:=GJTJ1=100 AND GJTJ2=100; TX:=COUNT(G,2)=1; AE:=GJTJ3=100; BE:=GJTJ4<90; 操盤手: M1 OR M2 OR M3 OR D1 OR D2 OR D3 OR (AQ AND BQ AND DQ AND EQ AND FQ) OR (AW AND BW AND EW AND FW AND TX) OR (COUNT(AE,2) = 2 AND BE); 加碼 LC:=REF(CLOSE,1); RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100); TR:=MAX(MAX((HIGH - LOW),ABS(REF(CLOSE,1) - HIGH)),ABS(REF(CLOSE,1) - LOW)); ATR:=MA(TR,14); AA:=(HHV(HIGH,20) - (2 * ATR)); BB:=CROSS(CLOSE,REF(HHV(HIGH,55),1)); SSS:=CROSS(MIN(MA(CLOSE,13),AA),CLOSE); BBB:=BARSLAST(BB); SSSB:=BARSLAST(SSS); B1:=((BBB = 0) AND (REF(SSSB,1) < REF(BBB,1))); B1B:=BARSLAST(B1); B2:=((((BB = 1) AND (B1B < SSSB)) AND (B1B > 0)) AND (COUNT(BB,SSSB) < 3)); B2B:=BARSLAST(B2); B3:=((((BB = 1) AND (B2B < B1B)) AND (COUNT(BB,SSSB) < 4)) AND (COUNT(BB,SSSB) > 2)); GG:B2=1;; 底跟上 買線:=EMA(C,2); 賣線:=EMA(SLOPE(C,21)*20+C,42); BU:=CROSS(買線,賣線); FF:=EMA(CLOSE,3); MA15:=EMA(CLOSE,21); EE:=CROSS(FF,MA15); TR:=MAX(MAX((HIGH - LOW),ABS(REF(CLOSE,1) - HIGH)),ABS(REF(CLOSE,1) - LOW)); ATR:=MA(TR,14); AA:=(HHV(HIGH,20) - (2 * ATR)); BB:=CROSS(CLOSE,REF(HHV(HIGH,55),1)); SSS:=CROSS(MIN(MA(CLOSE,13),AA),CLOSE); BBB:=BARSLAST(BB); SSSB:=BARSLAST(SSS); B1:=((BBB = 0) AND (REF(SSSB,1) < REF(BBB,1))); B1B:=BARSLAST(B1); B2:=((((BB = 1) AND (B1B < SSSB)) AND (B1B > 0)) AND (COUNT(BB,SSSB) < 3)); 黑牛均線:BU OR B1=1 OR B2=2 OR EE; 黑牛均線 買線:=EMA(C,2); 賣線:=EMA(SLOPE(C,21)*20+C,42); BU:=CROSS(買線,賣線); FF:=EMA(CLOSE,3); MA15:=EMA(CLOSE,21); EE:=CROSS(FF,MA15); TR:=MAX(MAX((HIGH - LOW),ABS(REF(CLOSE,1) - HIGH)),ABS(REF(CLOSE,1) - LOW)); ATR:=MA(TR,14); AA:=(HHV(HIGH,20) - (2 * ATR)); BB:=CROSS(CLOSE,REF(HHV(HIGH,55),1)); SSS:=CROSS(MIN(MA(CLOSE,13),AA),CLOSE); BBB:=BARSLAST(BB); SSSB:=BARSLAST(SSS); B1:=((BBB = 0) AND (REF(SSSB,1) < REF(BBB,1))); B1B:=BARSLAST(B1); B2:=((((BB = 1) AND (B1B < SSSB)) AND (B1B > 0)) AND (COUNT(BB,SSSB) < 3)); LC:=REF(CLOSE,1); RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100); B2B:=BARSLAST(B2); B3:=((((BB = 1) AND (B2B < B1B)) AND (COUNT(BB,SSSB) < 4)) AND (COUNT(BB,SSSB) > 2)); 黑牛均線:BU OR B1=1 OR B2=2 OR EE OR B2=1; 追漲選股 DIF:=(EMA(CLOSE,12)-EMA(CLOSE,26))*30; DEA:=EMA(DIF,9); VAR4:=(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))*100; VAR5:=SMA(VAR4,3,1); VAR2:=SMA(VAR5,4,1)-90; CROSS(DIF,VAR2)AND VAR2<REF(VAR2,1); 一招絕
VAR326:=IF(CLOSE>REF(CLOSE,1),88,0); VAR327:=IF(CLOSE/REF(CLOSE,1)>1.050 AND HIGH/CLOSE<1.010 AND VAR326>0, 91, 0); XG:FILTER(VAR327>1,5); 老鼠倉 AA1:=AMOUNT/VOL; BB1:=L<AA1*0.9; CC1:=(C-REF(C,1))/REF(C,1)*100>1.2; DD1:=L<MA(C,5)*0.921; EE1:=VOL<MA(V,5)*1.5; FF1:BB1 AND CC1 AND DD1 AND EE1; 抄底高手 VAR1:=(CLOSE-MA(CLOSE,48))/MA(CLOSE,48)*100<-30; VAR2:=(CLOSE-MA(CLOSE,70))/MA(CLOSE,70)*100<-27; VAR3:=VAR1 AND VAR2; VAR4:=VAR1 AND VAR2 AND COUNT(VAR3,2)=1 AND DATE>940101 AND (CLOSE>OPEN OR CLOSE<OPEN) AND (OPEN-REF(CLOSE,1))/REF(CLOSE,1)>-0.07 AND (REF(OPEN,1)>REF(CLOSE,1) OR REF(OPEN,1)<REF(CLOSE,1)) AND (REF(OPEN,2)>REF(CLOSE,2) OR REF(OPEN,2)<REF(CLOSE,2)) AND (REF(OPEN,3)>REF(CLOSE,3) OR REF(OPEN,3)<REF(CLOSE,3)) AND (REF(OPEN,4)>REF(CLOSE,4) OR REF(OPEN,4)<REF(CLOSE,4)) AND (REF(OPEN,5)>REF(CLOSE,5) OR REF(OPEN,5)<REF(CLOSE,5)); VAR5:=DMA(EMA(CLOSE,8),SUM(VOL,9)/2.8/CAPITAL); VAR6:=(CLOSE-VAR5)/VAR5*100; VAR7:=REF(VAR6,1)<-42 AND VAR6>REF(VAR6,1) AND REF(VAR6,1)<REF(VAR6,2) AND VAR6-REF(VAR6,1)>1.8; 抄底高手:VAR4 OR VAR7,COLORWHITE; 逆市買入 VAR31:=DMA(CLOSE,VOL/MA(VOL,4)/4); VAR32:=DMA(CLOSE,VOL/MA(VOL,32)/32); VAR33:=(CLOSE-VAR31)/VAR31*100<-8; VAR34:=(VAR31-VAR32)/VAR32*100<-21; VAR35:=VAR33 AND VAR34 AND (OPEN>CLOSE OR OPEN<CLOSE) AND (OPEN-REF(CLOSE,1))/REF(CLOSE,1)>-0.05 AND (REF(CLOSE,1)>REF(OPEN,1) OR REF(CLOSE,1)<REF(OPEN,1)) AND (REF(OPEN,2)>REF(CLOSE,2) OR REF(OPEN,2)<REF(CLOSE,2)) AND (REF(OPEN,3)>REF(CLOSE,3) OR REF(OPEN,3)<REF(CLOSE,3)) AND (REF(OPEN,4)>REF(CLOSE,4) OR REF(OPEN,4)<REF(CLOSE,4)) AND (REF(OPEN,5)>REF(CLOSE,5) OR REF(OPEN,5)<REF(CLOSE,5)) AND (REF(OPEN,6)>REF(CLOSE,6) OR REF(OPEN,6)<REF(CLOSE,6)) AND (REF(OPEN,7)>REF(CLOSE,7) OR REF(OPEN,7)<REF(CLOSE,7)); VAR36:=(CLOSE-MA(CLOSE,70))/MA(CLOSE,70)*100<-23; VAR37:=(INDEXC-LLV(INDEXL,275))/(HHV(INDEXH,275)-LLV(INDEXL,275))*100; VAR38:=SMA(VAR37,50,1); VAR39:=SMA(VAR38,40,1); VAR3A:=VAR36 AND VAR39<23 AND COUNT(VAR36,2)=1 AND (OPEN>CLOSE OR OPEN<CLOSE) AND OPEN/REF(CLOSE,1)>0.96; 逆市買入:VAR35 OR VAR3A,COLORBLUE; 市場(chǎng)贏家 VAR41:=CLOSE/MA(CLOSE,30)*100<75; VAR42:=CLOSE/MA(CLOSE,50)*100<78; VAR43:=HIGH>LOW*1.053; VAR44:=VAR43 AND COUNT(VAR43,5)>2; VAR45:=VAR44 AND (VAR41 OR VAR42); VAR46:=DMA(EMA(CLOSE,5),SUM(VOL,8)/2.8/CAPITAL); VAR47:=(CLOSE-VAR46)/VAR46*100; 市場(chǎng)贏家:REF(VAR47,1)<-34 AND VAR47>REF(VAR47,1) AND REF(VAR47,1)<REF(VAR47,2) AND VAR47-REF(VAR47,1)>1.76 OR VAR45,COLORMAGENTA; 旭日東升 VAR51:=(CLOSE-MA(CLOSE,50))/MA(CLOSE,50)*100<-23; VAR52:=SMA(MAX(CLOSE-REF(CLOSE,1),0),3,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),3,1)*100>16; VAR53:=100*(HHV(HIGH,27)-CLOSE)/(HHV(HIGH,27)-LLV(LOW,27)); 旭日東升:VAR51 AND VAR52 AND CROSS(VAR53,79) AND (OPEN>CLOSE OR OPEN<CLOSE) AND (OPEN-REF(CLOSE,1))/REF(CLOSE,1)<0.05 AND VOL>MA(VOL,23),COLORRED; 沿途打劫 RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; K:=SMA(RSV,3,1); XG:(K<EMA(K,4) AND K>REF(K,1)); 瘋牛買點(diǎn) VAR1:=MA(HHV(HIGH,485),17); VAR2:=MA(HHV(HIGH,222),17); VAR3:=MA(HHV(HIGH,96),17); VAR4:=MA(LLV(LOW,485),17); VAR5:=MA(LLV(LOW,222),17); VAR6:=MA(LLV(LOW,96),17); VAR7:=MA((VAR4*0.96+VAR5*0.96+VAR6*0.96+VAR1*0.558+VAR2*0.558+VAR3*0.558)/6,17); VAR8:=MA((VAR4*1.25+VAR5*1.23+VAR6*1.2+VAR1*0.55+VAR2*0.55+VAR3*0.65)/6,17); VAR9:=MA((VAR4*1.3+VAR5*1.3+VAR6*1.3+VAR1*0.68+VAR2*0.68+VAR3*0.68)/6,17); VARA:=MA((VAR7*3+VAR8*2+VAR9)/6*1.738,17); VARB:=IF(V>0,VARA,VARA*DAY); VARC:=LOW; VARD:=REF(LOW,1); VARE:=SMA(ABS(VARC-VARD),3,1)/SMA(MAX(VARC-VARD,0),2,1)*100; VARF:=MA(IF(CLOSE*1.35<=VARB,VARE*10,VARE/10),2); VAR10:=LLV(LOW,30); VAR11:=HHV(VARF,30); 絕佳買點(diǎn):=IF(V>0,MA(IF(LOW<=VAR10,(VARF+VAR11*2)/2,0),2),100000000); I:=IF(CLOSE<REF(CLOSE,1),VOL/CAPITAL*10053,0); 驟雨初晴:= ABS(EMA(I,13.3)-18)/WINNER(CLOSE)*IF((CLOSE-MA(CLOSE,6))/MA(CLOSE,6)<-0.04,1,0); IF(CROSS(絕佳買點(diǎn),24000),15,0 ) ; 砍莊低吸
砍莊刀:=LLV(SUM( EMA((C+L)/2,2)/2.98,3),4); 殺莊刀:=(SUM(EMA((C+L)/2,2)/2.98,3)); XG:(砍莊刀=殺莊刀); SOS VAR1:=(2*CLOSE+HIGH+LOW)/4.0168; VAR2:=LLV(LOW,34); VAR3:=HHV(HIGH,34); 大兵:=EMA((VAR1-VAR2)/(VAR3-VAR2)*100,13),COLOR0033FF; CROSS(大兵,27); 百法百中 VAR7:=MA(INDEXC,62)<REF(MA(INDEXC,62),1) AND MA(INDEXC,105)<REF(MA(INDEXC,105),1) AND MA(INDEXC,62)<MA(INDEXC,105)*0.98; VAR8:=MA(INDEXC,32)>MA(INDEXC,6)*1.11 AND MA(INDEXC,24)>MA(INDEXC,6)*1.095; VAR9:=MA(INDEXC,6)>INDEXC*0.95; VARA:=H>L*1.078 AND COUNT(H>L*1.078,4)>2; 百法百中:VARA AND (C/MA(C,48)*100<67 OR C/MA(C,50)*100<69) OR VAR7 AND VAR8 AND VAR9 AND C/COST(8)<=0.8 AND COUNT(C=O,2)=0; 乘勝追擊 VAR4:=(WINNER(C)-WINNER(O))>=0.3 AND MA(V,6)/MA(V,26)>=1.9 AND V>REF(V,1) AND COUNT(SMA(MAX(C-REF(C,1),0),5,1)/SMA(ABS(C-REF(C,1)),5,1)*100<20,20)>=1 AND C/MA(C,3)>=1.07; VAR5:=(WINNER(C)-WINNER(O))>=0.4 AND MA(V,8)/MA(V,45)>=2.5 AND COUNT(SMA(MAX(C-REF(C,1),0),5,1)/SMA(ABS(C-REF(C,1)),5,1)*100<20,20)>=1 AND C/MA(C,3)>=1.05 AND C>MA(C,85) AND V>REF(V,1); 乘勝追擊:(VAR4 OR VAR5); 短線黑馬
VARB:=(C-DMA(C,V/MA(V,4)/4))/DMA(C,V/MA(V,4)/4)*100<-11 AND (DMA(C,V/MA(V,4)/4)-DMA(C,V/MA(V,33)/33))/DMA(C,V/MA(V,33)/33)*100<-22.3 AND (O-REF(C,1))/REF(C,1)>-0.07 AND COUNT(C=O,8)=0; VARC:=(C-DMA(CLOSE,VOL/MA(VOL,3)/3))/DMA(CLOSE,VOL/MA(VOL,3)/3)*100<-5; VARD:=(DMA(CLOSE,VOL/MA(VOL,3)/3)-DMA(C,V/MA(V,33)/33))/DMA(C,V/MA(V,33)/33)*100<-18; VARE:=VARC AND VARD AND (O-REF(C,1))/REF(C,1)>-0.05 AND COUNT(C=O,2)=0 AND SMA(SMA((INDEXC-LLV(INDEXL,250))/(HHV(INDEXH,250)-LLV(INDEXL,250))*100,30,1),50,1)<20; 短線黑馬:(VARB OR VARE AND COUNT(VARE,2)=1); 牛市專利 VAR12:=(C-MIN(REF(C,3)*0.844,REF(C,13)*0.767))/C<0.07 AND SUM(100*V/CAPITAL,3)/3<2.345 AND INDEXC>MA(INDEXC,450) AND MA(INDEXV,61)/MA(INDEXV,80)>0.923 AND C>MA(C,190); VAR13:=INDEXC>MA(INDEXC,450) AND (C-MA(C,20))/MA(C,20)*100<-16.5 AND MA(INDEXV,61)/MA(INDEXV,80)>0.92 AND C>MA(C,215) AND V/CAPITAL<0.075 AND COUNT(C=O,5)=0; 牛市專利:(VAR12 OR VAR13) AND HHV(C,440)/LLV(C,440)<4; 順勢(shì)搭轎 順勢(shì)搭轎:(C-MA(C,48))/MA(C,48)*100<-28 AND SMA(MAX(C-REF(C,1),0),12,1)/SMA(ABS(C-REF(C,1)),12,1)*100>23 AND VOL>MA(VOL,18) AND COUNT(C=O,6)=0; 抄底高手1
VAR1:=(C-MA(C,48))/MA(C,48)*100<-30 AND (C-MA(C,70))/MA(C,70)*100<-27 AND COUNT((C-MA(C,48))/MA(C,48)*100<-30 AND (C-MA(C,70))/MA(C,70)*100<-27,2)=1 AND (O-REF(C,1))/REF(C,1)>-0.07 AND COUNT(C=O,6)=0; VAR2:=(C-DMA(EMA(C,8),SUM(V,9)/2.8/CAPITAL))/DMA(EMA(C,8),SUM(V,9)/2.8/CAPITAL)*100; VAR3:=REF(VAR2,1)<-42 AND VAR2>REF(VAR2,1) AND REF(VAR2,1)<REF(VAR2,2) AND VAR2-REF(VAR2,1)>1.8; 抄底高手:(VAR1 OR VAR3); 逆勢(shì)買入1 VARF:=(C-DMA(C,V/MA(V,4)/4))/DMA(C,V/MA(V,4)/4)*100<-8 AND (DMA(C,V/MA(V,4)/4)-DMA(C,V/MA(V,32)/32))/DMA(C,V/MA(V,32)/32)*100<-21 AND (O-REF(C,1))/REF(C,1)>-0.05 AND COUNT(C=O,8)=0; VAR10:=SMA(SMA((INDEXC-LLV(INDEXL,275))/(HHV(INDEXH,275)-LLV(INDEXL,275))*100,50,1),40,1); VAR11:=(C-MA(C,70))/MA(C,70)*100<-23 AND VAR10<23 AND COUNT((C-MA(C,70))/MA(C,70)*100<-23,2)=1 AND (O>C OR O<C) AND O/REF(C,1)>0.96; 逆勢(shì)買入:(VARF OR VAR11); 市場(chǎng)贏家1 VAR14:=H>L*1.053 AND COUNT(H>L*1.053,5)>2 AND (C/MA(C,30)*100<75 OR C/MA(C,50)*100<78); VAR15:=DMA(EMA(C,5),SUM(V,8)/2.8/CAPITAL); 市場(chǎng)贏家:REF((C-VAR15)/VAR15*100,1)<-34 AND (C-VAR15)/VAR15*100>REF((C-VAR15)/VAR15*100,1) AND REF((C-VAR15)/VAR15*100,1)<REF((C-VAR15)/VAR15*100,2) AND (C-VAR15)/VAR15*100-REF((C-VAR15)/VAR15*100,1)>1.76 OR VAR14; 旭日東升1
旭日東升:(C-MA(C,50))/MA(C,50)*100<-23 AND SMA(MAX(C-REF(C,1),0),3,1)/SMA(ABS(C-REF(C,1)),3,1)*100>16 AND CROSS(100*(HHV(H,27)-C)/(HHV(H,27)-LLV(L,27)),79) AND (O>C OR O<C) AND (O-REF(C,1))/REF(C,1)<0.05 AND V>MA(V,23); 神密線 X1:=(EMA(C,5)-EMA(C,13))/EMA(C,13)*100; X4:=(EMA(C,5)-EMA(C,120))/EMA(C,13)*100; Y1:=3*SMA((C-LLV(L,75))/(HHV(H,75)-LLV(L,75))*100,20,1); Y2:=2*SMA(SMA((C-LLV(L,75))/(HHV(H,75)-LLV(L,75))*100,20,1),15,1); Y3:=Y1-Y2; Y4:=100-Y3; Y5:=(0-(EMA(Y4,1)-50))+50; Y6:=(0-(EMA(Y4,12)-50))+50; X5:=V/CAPITAL*(C+O+L+H)/4; X6:=(H-MAX(C,O))-(MIN(C,O)-L)+(C-REF(C,1)); X7:=IF(X6>0,X5,0-X5); X8:=H-MAX(C,O)-(MIN(C,O)-L); X9:=(X7+X8)/2+C-REF(C,1); X10:=SUM(X9,0)+100; X11:=EMA(X10,5)+100; X12:=EMA(X10,13)+100; X15:=EMA(X10,120)+100; X16:=(X11-X12)/EMA(C,13)*100; X19:=(X11-X15)/EMA(C,13)*100; X20:=(X19-X16); Z1:=3*SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1); Z2:=2*SMA(SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1),3,1); Z3:=(Z1-Z2-50)*1.032+50; Z4:=(2*C+H+L+O)/5; Z5:=EMA((Z4-LLV(L,34))/(HHV(H,34)-LLV(L,34))*100,13); P0:=X4-X1+X20+Y5-Y6,COLORYELLOW; P4:=(Z3-Z5)/2+P0,COLORGREEN; CROSS(P4,P0) AND P4<40; 買進(jìn)選股 A7:=(2*C+H+L)/4; 底:=LLV(A7,21); 頂:=HHV(A7,21); SK:=EMA((A7-底)/(頂-底)*100,7); SD:=EMA(0.667*REF(SK,1)+0.333*SK,5); 買進(jìn):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),COLORFF0098; 抄底選股 D:=MA(CLOSE,80)-MA(CLOSE,10)/3; 抄底: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),COLORWHITE; 全倉買 上線:=SMA(C,6.5,1); 下線:=SMA(C,13.5,1); 全倉買:CROSS(上線,下線); KD抄底 RSV:=(CLOSE-LLV(LOW,7))/(HHV(HIGH,13)-LLV(LOW,13))*100; K:=SMA(RSV,3,1); D:=SMA(K,3,1); SUM(CROSS(K,D)AND D<23,15)>=2 AND CROSS(K,D)AND C>O; 買點(diǎn)選股
VAR1:=MA(WINNER(CLOSE),9)*100; CROSS(VAR1,2); 轉(zhuǎn)強(qiáng)選股1 M6:=EMA(C,60); M7:=MA(C,78); M8:=EMA(M7,3); M9:=EMA(M8,3); 選股:CROSS(M6,M9); 轉(zhuǎn)強(qiáng)選股2 Y:=(H+L)/2; AO:=MA(Y,5)-MA(Y,34 ); DU0:=CROSS(AO,0); UD0:=CROSS(0,AO); TDU0:=BARSLAST(DU0); TUD0:=BARSLAST(UD0); DU3:=REF(DU0,1); UD3:=REF(UD0,1); TDU3:=BARSLAST(DU3); TUD3:=BARSLAST(UD3); UDGLINE:=IF(TDU3<TUD3,REF(HHV(H,2),TDU3),REF(LLV(L,2),TUD3)),COLORYELLOW; JDU0:=REF(C,1)<=REF(UDGLINE,1) AND C>UDGLINE AND TDU0<TUD0; JUD0:=REF(C,1)>=REF(UDGLINE,1) AND C<UDGLINE AND TUD0<TDU0; JDU1:=JDU0 AND COUNT(JDU0,TDU0)=1; JUD1:=JUD0 AND COUNT(JUD0,TUD0)=1; JUD2:=JDU1 AND REF(BARSLAST(JUD1),1)<REF(BARSLAST(JDU1),1); 選股:JUD2; 新友選股 VAR326:=IF(CLOSE>REF(CLOSE,1),88,0); VAR327:=IF(CLOSE/REF(CLOSE,1)>1.050 AND HIGH/CLOSE<1.010 AND VAR326>0, 91, 0); XG:FILTER(VAR327>1,5); 招財(cái)貓
A1:=(C-REF(C,1))/REF(C,1)*100; MA5:=BARSLAST(A1>3); Z1:=MA(C,13); ZX:=REF(Z1,13/2+1); MA20:=IF(MA5>0,1,0); 選股:CROSS(C,ZX) AND MA20=0; 核心拉力 DP:=(INDEXC-REF(INDEXC,1))/REF(INDEXC,1); GG:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1); VAR1:=IF(DP>0.01,0.9,IF(DP<-0.05,1,1.2)); VAR2:=VAR1*(GG-DP)*100; 核心拉力:=SUM(VAR2,5); R5:核心拉力>REF(核心拉力,1) AND REF(核心拉力,1)<REF(核心拉力,2) AND REF(核心拉力,1)<-6; 導(dǎo)彈選股 VAR1:=(((CLOSE)/(MA(CLOSE,40)))*(100) < 78); VAR2:=(((CLOSE)/(MA(CLOSE,60)))*(100) < 74); VAR3:=(HIGH >= (LOW)*(1.051)); VAR4:=VAR3 AND (COUNT(VAR3,5) >= 2); VAR4 AND VAR1 OR VAR2 AND (COUNT((HIGH = LOW) AND (CLOSE = OPEN) AND (CLOSE < REF(CLOSE,1)),3) = 0) AND (HHV((VOL)/(CAPITAL),30) < 0.8),COLORYELLOW; 買點(diǎn)
買線:=EMA(C,2); 賣線:=EMA(SLOPE(C,21)*20+C,42); 指導(dǎo)線:=EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4,2); 界:=MA(CLOSE,27); B買:CROSS(指導(dǎo)線,界) OR CROSS(買線,賣線); 絕殺選股 M1:=SUM((EMA((CLOSE + LOW)/(2),2))/(2.98),3),COLORFFFFFF; M2:=EMA(M1,21),COLORFF00FF; M30:=MA(CLOSE,30),LINETHICK1,COLORFF0000; VAR1:=(2)*(MA((LLV((CLOSE + LOW)/(2),8))*(1.1),13)) - EMA((CLOSE + LOW)/(2),3) - ((CLOSE + LOW)/(2))*(0.1); VAR2:=IF(((EMA((CLOSE + LOW)/(2),3) - VAR1)*(5) > 0),(POW((EMA((CLOSE + LOW)/(2),3) - VAR1)*(5),2))/(10),(((-1))*(POW((EMA((CLOSE + LOW)/(2),3) - VAR1)*(5),2)))/(10)); VAR3:=IF((VAR2 > 0),VAR2 - 0,(-1)); 絕殺:CROSS(VAR3,0) AND ((CLOSE + LOW)/(2) > MA((CLOSE + LOW)/(2),8)); 買點(diǎn)1 B:=ZIG(3,50/5)*100,COLORWHITE; G:=MA(B,2),COLORYELLOW; 買:(CROSS(B,G)*1000 AND ZIG(3,50/5)*100)*10,COLORRED; 底部買入
RSV:=((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9)))*(100); K:=SMA(RSV,3,1); D:=SMA(K,3,1); 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:=(CLOSE-LLV(CLOSE,62))/(HHV(CLOSE,62)-LLV(CLOSE,62))*100; VARB:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*(-100); VARC:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100; VARD:=SMA(VARC,3,2); VARE:=SMA(VARD,3,2); AA:=EMA(VARE,2); 買入:AA<20 AND AA>REF(AA,1)AND REF(AA,1)<REF(AA,2); 海風(fēng)戰(zhàn)神 LC:=REF(CLOSE,1); TR:=MAX(HIGH - LOW,MAX(HIGH - LC,LC - LOW)); ATR:=SMA(TR,20,1); AA:=HHV(HIGH,30) - (2)*(ATR); BB:=CROSS(CLOSE,REF(HHV(HIGH,55),1)); SSS:=CROSS(MIN(MA(CLOSE,13),AA),CLOSE); BBB:=BARSLAST(BB); SSSB:=BARSLAST(SSS); B1:=(BBB = 0) AND (REF(SSSB,1) < REF(BBB,1)); B1B:=BARSLAST(B1); B2:=(BB = 1) AND (B1B < SSSB) AND (B1B > 0) AND (COUNT(BB,SSSB) < 3); B2B:=BARSLAST(B2); 重倉選股:(BB = 1) AND (B2B < B1B) AND (COUNT(BB,SSSB) < 4) AND (COUNT(BB,SSSB) > 2); TD80 VAR1:=LLV(LOW,21); VAR2:=HHV(HIGH,21); K:=EMA((CLOSE-VAR1)/(VAR2-VAR1)*100,8),COLORYELLOW ; D:=EMA(0.667*REF(K,1)+0.333*K,2),COLORWHITE; XG:CROSS(K,D)*50; 紅杏出墻
EMA13:=EMA(C,13); EMA34:=EMA(C,34); EMA55:=EMA(C,55); AR1:=EMA55>EMA34 AND EMA34>EMA13; AR2:=BARSLAST((C-EMA13)/EMA13*100<-6); AR3:=EMA13>=REF(EMA13,2); AR4:=COUNT(CROSS(C,EMA13),AR2)=1; AR5:=AR1 AND AR2 AND AR3 AND AR4; 紅杏出墻:AR5 AND FILTER(AR5,10); 螞蟻上樹 EMA13:=EMA(C,13); EMA34:=EMA(C,34); EMA55:=EMA(C,55); BR1:=COUNT(BETWEEN((C-REF(C,1))/REF(C,1)*100,0,5) ,5)=5; BR2:=ABS((EMA13-EMA34)+(EMA34-EMA55))/C<0.2; BR3:=C>EMA55 AND (REF(C,1)<REF(EMA55,1) OR REF(C,2)<REF(EMA55,2) OR REF(C,3)<REF(EMA55,3) OR REF(C,4)<REF(EMA55,4) OR REF(C,5)<REF(EMA55,5)); BR4:=BR1 AND BR2 AND BR3; 螞蟻上樹:(BR4 AND FILTER(BR4,10)); 梅開二度 EMA13:=EMA(C,13); EMA34:=EMA(C,34); EMA55:=EMA(C,55); 梅開二度:BARSLAST(REF(CROSS(EMA34,EMA13),1)) AND CROSS(EMA13,EMA34); 黑客點(diǎn)擊
EMA13:=EMA(C,13); EMA34:=EMA(C,34); EMA55:=EMA(C,55); DR1:=EMA13>EMA34 AND EMA34<EMA55; DR2:=BARSLAST(CROSS(C,EMA55) ); DR3:=H=HHV(H,DR2); DR4:=BARSLAST(DR3); DR5:=COUNT(O>C AND C<REF(C,1) AND C>EMA55 AND BETWEEN((C-EMA55)/EMA55,0,0.02),DR4)=1; DR6:=C>REF(C,1) ; DR7:= DR1 AND DR5 AND DR6 ; 黑客點(diǎn)擊:DR7 AND FILTER(DR7 ,10); 100XG 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; VAR4:=(趨勢(shì)-REF(趨勢(shì),1))/REF(趨勢(shì),1)*100; VAR5:=FILTER((趨勢(shì)<=13 AND VAR4>13),10); 買入:VAR5; 真實(shí)盤口 WJ:=(HIGH+LOW+CLOSE)/3; V1:=IF(HIGH=LOW,1,HIGH-MAX(OPEN,CLOSE)); V2:=IF(HIGH=LOW,1,MAX(CLOSE,OPEN)-WJ); V3:=IF(HIGH=LOW,1,MIN(OPEN,CLOSE)-LOW); V4:=IF(HIGH=LOW,1,WJ-MIN(CLOSE,OPEN)); V5:=VOL/IF(HIGH=LOW,4,HIGH-LOW); 買賣差:(V4+V3-V1-V2)*V5/DYNAINFO(8)*DYNAINFO(37)>4; |
|