{日月}
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)) B:=BARSLAST(CROSS(97,GJTJ2)) =1 AND BARSLAST(CROSS(GJTJ2,85)) A1:=A AND B; AA:=BARSLAST(CROSS(97,GJTJ1)) =2 AND BARSLAST(CROSS(GJTJ1,85)) BA:=BARSLAST(CROSS(97,GJTJ2)) =2 AND BARSLAST(CROSS(GJTJ2,85)) A2:=AA AND BA ; AAA:=BARSLAST(CROSS(97,GJTJ1)) =3 AND BARSLAST(CROSS(GJTJ1,85)) BAA:=BARSLAST(CROSS(97,GJTJ2)) =3 AND BARSLAST(CROSS(GJTJ2,85)) 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; ============================== 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)); XG:=BARSLAST(CROSS(GJTJ4,GJTJ1)) 5 AND GJTJ1 GJTJ4; ENTERLONG:COUNT(XG,3)=1 AND XG; ======================= {必涨选股} VARE:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20; VAR10:=(HIGH+LOW+CLOSE)/3; VAR11:=(VAR10-MA(VAR10,14))/(0.015*AVEDEV(VAR10,14)); VAR12:=(VAR10-MA(VAR10,70))/(0.015*AVEDEV(VAR10,70)); VAR13:=IF(VAR11 =150 AND VAR11 200 AND VAR12 =150 AND VAR12 200,10,0); VAR14:=IF(VAR11 =-150 AND VAR11 -200 AND VAR12 =-150 AND VAR12 -200,-10,VAR13); VAR15:=(CLOSE-MA(CLOSE,11))/MA(CLOSE,11)*100; VAR16:=100-ABS(VAR15); VAR17:=IF(VAR16 90,VAR16,100); VAR1A:=IF(VARE 0,VARE,0); VAR1B:=IF(VAR12 =200 AND VAR11 =150,15,IF(VAR12 =-200 AND VAR11 =-150,-15,VAR14))+60; VAR1C:=VAR1A 48 AND VAR1B 60 AND VAR17 出现必大涨:(VAR1C AND COUNT(VAR1C,30)=1); ======================================= {短线金叉强势品种} M1:=55; HR:=HHV(HIGH,M1); HRY:=LLV(LOW,M1); HRY11:=HR*HRY; HRY33:=SQRT(HRY11); WLT1:=EMA(C,3); WLT2:=EMA(C,5); WLT3:=EMA(WLT2,5); MM:=WLT1 REF(WLT1,1) AND REF(WLT1,1) GG1:=CROSS(WLT1,WLT2); TEND:=EMA(((SLOPE(CLOSE,21) * 20) + CLOSE),42); DD:=TEND REF(TEND,1) AND REF(TEND,1) REF(TEND,2); GG2:=CROSS(WLT1,TEND); HRY1:=LLV(LOW,55); HRY2:=HHV(HIGH,21); JJ1:=C TJ1:=GG1 AND JJ1 ; TJ2:=GG2 AND JJ1; TJ3:=GG1 AND C HRY33; XG:=TJ1 OR TJ3; 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),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),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),2) AND REF(ZIG(3,20),2) =REF(ZIG(3,20),3); PL40:=ZIG(3,40); 走强1:=BARSLAST(PL5 走弱1:=BARSLAST(PL5 REF(PL5,1)); 走强2:=BARSLAST(PL10 走弱2:=BARSLAST(PL10 REF(PL10,1)); 走强3:=BARSLAST(PL20 走弱3:=BARSLAST(PL20 REF(PL20,1)); ZTJZ5:=IF(PL10 REF(PL10,1),COUNT(EN1,走强2),0); ZTJD5:=IF(PL10 REF(PL10,1),COUNT(EX1,走强2),0); DTJZ5:=IF(PL10 DTJD5:=IF(PL10 ZTJZ10:=IF(PL20 REF(PL20,1),COUNT(EN2,走强3),0); ZTJD10:=IF(PL20 REF(PL20,1),COUNT(EX2,走强3),0); DTJZ10:=IF(PL20 DTJD10:=IF(PL20 WLT11:=EN1 AND DTJZ5=1; WLT22:=EN2 AND ZTJZ5=1; WLT33:=WLT11 OR WLT22; WLT01:=EN2 AND DTJZ10=1; WLT02:=EN3 AND ZTJZ10=1; WLT03:=WLT01 OR WLT02; WLT:=WLT33 AND WLT03; W18:XG OR WLT; ============================ {搜索低点} VAR1:=CLOSE =OPEN; VAR2:=CLOSE OPEN; VAR3:=DMA(EMA(CLOSE,12),SUM(VOL,5)/3/CAPITAL); VAR4:=(CLOSE-VAR3)/VAR3*100; VAR5:=REF(VAR4,1) -32 AND VAR4 REF(VAR4,1) AND REF(VAR4,1)2.5 AND REF(VAR4,2)-REF(VAR4,1) VAR6:=VAR2 AND REF(VAR1,1) AND REF(VAR1,2) AND REF(VAR1,3) AND REF(VAR1,4) AND REF(VAR1,5) AND REF(VAR2,6) AND HIGH 2.5 AND VAR4-REF(VAR4,1) 2 AND (REF(HIGH,1)-REF(CLOSE,2))/REF(CLOSE,2) 0.05 AND (REF(HIGH,4)-REF(CLOSE,5))/REF(CLOSE,5) 0.05 AND (REF(HIGH,2)-REF(CLOSE,3))/REF(CLOSE,3) 0.05 AND (REF(HIGH,3)-REF(CLOSE,4))/REF(CLOSE,4) 0.05 AND COUNT(INDEXC INDEXO,6) VAR5 OR VAR6; ============================ {踏浪共振} VAR1:=CLOSE/REF(CLOSE,1) =1.09 AND HIGH/CLOSE 1.005 AND MA(CLOSE,90)/CLOSE =1.1; VAR1 AND COUNT(VAR1,20)=1; =========================== {寂寞赢利} VAR1:=MA(CLOSE,5); VAR2:=MA(CLOSE,35); VAR3:=VAR1-VAR2; VAR4:=IF(VAR3 0,VAR3,0); VAR5:=IF(VAR3 0,VAR3,0); VAR6:=SMA(VAR4,34,1); VAR7:=SMA(VAR5,34,1); VAR8:=IF(VAR4 =VAR6 OR VAR5 =VAR7,VAR3,0); CROSS(VAR8,0.01); ============================= {蚂蝗盯盯} VAR1:=EMA(CLOSE,12)-EMA(CLOSE,26); VAR2:=EMA(VAR1,9); CROSS(VAR1,VAR2) AND REF(CLOSE,2)/REF(OPEN,2) 0.95 AND REF(OPEN,1) 0.03 AND CLOSE/OPEN 1.05 AND CLOSE REF(CLOSE,2); ============================ {黑马显形} {N=5,M1=2,M2=2,M3=3} VAR1:=(HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36))*100; VAR2:=SMA(VAR1,5,1); VAR3:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100; VAR4:=SMA(VAR3,2,1); VAR5:=MA(VOL/CAPITAL,30)*MA(VOL,60)/10000+MA(CLOSE,30)*8; VAR6:=MA(VOL/CAPITAL,30)*MA(VOL,60)/10000+MA(CLOSE,30); VAR2 80 AND CAPITAL =1500000 AND BARSCOUNT(CLOSE) 120 AND VOL/CAPITAL 0.04 AND VOL REF(HHV(VOL,10),1)*2; ============================ {遍地黄金} {N=9,M1=3,M2=3,M3=3} REF(CLOSE,2)/REF(OPEN,2) 0.98 AND REF(OPEN,1) 0.04 AND CLOSE/OPEN 1.06 AND CLOSE REF(CLOSE,2); ============================ {多头市场} VAR1:=MA(VOL,5); VAR2:=REF(VAR1,1); VOL/VAR2 2 AND VOL/CAPITAL*100 2 AND CLOSE/OPEN 1.08 AND HIGH/LOW ============================ {不宜割肉} 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)) B:=BARSLAST(CROSS(GJTJ4,GJTJ1)) 2 AND GJTJ1 GJTJ4; E:=GJTJ1 60 AND GJTJ4 ENTERLONG:A AND B AND E; ============================ {铂金选股} 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)) 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)); XG:=BARSLAST(CROSS(GJTJ4,GJTJ1)) 5 AND GJTJ1 GJTJ4; ENTERLONG:COUNT(XG,3)=1 AND XG; ================================= {二次启动} 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(GJTJ4,GJTJ1)) 3 AND BARSLAST(CROSS(GJTJ1,GJTJ4)) B:=BARSLAST(CROSS(GJTJ4,GJTJ2)); D:=GJTJ3 E:=BARSLAST(CROSS(GJTJ4,GJTJ3)) 3 AND BARSLAST(CROSS(GJTJ1,GJTJ4)) F:=GJTJ2 B1:=A 0 AND REF(A,1)=0 AND REF(A,2) ENTERLONG:A AND B AND D AND E AND F; ============================== {短线出击} DYNAINFO(14) -0.02 AND CAPITAL 5000000 AND DYNAINFO(26)/DYNAINFO(32) 2 AND DYNAINFO(27)/DYNAINFO(33) 2 AND DYNAINFO(41)/DYNAINFO(43) 2 AND DYNAINFO(48)/DYNAINFO(50) 2 AND DYNAINFO(26) 1000 AND DYNAINFO(27) 1000 AND DYNAINFO(41) 1000 AND DYNAINFO(48) 1000; ================================ {银边选股} TJ_5:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5)); TJ_10:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10)); TJ_20:=100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20)); TJ_30:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30)); (TJ_5=100 AND REF(TJ_5,2)=100 AND REF(TJ_5,1)=100 AND TJ_10=100 AND TJ_20=100 AND TJ_30=100 AND REF(TJ_10,2) 100 AND REF(TJ_20,2) 100 AND REF(TJ_30,2) 100) OR (TJ_5=100 AND REF(TJ_5,3)=100 AND REF(TJ_5,2)=100 AND REF(TJ_5,1)=100 AND TJ_10=100 AND TJ_20=100 AND TJ_30=100 AND REF(TJ_10,3) 100 AND REF(TJ_20,3) 100 AND REF(TJ_30,3) 100); ===================================== {涨停先锋选股} PPR4:=EMA(C,3); 短买:=(CLOSE/REF(CLOSE,1) 1.04 AND (CLOSE 10.8 AND CLOSE 10.83 OR CLOSE 6.86 AND CLOSE 6.88 OR CLOSE 13.82 AND CLOSE 13.84 OR CLOSE 7.28 AND CLOSE 7.3 OR CLOSE 12.4 AND CLOSE 12.42 OR CLOSE 22.33 AND CLOSE 22.35 OR CLOSE 4.68 AND CLOSE 4.7 OR CLOSE 26.29 AND CLOSE 26.31 OR CLOSE 7.65 AND CLOSE 7.67 OR CLOSE 13.4 AND CLOSE 13.42 OR CLOSE 7.58 AND CLOSE 7.6 OR CLOSE 20.43 AND CLOSE 20.45 OR CLOSE 19.57 AND CLOSE 19.59 OR CLOSE 6.26 AND CLOSE 6.28 OR CLOSE 7.14 AND CLOSE 7.16 OR CLOSE 6.61 AND CLOSE 6.63 OR CLOSE 11.9 AND VOL 11.92 OR CLOSE 6.7 AND CLOSE 6.72 OR CLOSE 8.19 AND CLOSE 8.21)); 股海万元:=(COUNT(REF(PPR4,1)REF(PPR4,1))*20,COLORWHITE; PARL0:=(MA(CLOSE,5)+MA(CLOSE,10)+MA(CLOSE,15)+MA(CLOSE,20))/4; PARL1:=C/REF(C,1) 1.05 AND C/REF(C,1) PARL2:=HHV(C/REF(C,1),60) 1.06 OR LLV(C/REF(C,1),60) 0.94{不选ST}; PARL3:=C O AND C LOWP:=LLV(LOW,9); HIGHP:=HHV(HIGH,9); RSP:=EMA((CLOSE-LOWP)/(HIGHP-LOWP)*100,3); X:=EMA(RSP,3); Y:=MA(X,3),COLORRED; PARL4:=CROSS(X,Y) AND X 三天:=(CROSS(PARL0,REF(PARL0,2)) OR (PARL4 AND PARL0 REF(PARL0,2))) AND PARL1 AND PARL2 AND PARL3 AND X Y AND X P1:=LLV(LOW,10); P2:=HHV(H,25); PR2:=(2*CLOSE+HIGH+LOW)/4; PR4:=LLV(LOW,5); PR5:=HHV(HIGH,4); 散户:=EMA((PR2-PR4)/(PR5-PR4)*100,4); 庄家:=EMA(0.667*REF(散户,1)+0.333*散户,2); 涨停先锋1:=IF(CROSS(散户,庄家) AND 散户 50 AND 29 散户 AND C O,20,0),COLORWHITE;价位线:=EMA((C-P1)/(P2-P1)*4,4); SS:=CROSS(价位线,0.3); 极点买入:=SS*20,COLORWHITE; 涨停先锋:=(涨停先锋1 OR 极点买入 OR 股海万元 OR 三天); 多:=EMA(C,3),COLORYELLOW; 空:=EMA(C,5),COLOR00FF00; 均衡:=EMA(空,5),COLORWHITE,; VFFF1:=COUNT(CROSS(多,均衡),2)=1; VFFF2:=COUNT(CROSS(空,均衡),2)=1; ZAI:FILTER(VFFF1 AND VFFF2 AND 涨停先锋=1,2);