【尾盤出擊】指標介紹 通達信【尾盤出擊】指標公式用于尾盤買入隔天擇機賣出,第二天為紅柱表示盈利賣出,綠柱表示虧損賣出,含打分,分數(shù)越高買入后第二天獲利的概率越大;尾盤出擊指標盡量選擇尾盤買入,安全性確定性比較大。若用于盤中預警則根據(jù)個人投資偏好進行,因為盤中不確定性較大,出了的信號可能會消失,尾盤確定性比較高相當比較安全;但是盤中預警若抓到可能第二天溢價率比較高;指標不含未來函數(shù),指標不漂移 {副圖指標源碼}--- 需要直接導入指標文件--指標tn6 GSKZ1:=MA(CLOSE,5); GSKZ2:=MA(CLOSE,10); GSKZ3:=MA(CLOSE,20); GSKZ4:=MA(CLOSE,20); GSKZ5:=GSKZ4+0.3*STD(CLOSE,20); GSKZ6:=GSKZ4-2*STD(CLOSE,20); GSKZ7:=BARSLAST(CLOSE/REF(CLOSE,1)>=1.095 AND CLOSE=HIGH); GSKZ8:=REF(GSKZ1,3)>REF(GSKZ2,3) AND REF(GSKZ2,3)>REF(GSKZ3,3) AND REF(GSKZ1,2)>REF(GSKZ2,2) AND REF(GSKZ2,2)>REF(GSKZ3,2) AND REF(GSKZ1,1)>REF(GSKZ2,1) AND REF(GSKZ2,1)>REF(GSKZ3,1) AND GSKZ1>GSKZ2 AND GSKZ2>GSKZ3; GSKZ9:=REF(GSKZ1,3)>REF(GSKZ2,3) AND REF(GSKZ1,2)>REF(GSKZ2,2) AND REF(GSKZ2,2)<REF(GSKZ3,2) AND REF(GSKZ1,1)>REF(GSKZ2,1) AND REF(GSKZ2,1)>REF(GSKZ3,1) AND GSKZ1>GSKZ2 AND GSKZ2>GSKZ3; GSKZ10:=REF(CLOSE,1)/REF(CLOSE,2)>1.105 AND CLOSE>OPEN AND CLOSE/REF(CLOSE,1)<1.19 AND HIGH/CLOSE<1.1 AND CLOSE/REF(CLOSE,1)>1 AND NOT(VOL>0.8*REF(VOL,1) AND LOW/OPEN>0.96) AND VOL<2*REF(VOL,2); GSKZ11:=REF(CLOSE,1)/REF(CLOSE,2)>1.105 AND CLOSE>OPEN AND CLOSE/REF(CLOSE,1)<1.19 AND HIGH/CLOSE<1.1 AND CLOSE/REF(CLOSE,1)<1 AND VOL<REF(VOL,1); GSKZ12:=GSKZ10 OR GSKZ11; GSKZ13:=REF(GSKZ12,1) AND CLOSE/REF(CLOSE,1)<1.02; GSKZ14:=GSKZ13 OR (GSKZ12 AND REF(GSKZ12,1)); GSKZ15:=DYNAINFO(37)*100; GSKZ16:=REF(GSKZ15,1); GSKZ17:=GSKZ13 OR GSKZ12; GSKZ18:=REF(CLOSE,1)/REF(CLOSE,2)>1.07 AND CLOSE/REF(CLOSE,1)<1.19 AND HIGH/CLOSE<1.1 AND CLOSE/REF(CLOSE,1)>1 AND NOT(VOL>0.8*REF(VOL,1) AND LOW/OPEN>0.96) AND VOL<2*REF(VOL,2); GSKZ19:=REF(CLOSE,1)/REF(CLOSE,2)>1.07 AND CLOSE/REF(CLOSE,1)<1.19 AND HIGH/CLOSE<1.1 AND CLOSE/REF(CLOSE,1)<1 AND VOL<REF(VOL,1); GSKZ20:=GSKZ18 OR GSKZ19; GSKZ21:=REF(GSKZ20,1) AND CLOSE/REF(CLOSE,1)<1.02; GSKZ22:=GSKZ21 OR (GSKZ20 AND REF(GSKZ20,1)); GSKZ23:=GSKZ21 OR GSKZ20 AND (CLOSE>OPEN AND OPEN/LOW<1.05 ); GSKZ24:=HIGH>=HHV(HIGH,15); GSKZ25:=1; GSKZ26:=BARSLAST(CLOSE/REF(CLOSE,1)>1.19 AND CLOSE=HIGH); GSKZ27:=1; GSKZ28:=NOT(REF(CLOSE=HIGH,2) AND REF(CLOSE>OPEN AND HIGH/REF(CLOSE,1)>1.05,1)); GSKZ29:=NOT(OPEN>REF(CLOSE,1) AND CLOSE<OPEN) AND (CLOSE<OPEN AND CLOSE/LOW<1.04 OR CLOSE>OPEN) AND GSKZ28 AND COUNT(OPEN=HIGH,3)<1 AND GSKZ26<5 AND CLOSE/REF(CLOSE,1)<1 AND VOL<REF(VOL,1) AND NOT(COUNT(OPEN>HHV(CLOSE,5),5)>=1) AND HIGH/OPEN>1.003; GSKZ30:=GSKZ23 OR GSKZ29 OR GSKZ17; 尾盤出擊:GSKZ23 OR GSKZ29 OR GSKZ17 AND GSKZ25 AND COUNT(OPEN/REF(CLOSE,1)>1.04,3)<1 AND NOT(REF(CLOSE,1)/REF(CLOSE,2)>1.195 AND REF(CLOSE=HIGH,1) AND HIGH/REF(CLOSE,1)>1.195) AND NOT(REF(CLOSE=LOW,1) AND REF(CLOSE,1)/REF(CLOSE,2)<0.94 AND CLOSE/REF(CLOSE,1)<1.01) AND COUNT(CLOSE/REF(CLOSE,1)<0.805 AND CLOSE=LOW,8)<1 AND NOT(COUNT(CLOSE/REF(CLOSE,1)>1.195 AND CLOSE=HIGH,10)>=3 AND REF(CLOSE/REF(CLOSE,1)>1.195 AND CLOSE=HIGH AND HIGH>=HHV(HIGH,50),1)) ; 尾盤出擊打分:(GSKZ1-GSKZ2)/GSKZ2*500+(GSKZ2-GSKZ3)/GSKZ3*300+IF(LOW<GSKZ2,(-100),0),NODRAW; 買入:=REF(C,BARSLAST(尾盤出擊)),COLORYELLOW,NODRAW; 最高:=REF(H,BARSLAST(尾盤出擊)-1),COLORFF00FF,NODRAW; 結(jié)果:=((最高-買入)/買入)*100,COLORRED,NODRAW; STICKLINE(REF(尾盤出擊=1,1) ,0,0.50,2,0),COLORGREEN; STICKLINE(REF(尾盤出擊=1,1) AND 最高/買入>=1.01,0,0.50,2,0),COLORRED; DRAWICON(REF(尾盤出擊=1,1) AND 結(jié)果>=1,0.68,5); DRAWICON(REF(尾盤出擊=1,1) AND 結(jié)果<1,0.68,4); DRAWNUMBER(REF(尾盤出擊,1),0.85,結(jié)果),COLORYELLOW; DRAWTEXT(REF(尾盤出擊,1),0.78,' %'),COLORYELLOW; 公:DRAWNULL,COLORCCCCCC;眾:DRAWNULL,COLORCCCCCC;號:DRAWNULL,COLORCCCCCC;股市客棧:DRAWNULL,COLORRED; {選股指標源碼}--- 需要直接導入指標文件--指標tn6 KEXG1:=MA(CLOSE,5); KEXG2:=MA(CLOSE,10); KEXG3:=MA(CLOSE,20); KEXG4:=MA(CLOSE,20); KEXG5:=KEXG4+0.3*STD(CLOSE,20); KEXG6:=KEXG4-2*STD(CLOSE,20); KEXG7:=BARSLAST(CLOSE/REF(CLOSE,1)>=1.095 AND CLOSE=HIGH); KEXG8:=REF(KEXG1,3)>REF(KEXG2,3) AND REF(KEXG2,3)>REF(KEXG3,3) AND REF(KEXG1,2)>REF(KEXG2,2) AND REF(KEXG2,2)>REF(KEXG3,2) AND REF(KEXG1,1)>REF(KEXG2,1) AND REF(KEXG2,1)>REF(KEXG3,1) AND KEXG1>KEXG2 AND KEXG2>KEXG3; KEXG9:=REF(KEXG1,3)>REF(KEXG2,3) AND REF(KEXG1,2)>REF(KEXG2,2) AND REF(KEXG2,2)<REF(KEXG3,2) AND REF(KEXG1,1)>REF(KEXG2,1) AND REF(KEXG2,1)>REF(KEXG3,1) AND KEXG1>KEXG2 AND KEXG2>KEXG3; KEXG10:=REF(CLOSE,1)/REF(CLOSE,2)>1.105 AND CLOSE>OPEN AND CLOSE/REF(CLOSE,1)<1.19 AND HIGH/CLOSE<1.1 AND CLOSE/REF(CLOSE,1)>1 AND NOT(VOL>0.8*REF(VOL,1) AND LOW/OPEN>0.96) AND VOL<2*REF(VOL,2); KEXG11:=REF(CLOSE,1)/REF(CLOSE,2)>1.105 AND CLOSE>OPEN AND CLOSE/REF(CLOSE,1)<1.19 AND HIGH/CLOSE<1.1 AND CLOSE/REF(CLOSE,1)<1 AND VOL<REF(VOL,1); KEXG12:=KEXG10 OR KEXG11; KEXG13:=REF(KEXG12,1) AND CLOSE/REF(CLOSE,1)<1.02; KEXG14:=KEXG13 OR (KEXG12 AND REF(KEXG12,1)); KEXG15:=DYNAINFO(37)*100; KEXG16:=REF(KEXG15,1); KEXG17:=KEXG13 OR KEXG12; KEXG18:=REF(CLOSE,1)/REF(CLOSE,2)>1.07 AND CLOSE/REF(CLOSE,1)<1.19 AND HIGH/CLOSE<1.1 AND CLOSE/REF(CLOSE,1)>1 AND NOT(VOL>0.8*REF(VOL,1) AND LOW/OPEN>0.96) AND VOL<2*REF(VOL,2);{公眾號:股市客棧 網(wǎng)站 --股票公式網(wǎng) WWW.GPZBGS.COM} KEXG19:=REF(CLOSE,1)/REF(CLOSE,2)>1.07 AND CLOSE/REF(CLOSE,1)<1.19 AND HIGH/CLOSE<1.1 AND CLOSE/REF(CLOSE,1)<1 AND VOL<REF(VOL,1); KEXG20:=KEXG18 OR KEXG19; KEXG21:=REF(KEXG20,1) AND CLOSE/REF(CLOSE,1)<1.02; KEXG22:=KEXG21 OR (KEXG20 AND REF(KEXG20,1)); KEXG23:=KEXG21 OR KEXG20 AND (CLOSE>OPEN AND OPEN/LOW<1.05 ); KEXG24:=HIGH>=HHV(HIGH,15); KEXG25:=1; KEXG26:=BARSLAST(CLOSE/REF(CLOSE,1)>1.19 AND CLOSE=HIGH); KEXG27:=1; KEXG28:=NOT(REF(CLOSE=HIGH,2) AND REF(CLOSE>OPEN AND HIGH/REF(CLOSE,1)>1.05,1)); KEXG29:=NOT(OPEN>REF(CLOSE,1) AND CLOSE<OPEN) AND (CLOSE<OPEN AND CLOSE/LOW<1.04 OR CLOSE>OPEN) AND KEXG28 AND COUNT(OPEN=HIGH,3)<1 AND KEXG26<5 AND CLOSE/REF(CLOSE,1)<1 AND VOL<REF(VOL,1) AND NOT(COUNT(OPEN>HHV(CLOSE,5),5)>=1) AND HIGH/OPEN>1.003; KEXG30:=KEXG23 OR KEXG29 OR KEXG17; 尾盤出擊:KEXG23 OR KEXG29 OR KEXG17 AND KEXG25 AND COUNT(OPEN/REF(CLOSE,1)>1.04,3)<1 AND NOT(REF(CLOSE,1)/REF(CLOSE,2)>1.195 AND REF(CLOSE=HIGH,1) AND HIGH/REF(CLOSE,1)>1.195) AND NOT(REF(CLOSE=LOW,1) AND REF(CLOSE,1)/REF(CLOSE,2)<0.94 AND CLOSE/REF(CLOSE,1)<1.01) AND COUNT(CLOSE/REF(CLOSE,1)<0.805 AND CLOSE=LOW,8)<1 AND NOT(COUNT(CLOSE/REF(CLOSE,1)>1.195 AND CLOSE=HIGH,10)>=3 AND REF(CLOSE/REF(CLOSE,1)>1.195 AND CLOSE=HIGH AND HIGH>=HHV(HIGH,50),1)); |
|