通达信三妖齐聚选股指标 源码 贴图
涨幅:=(C/REF(C,1)-1)*100; JH:=VOL*CLOSE; JHO:=SUM(JH,2)/SUM(VOL,2); JH0:=EMA(JHO,10); 主力资金动向:=IF((JHO-JH0)*20/JHO>1,(JHO-JH0)*200/JHO,0),COLORWHITE,LINETHICK2; {强势狙击} MA5:=MA(C,5),COLOR0099CC; BB05:=ATAN((MA5/REF(MA5,1)-1)*100)*180/3.1416; AA10:=MA(C,10); BB10:=ATAN((AA10/REF(AA10,1)-1)*100)*180/3.1416; AAZ30:=MA(C,30); BB30:=ATAN((AAZ30/REF(AAZ30,1)-1)*100)*180/3.1416; 强势狙击:=(涨幅>2 AND FILTER(BB30>30 AND BB10>45 AND CROSS(BB05,60),10) AND 主力资金动向>1.50); L0:=(LLV(LOW,10)); L10:=(LLV(LOW,60)); L2:=(LLV(LOW,120)); A1:=REF(CLOSE,1); C1:=(((CLOSE-A1)/A1)*100)>2.5; D10:=(((CLOSE-LOW)/LOW)*100)>2; 火牛:=IF((D10 AND L2 AND C1)*2,10,0); 金牛:=IF((D10 AND L0 AND C1)*2.5,10,0); 陡峭度:=IF((BARSCOUNT(CLOSE) > 7),(100)*((MA(CLOSE,7))/(LLV(MA(CLOSE,7),7)) - 1),1); NN:=IF((陡峭度 > 0.35),6,65); VAR17:=((-((100)*(HHV(HIGH,NN) - CLOSE))/(HHV(HIGH,NN) - LLV(LOW,NN))))*((DATE < 20070110)); 狂喜:=(30)*(CROSS(VAR17,(-2))); 最牛妖股X:=(CROSS(EMA((CLOSE-MA((2*CLOSE+HIGH+LOW)/4,3))/MA((2*CLOSE+HIGH+LOW)/4,3)*150,2),3) AND 涨幅>8); YCXN:=MA5>=REF(MA5,1); AA1:=REF(CLOSE,1)<(LLV(LOW,10)+(HHV(HIGH,10)-LLV(LOW,10))*1); AA2:=CLOSE=1; AA3:=CLOSE>=HHV(HIGH,5) AND YCXN AND C/REF(C,1)>=1; 涨停狙击:=DYNAINFO(4)>0 AND HHV(HIGH,5)/LLV(LOW,5)<3.4 AND AA1 AND (AA2 OR AA3); 妖股2:=金牛 AND 火牛 AND 涨停狙击 AND 狂喜; {妖股风暴} VARNX_8:=(HIGH+LOW+CLOSE*2)/4;VARNX_9:=EMA(VARNX_8,10);VARNX_10:=STD(VARNX_8,10);VARNX_11:=(VARNX_8-VARNX_9)*100/VARNX_10;VARNX_12:=EMA(VARNX_11,5);VARNX_13:=EMA(VARNX_12,10)+100/2-5; VARNX_14:=3*SMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,5,1),3,1); VARNX_15:=EMA(VARNX_14,5); VARNX_16:=CLOSE=OPEN AND HIGH!=LOW OR CLOSE=OPEN AND HIGH/LOW>1.03 OR CLOSE=OPEN AND CLOSE=LOW AND CLOSE!=HIGH OR REF(CLOSE,1)/REF(OPEN,1)>1.03 AND CLOSE/OPEN<0.97 AND OPEN>REF(CLOSE,1) AND CLOSE[CLOSE AND OPEN/REF(CLOSE,1)>=1+4/100 AND CLOSE/OPEN<=1-5/100 OR ABS(HIGH-REF(HIGH,1))/HIGH<0.001 OR OPEN>=CLOSE AND ABS(HIGH-OPEN)>=ABS(OPEN-LOW) OR CLOSE>=OPEN AND ABS(HIGH-CLOSE)>=ABS(CLOSE-LOW) OR OPEN>REF(CLOSE,1) AND OPEN>CLOSE;] VARNX_17:=CLOSE>=OPEN AND ABS(HIGH-OPEN)<=ABS(OPEN-LOW) OR CLOSE<=OPEN AND ABS(HIGH-CLOSE)<=ABS(CLOSE-LOW); VARNX_18:=VARNX_16 OR VARNX_17; VARNX_19:=VARNX_13>REF(VARNX_13,1) AND CLOSE!=OPEN AND CLOSE/REF(CLOSE,1)<1.099; VARNX_20:=VARNX_13>170 AND VARNX_18 AND VARNX_19 AND COUNT(CLOSE/REF(CLOSE,1)>1.09 AND CLOSE!=OPEN,20)<=4>=5; VARNX_21:=VARNX_13>170 AND COUNT(CLOSE/REF(CLOSE,1)>1.093,15)>=5 OR BARSLASTCOUNT(CLOSE/REF(CLOSE,1)>=1.093)>=5 AND CLOSE!=OPEN; VARNX_22:=ABS(LOW-OPEN)1.093 AND REF(CLOSE,1)/REF(CLOSE,2)<1.093 AND REF(CLOSE,97)>-1.099 AND REF(CLOSE,2)/REF(CLOSE,3)<1.093 AND REF(CLOSE,3)/REF(CLOSE,4)<1.093 AND REF(CLOSE,4)/REF(CLOSE,5)<1.093 AND REF(CLOSE,5)/REF(CLOSE,6)<1.093 AND NOT(CLOSE=OPEN AND CLOSE/REF(CLOSE,1)>1.099); VARNX_23:=CLOSE/REF(CLOSE,1)>1.093 AND VOL[1.093,20)<3;] VARNX_24:=VARNX_20 OR VARNX_21 AND CLOSE>MA(CLOSE,5) AND CLOSE>MA(CLOSE,30) AND MA(CLOSE,5)>MA(CLOSE,10) AND CLOSE>MA(CLOSE,60) AND REF(CLOSE,1)/REF(CLOSE,2)<1.08 AND CLOSE/REF(CLOSE,1)>CLOSE/REF(OPEN,1); VARNX_25:=(HIGH-LLV(LOW,90))/LLV(LOW,90)*100>120 AND VARNX_15>=REF(VARNX_15,1) AND VARNX_15>95 AND CLOSE/REF(CLOSE,1)<1.099; VARNX_26:=VARNX_15>100 AND CLOSE!=OPEN AND CLOSE/REF(CLOSE,1)!=CLOSE/REF(OPEN,1); VARNX_27:=VARNX_24 OR VARNX_25 OR VARNX_26; VARNX_28:=VARNX_22 OR VARNX_23 AND COUNT(CLOSE/REF(CLOSE,1)>1.05,10)<=4 AND SUM(VARNX_27,12)<1; 妖气:=(VARNX_28 AND SUM(VARNX_28,20)<2); 三妖齐聚:(妖气+妖股2+最牛妖股X+强势狙击>=3) AND CEILING(INTPART(V>MA(V,30))) AND MA(V,5)>MA(V,34) AND MA(C,5)>MA(C,10) AND MA(C,10)>MA(C,20) AND MA(C,20)>MA(C,30) AND MA(C,30)>MA(C,60) AND NOT(CODELIKE('688')) AND NOT(CODELIKE('8')) AND NOT(CODELIKE('4')) AND NOT(CODELIKE('3')) AND NOT(NAMELIKE('S')) AND NOT(NAMELIKE('*')) AND FINANCE(1)/100000000*C<300;
|