[通達信] "翻倍黑馬"選股公式
[通達信] "翻倍黑馬"選股公式 MA5:=MA(C,5);MA24:=MA(C,24);均量5:=MA(VOL,5);均量60:=MA(VOL,60);DIFF:=EMA(CLOSE,10)-EMA(CLOSE,20);DEA:=EMA(DIFF,7);MACD:=2*(DIFF-DEA);啟動點:IF(CROSS(MA5,MA24) AND 均量5>均量60 AND MACD>0 AND DIFF>DEA,8,0);
[通達信] 超級抄底(副圖 源碼 ) N:=7;M:=3;VAR1:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*80; B:=SMA(VAR1,N,1); VAR2:=SMA(B,M,1); M1:=MA(CLOSE,5);M2:=MA(CLOSE,10);MA1:=MA(VOL,5);MA2:=MA(VOL,10);DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIF,9);A1:=DEA;F1:=DIF;RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(RSV,9,1);D:=SMA(K,9,1);K1:=CROSS(K,D);J1:=3*K1-2*D;金叉1:=CROSS(M1,M2);金叉2:=CROSS(MA1,MA2);金叉3:=CROSS(F1,A1);金叉4:=CROSS(J1,K1);選1:=金叉1 AND 金叉2;選2:=金叉1 AND 金叉3;選3:=金叉2 AND 金叉3;選4:=金叉3 AND 金叉4;選5:=金叉2 AND 金叉4;選6:=金叉1 AND 金叉4;GOLD:選1 OR 選2 OR 選3 OR 選4 OR 選5 OR 選6;VAR1F:=((CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20)))*(100);VAR20:=REVERSE(VAR1F);VAR21:=SMA(VAR1F,3,1);CCD:=SMA(VAR21,3,1),COLOR0000FF,LINETHICK2;CCC:=SMA(CCD,3,1),COLORYELLOW,LINETHICK2;FALCON:=IF(CROSS(CCD,CCC) AND (CCD<30),20,0),COLOR0000FF,LINETHICK2;黑馬:IF(CROSS(B,VAR2) AND B<65 AND CLOSE>OPEN AND FALCON AND (C/REF(C,1))>0.5,40,0),LINETHICK2,COLORLIMAGENTA;抄底:IF(CROSS(B,VAR2) AND B<65 AND GOLD AND CLOSE>OPEN AND (C/REF(C,1))>0.5,30,0),LINETHICK1,COLORRED;短炒:IF(CROSS(B,VAR2) AND B<65 AND CLOSE>OPEN AND (C/REF(C,1))>0.5,20,0),LINETHICK1,COLORGREEN;
[通達信] KDJ指標金叉且K值小於20的選股公式RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);XG:CROSS(K,D) AND K<20;
[通達信] KDJ和MACD完美組合(無未來) 經檢測不含未來,使用方法:當發出藍色買入信號時,可在尾盤最後幾分鐘或次日買入,發出綠色信號為賣出點DIF1:=EMA(CLOSE,7)-EMA(CLOSE,19),COLORWHITE;DEA1:=EMA(DIF1,9);MACD1:=(DIF1-DEA1)*100,COLORSTICK;STICKLINE(MACD1>REF(MACD1,1) AND MACD1>0,0,MACD1,0,0),COLORRED;STICKLINE(MACD1<=REF(MACD1,1) AND MACD1>0,0,MACD1,0,0),COLORYELLOW;STICKLINE(MACD1<REF(MACD1,1) AND MACD1<0,0,MACD1,0,0),COLOR00FF00;STICKLINE(MACD1>=REF(MACD1,1) AND MACD1<0,0,MACD1,0,0),COLORMAGENTA;STICKLINE(C>0,0,0,50,1),COLORBLUE;RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:SMA(RSV,5,1);D:SMA(K,3,1);J:3*K-2*D;VARB2:=(RSV/2+22)*1;量:=EMA(VOL,13);資金:=EMA(AMOUNT,13);過濾:=((資金 /量) / 100);提純:=(((CLOSE -過濾) / 過濾) * 100);黃金:=((提純 < (0)) AND ZXNH),COLORRED;低買:IF(黃金 AND RSV<VARB2-2,40,0),COLORCYAN,LINETHICK2;高賣:IF(黃金 AND RSV>VARB2,80,120),COLORGREEN,LINETHICK2;上漲分界:25;底部:0,COLORF00FF0,LINETHICK2;DRAWICON(CROSS(J,底部),底部,1);VAR1:=REF(CLOSE,1);VAR2:=SMA(MAX(CLOSE-VAR1,0),7,1)/SMA(ABS(CLOSE-VAR1),7,1)*100;特准:STICKLINE(FILTER(REF(VAR2,1)<20 AND VAR2>REF(VAR2,1),5),0,25,1,0),LINETHICK2,COLOR00FF00;BIAS1:=(C-MA(C,6))/MA(C,6)*100;BIAS2:=(C-MA(C,12))/MA(C,12)*100;BIAS3:=(C-MA(C,24))/MA(C,24)*100;BIAS:=(BIAS1+2*BIAS2+3*BIAS3)/6;乖離:=MA(BIAS,3);紅柱抄底:STICKLINE(CROSS(BIAS,乖離) AND 乖離<-9.5,25,50,1,0),COLORRED;DIFF:=EMA(DCLOSE,12)-EMA(DCLOSE,26);DEA:=EMA(DIFF,9),COLORFFFF00;MACD:=(DIFF-DEA)*2;A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));A2:=BARSLAST(REF(CROSS(DEA,DIFF),1));MACD底背離:STICKLINE(REF(CLOSE,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1) AND CROSS(DIFF,DEA),50,75,1,0),COLORYELLOW;VAR6:=LLV(LOW,10);VAR8:=HHV(HIGH,25);減倉線:=3.2 ;賣出線:=3.5;動力線:=EMA((CLOSE-VAR6)/(VAR8-VAR6)*4,4);DRAWICON(CROSS(動力線,減倉線),80,2);DRAWICON(CROSS(賣出線,動力線),100,2);DRAWTEXT(CROSS(賣出線,動力線),120,"出局"),COLORRED;選股公式RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;VARB2:=(RSV/2+22)*1;量:=EMA(VOL,13);資金:=EMA(AMOUNT,13);過濾:=((資金 /量) / 100);提純:=(((CLOSE -過濾) / 過濾) * 100);黃金:=((提純 < (0)) AND ZXNH);低買:黃金 AND RSV<VARB2-2;
[通達信] 兩個指標重合選出暴漲股票(源碼)
分類: 通達信指標 | 修改 | 刪除 | 2011-12-17 17:29:03
[通達信] 兩個指標重合選出暴漲股票(源碼)副圖一源碼:VAR1:=(2*CLOSE+HIGH+LOW+OPEN)/5;VAR2:=EMA(EMA(EMA(VAR1,4),4),4);SJ: (VAR2-REF(VAR2,1))/REF(VAR2,1)*100, COLORSTICK;SD: MA(SJ,2);SK: MA(SJ,1);VAR3:=CROSS(SK,SD) AND SK<0;VAR4:=CROSS(SK,0);VAR5:=CROSS(SK,SD) AND SK>0;買一: VAR3, STICK;買二: VAR4 OR VAR5, STICK;VAR6:=CROSS(SD,SK);賣出: VAR6, STICK;強弱分界: 0, CIRCLEDOT;副圖二源碼:{N: 1 20 6}VAR1:=(2*CLOSE+OPEN+HIGH+LOW)/5;VAR2:=(CLOSE-MA(CLOSE,N))/MA(CLOSE,N)*100;VAR3:=(EMA(VAR2,3)+EMA(VAR2,6)+EMA(VAR2,12)+EMA(VAR2,24))/4;A1: EMA(VAR3,2);A2: EMA(A1,2);A3: EMA(A2,2);A4: EMA(A3,2);A5: EMA(A4,2);強弱: 0, CIRCLEDOT;買進: IF(CROSS(A1,A5),-1,-5);賣出: IF(CROSS(A5,A1),1,5);A6: 3*A1-2*A2;
返回頂部
[通達信] 盤中分時突破預警TY:=H;A1:=REF(TY,10)=HHV(TY,2*10+1); B1:=FILTER(A1,10); C1:=BACKSET(B1,10+1); HD:=FILTER(C1,10);A2:=REF(TY,10)=LLV(TY,2*10+1); B2:=FILTER(A2,10); C2:=BACKSET(B2,10+1); LD:=FILTER(C2,10);阻力:=REF(H,BARSLAST(HD)),COLOR00FF00;XG:IF(CROSS(C,阻力),1,0);
20111216
返回頂部
推薦閱讀:
※你的體重正常嗎?看看正常體重的計算公式
※計算公式:勞動者應該知道7條法律公式
※八字的排序和計算公式其實並不神秘!
※通達信公式===MACD帶資金流量[原碼]
※瘦子比胖子易患10種病!一個公式算出你的體重「底線」
TAG:公式 |