唐能通 短線是銀 選股公式源碼

條件選股公式——短線是銀之輕鬆過頭NDA := HHVBARS(HIGH,120); {120日內最高價的周期數}NDAY1:= NDA-10; {最高點之後10日}NDAY2:= NDA+10; {莊家應該在NDAY1--NDAY2之間吸納大部分籌碼}A1 := NDA>=30;{確保高點出現的周期數大於30}A2 := REF(SUM(VOL,20),NDAY1) > FINANCE(7) * 0.4; {吸納40%}VMA:=MA(VOL,40);{40日量均線}A3:=COUNT(VOL<VMA,NDAY1)/NDAY1>0.9;{成交量呈現芝麻點}A4:=CLOSE>=HHV(HIGH,120);{股價在衝擊前高位}A5:=COUNT(VOL<(MA(VOL,10)*1.3),10)>8;{近期無明顯放量}A1 AND A2 AND A3 AND A4 AND A5條件選股公式——短線是銀之倒掛老鴨頭MA5 := MA(CLOSE,5);MA10 := MA(CLOSE,10);MA60 := MA(CLOSE,60);PDAY1 := BARSLAST(CROSS(MA60,MA5));{5日均線下穿60日均線}PDAY2 := BARSLAST(CROSS(MA60,MA10));{10日均線下穿60日均線,至此形成鴨頸部}PDAY3 := BARSLAST(LOW=LLV(LOW,PDAY2));{形成頭部,要反彈}PDAY4 := BARSLAST(CROSS(MA5,MA10));{反彈後,5日均線和10日均線金叉}PDAY5 := BARSLAST(CROSS(MA10,MA5));{反彈不久,5日均線和10日均線形成死叉,形成嘴部}A1:= PDAY1>PDAY2 AND PDAY2>PDAY3 AND PDAY3>PDAY4 AND PDAY4>PDAY5 AND PDAY5<5;A2:= COUNT(CROSS(MA10,MA5),PDAY2)=1;A1 AND A2條件選股公式——短線是銀之價托{N1(2,200,20)N2(2,200,40)N3(2,200,60)}MA1:=MA(CLOSE,N1);MA2:=MA(CLOSE,N2);MA3:=MA(CLOSE,N3);TUO:=COUNT(CROSS(MA1,MA2),21)=1 AND CROSS(MA2,MA3) ANDCOUNT(CROSS(MA1,MA3),21)=1 ANDBARSLAST(CROSS(MA1,MA2))>BARSLAST(CROSS(MA1,MA3)) ANDBARSLAST(CROSS(MA1,MA3))>BARSLAST(CROSS(MA2,MA3)) ANDMA1>REF(MA1,1);條件選股公式——短線是銀之三金叉見底ND := 5;DOWN := CLOSE/LLV(LOW,60)<=1.2;PMA1 := MA(CLOSE,5);PMA2 := MA(CLOSE,10);VMA1 := MA(VOL,5);VMA2 := MA(VOL,10);DIFF := EMA(CLOSE,12) - EMA(CLOSE,26);DEA := EMA(DIFF,9);PPDAY := BARSLAST(CROSS(PMA1,PMA2));YDAY := BARSLAST(CROSS(VMA1,VMA2));MACDDAY := BARSLAST(CROSS(DIFF,DEA));SJCJD:= IF((PPDAY<=ND AND DAY<=ND AND MACDDAY<=ND),1,0);SJCJD條件選股公式——短線是銀之雙價托{N1(1,300,20)N2(1,300,40)N3(1,300,60)}MA1:=MA(CLOSE,N1);MA2:=MA(CLOSE,N2);MA3:=MA(CLOSE,N3);TUO:=COUNT(CROSS(MA1,MA2),21)=1 AND CROSS(MA2,MA3){COUNT(CROSS(MA2,MA3),21)=1} ANDCOUNT(CROSS(MA1,MA3),21)=1 ANDBARSLAST(CROSS(MA1,MA2))>BARSLAST(CROSS(MA1,MA3)) ANDBARSLAST(CROSS(MA1,MA3))>BARSLAST(CROSS(MA2,MA3)) ANDMA1>REF(MA1,1);A1:=TUO AND REF(BARSLAST(TUO),1)<89;條件選股公式——短線是銀之東方紅大陽升HSL:=V/CAPITAL*100;YB:=HSL>4 AND C>REF(C,1);A1:=COUNT(YB,13)>=3;A2:=C/REF(C,1)>1.049 AND HSL>5;A3:=REF(SUMBARS(V,CAPITAL),13)>89;A4:=HIGH/C<1.021;A5:=COUNT(C/REF(C,1)>1.04,10)<5;A6:=IF(COUNT(HSL>4,5)>=3,0,1);ZTJ:=A1 AND A2 AND A3 AND A4 {AND A5 AND A6};ZTJ AND (REF(BARSLAST(ZTJ),1)>20 OR BARSSINCE( ZTJ)=0)條件選股公式——短線是銀之多方疊疊炮A1:=REF(CLOSE,2)>REF(OPEN,2) AND REF(CLOSE,1)<REF(OPEN,1) AND CLOSE>OPEN;TJ:=A1 AND REF(BARSLAST(A1),1)<9 AND C/REF(C,10)>1.1;條件選股公式——短線是銀之獵豹出擊M1:=MA(C,60);A1:=COUNT(C<M1,33)>31;A2:=CROSS(C,M1);A3:=C/REF(C,1)>1.045;A1 AND A2 AND A3條件選股公式——短線是銀之金蜘蛛{N1(1,300,5)N2(1,300,10)N3(1,300,20)}MA1:=MA(CLOSE,N1);MA2:=MA(CLOSE,N2);MA3:=MA(CLOSE,N3);A1:=COUNT(CROSS(MA2,MA3),2)=1;A2:=COUNT(CROSS(MA1,MA3),2)=1;A1 AND A2條件選股公式——短線是銀之多方炮A1:=REF(CLOSE,2)>REF(OPEN,2) AND REF(CLOSE,1)<REF(OPEN,1) AND CLOSE>OPEN;A1條件選股公式——短線是銀之天上井地下井M1:=MA(C,5);M2:=MA(C,10);M3:=MA(C,20);M4:=MA(C,30);TSJ:=COUNT(CROSS(M3,M1),21)=1 AND COUNT(CROSS(M4,M1),21)>0 ANDCOUNT(CROSS(M3,M2),21)>0 AND COUNT(CROSS(M4,M2),21)>0;MM1:=MA(V,5);MM2:=MA(V,10);MM3:=MA(V,20);MM4:=MA(V,30);DXJ:=COUNT(CROSS(MM3,MM1),21)=1 AND COUNT(CROSS(MM4,MM1),21)>0 ANDCOUNT(CROSS(MM3,MM2),21)>0 AND COUNT(CROSS(MM4,MM2),21)>0;ZTJ:=COUNT(TSJ,13)>0 AND COUNT(DXJ,13)>0;ZTJ AND (REF(BARSLAST(ZTJ),1)>20 OR BARSSINCE( ZTJ)=0)條件選股公式——短線是銀之青龍取水A1:=MIN(MA(C,5),MA(C,10))>MA(C,60) AND CROSS(MA(C,5),MA(C,10));A2:=MIN(MA(C,5),MA(C,10))/MA(C,60)<1.05;A3:=COUNT(V<MA(V,10),10)>6;A1 AND A2 AND A3條件選股公式——短線是銀之一陽上穿三角托{N1(1,300,20)N2(1,300,40)N3(1,300,60)}MA1:=MA(CLOSE,N1);MA2:=MA(CLOSE,N2);MA3:=MA(CLOSE,N3);TUO:=COUNT(CROSS(MA1,MA2),21)=1 AND CROSS(MA2,MA3){COUNT(CROSS(MA2,MA3),21)=1} ANDCOUNT(CROSS(MA1,MA3),21)=1 ANDBARSLAST(CROSS(MA1,MA2))>BARSLAST(CROSS(MA1,MA3)) ANDBARSLAST(CROSS(MA1,MA3))>BARSLAST(CROSS(MA2,MA3)) ANDMA1>REF(MA1,1);A1:=C>MAX(MA1,MAX(MA2,MA3)) AND O<MIN(MA1,MIN(MA2,MA3));A2:=COUNT(A1,21)=1;TUO AND A2條件選股公式——短線是銀之量頂天立地A1:=V=HHV(V,120);A2:=C/OPEN>1.049;TJ:=A1 AND A2;TJ AND (REF(BARSLAST(TJ),1)>80 OR BARSSINCE(TJ)=0);條件選股公式——短線是銀之量托{N1(1,100,5)N2(1,100,10)N3(1,100,20)}MA1:=MA(V,N1);MA2:=MA(V,N2);MA3:=MA(V,N3);TUO:=COUNT(CROSS(MA1,MA2),21)=1 AND CROSS(MA2,MA3){COUNT(CROSS(MA2,MA3),21)=1} ANDCOUNT(CROSS(MA1,MA3),21)=1 ANDBARSLAST(CROSS(MA1,MA2))>BARSLAST(CROSS(MA1,MA3)) ANDBARSLAST(CROSS(MA1,MA3))>BARSLAST(CROSS(MA2,MA3)) ANDMA1>REF(MA1,1);TUO條件選股公式——短線是銀之黑馬草上飛LCZ:=(C-MA(C,60))/MA(C,60)*100;A1:=COUNT(MA(C,60)>REF(MA(C,60),1),100)>95;A2:=COUNT(LCZ<20,100)>95;A3:=COUNT(C>MA(C,60),100)>80;A4:=C/REF(C,1)>1.04;A5:=V/CAPITAL*100>2.8;ZTJ:=A1 AND A2 AND A3 AND A4 AND A5;ZTJ AND (REF(BARSLAST(ZTJ),1)>20 OR BARSSINCE( ZTJ)=0)條件選股公式——短線是銀之放量過頭highprice := hhv(high,60); {60日內最高價}A1:= Close>highprice;{股價在衝擊前高位}A2:= (vol>ma(vol,5)*2.5) or (COUNT(Vol>ma(vol,10),6)>4);{近期明顯放量}A1 AND A2
推薦閱讀:

【圖解】短線突破買入大法,看了你也會
短線集錦
手把手教你學選股票(十一)中短線之連陽
什麼樣的個股買進後短線能獲利
直擊熱點:「姚員外」暴賺500億,地產行情不停息

TAG:公式 | 源碼 | 短線 |