通達(dá)信期貨指標(biāo)公式_第1頁(yè)
通達(dá)信期貨指標(biāo)公式_第2頁(yè)
通達(dá)信期貨指標(biāo)公式_第3頁(yè)
通達(dá)信期貨指標(biāo)公式_第4頁(yè)
通達(dá)信期貨指標(biāo)公式_第5頁(yè)
已閱讀5頁(yè),還剩12頁(yè)未讀, 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說(shuō)明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)

文檔簡(jiǎn)介

通達(dá)信期貨指標(biāo)公式1、通達(dá)信選股公式{MACD、KDJ、RSI底背離}DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIFF,9);A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));B1:=REF(C,A1+1)>CANDREF(DIFF,A1+1)<DIFFANDCROSS(DIFF,DEA);A2:=BARSLAST(REF(CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3)),1));B2:=REF(C,A2+1)>CANDREF("KDJ.K"(9,3,3),A2+1)<"KDJ.K"(9,3,3)ANDCROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3));A3:=BARSLAST(REF(CROSS("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24)),1));B3:=REF(C,A3+1)>CANDREF("RSI.RSI1"(6,12,24),A3+1)<"RSI.RSI1"(6,12,24)ANDCROSS("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24));底背離:B1>0ORB2>0ORB3>0;{集成了MACD、KDJ、RSI三個(gè)指標(biāo)的底背離};2、老鼠倉(cāng)AA1:=AMOUNT/VOL;BB1:=L<AA1*0.9;CC1:=(C-REF(C,1))/REF(C,1)*100>1.2;DD1:=L<MA(C,5)*0.921;EE1:=VOL<MA(V,5)*1.5;老鼠倉(cāng):BB1ANDCC1ANDDD1ANDEE1;3、抄底高手{M153530N123227D185042}VAR1:=(CLOSE-MA(CLOSE,48))/MA(CLOSE,48)*100+M<0;VAR2:=(CLOSE-MA(CLOSE,70))/MA(CLOSE,70)*100+N<0;VAR3:=VAR1ANDVAR2;VAR4:=VAR1ANDVAR2ANDCOUNT(VAR3,2)=1ANDDATE>940101AND(CLOSE>OPENORCLOSE<OPEN)AND(OPEN-REF(CLOSE,1))/REF(CLOSE,1)>-0.07AND(REF(OPEN,1)>REF(CLOSE,1)ORREF(OPEN,1)<REF(CLOSE,1))AND(REF(OPEN,2)>REF(CLOSE,2)ORREF(OPEN,2)<REF(CLOSE,2))AND(REF(OPEN,3)>REF(CLOSE,3)ORREF(OPEN,3)<REF(CLOSE,3))AND(REF(OPEN,4)>REF(CLOSE,4)ORREF(OPEN,4)<REF(CLOSE,4))AND(REF(OPEN,5)>REF(CLOSE,5)ORREF(OPEN,5)<REF(CLOSE,5));VAR5:=DMA(EMA(CLOSE,8),SUM(VOL,9)/2.8/CAPITAL);VAR6:=(CLOSE-VAR5)/VAR5*100;VAR7:=REF(VAR6,1)+D<0ANDVAR6>REF(VAR6,1)ANDREF(VAR6,1)<REF(VAR6,2)ANDVAR6-REF(VAR6,1)>1.8AND(HIGH>LOW)AND(REF(HIGH,1)>REF(LOW,1))AND(REF(HIGH,2)>REF(LOW,2))AND(REF(HIGH,3)>REF(LOW,3))AND(REF(HIGH,4)>REF(LOW,4))AND(REF(HIGH,5)>REF(LOW,5));VAR4ORVAR7;3、短線黑馬{K100140100}VAR1:=DMA(CLOSE,VOL/MA(VOL,4)/4);VAR2:=DMA(CLOSE,VOL/MA(VOL,33)/33);VAR3:=(CLOSE-VAR1)/VAR1*100<-11/K*100;VAR4:=(VAR1-VAR2)/VAR2*100<-22.3/K*100;VAR5:=VAR3ANDVAR4AND(OPEN>CLOSEOROPEN<CLOSE)AND(OPEN-REF(CLOSE,1))/REF(CLOSE,1)>-0.07AND(REF(CLOSE,1)>REF(OPEN,1)ORREF(CLOSE,1)<REF(OPEN,1))AND(REF(OPEN,2)>REF(CLOSE,2)ORREF(OPEN,2)<REF(CLOSE,2))AND(REF(OPEN,3)>REF(CLOSE,3)ORREF(OPEN,3)<REF(CLOSE,3))AND(REF(OPEN,4)>REF(CLOSE,4)ORREF(OPEN,4)<REF(CLOSE,4))AND(REF(OPEN,5)>REF(CLOSE,5)ORREF(OPEN,5)<REF(CLOSE,5))AND(REF(OPEN,6)>REF(CLOSE,6)ORREF(OPEN,6)<REF(CLOSE,6))AND(REF(OPEN,7)>REF(CLOSE,7)ORREF(OPEN,7)<REF(CLOSE,7));VAR6:=DMA(CLOSE,VOL/MA(VOL,3)/3);VAR7:=DMA(CLOSE,VOL/MA(VOL,33)/33);VAR8:=(CLOSE-VAR6)/VAR6*100<-5;VAR9:=(VAR6-VAR7)/VAR7*100<-18;VARA:=(INDEXC-LLV(INDEXL,250))/(HHV(INDEXH,250)-LLV(INDEXL,250))*100;VARB:=SMA(VARA,30,1);VARC:=SMA(VARB,50,1);VARD:=VAR8ANDVAR9AND(OPEN>CLOSEOROPEN<CLOSE)AND(OPEN-REF(CLOSE,1))/REF(CLOSE,1)>-0.05AND(REF(CLOSE,1)>REF(OPEN,1)ORREF(CLOSE,1)<REF(OPEN,1));VARE:=VARDANDCOUNT(VARD,2)=1;VAR5ORVARE;4、逆勢(shì)操作VAR1:=DMA(CLOSE,VOL/MA(VOL,4)/4);VAR2:=DMA(CLOSE,VOL/MA(VOL,32)/32);VAR3:=(CLOSE-VAR1)/VAR1*100<-8;VAR4:=(VAR1-VAR2)/VAR2*100<-21;VAR5:=VAR3ANDVAR4AND(OPEN>CLOSEOROPEN<CLOSE)AND(OPEN-REF(CLOSE,1))/REF(CLOSE,1)>-0.05AND(REF(CLOSE,1)>REF(OPEN,1)ORREF(CLOSE,1)<REF(OPEN,1))AND(REF(OPEN,2)>REF(CLOSE,2)ORREF(OPEN,2)<REF(CLOSE,2))AND(REF(OPEN,3)>REF(CLOSE,3)ORREF(OPEN,3)<REF(CLOSE,3))AND(REF(OPEN,4)>REF(CLOSE,4)ORREF(OPEN,4)<REF(CLOSE,4))AND(REF(OPEN,5)>REF(CLOSE,5)ORREF(OPEN,5)<REF(CLOSE,5))AND(REF(OPEN,6)>REF(CLOSE,6)ORREF(OPEN,6)<REF(CLOSE,6))AND(REF(OPEN,7)>REF(CLOSE,7)ORREF(OPEN,7)<REF(CLOSE,7));VAR6:=(CLOSE-MA(CLOSE,70))/MA(CLOSE,70)*100<-23;VAR7:=(INDEXC-LLV(INDEXL,275))/(HHV(INDEXH,275)-LLV(INDEXL,275))*100;VAR8:=SMA(VAR7,50,1);VAR9:=SMA(VAR8,40,1);VARA:=VAR6ANDVAR9<23ANDCOUNT(VAR6,2)=1AND(OPEN>CLOSEOROPEN<CLOSE)ANDOPEN/REF(CLOSE,1)>0.96;(VAR5ORVARA);5、成交量變異率VR買(mǎi)入WVR:=SUM((IF(CLOSE>OPEN,VOL,0)+IF(CLOSE=OPEN,VOL/2,0)),N)/SUM((IF(CLOSE<OPEN,VOL,0)+IF(CLOSE=OPEN,VOL/2,0)),26)*100;VOL變異率VR買(mǎi)入:CROSS(LL,WVR);{N5100265}{LL080705};MA5:=MA(C,5);MA10:=MA(C,10);MA20:=MA(C,20);MA30:=MA(C,30);MA120:=SMA(C,120,1);ZH520:=ABS(MA5-MA20)/MA20*100<=10;ZH530:=ABS(MA5-MA30)/MA30*100<=10;QSXS1:=MA5>REF(MA5,1);QSXS2:=MA20>REF(MA20,1);QSXS3:=MA30>REF(MA30,1);DTPL:=MA20>MA30ANDMA30>MA120;LYT:=DTPLANDQSXS2ANDQSXS3ANDCOUNT(QSXS1,4)<=1;GJHS:=C>MA5AND((QSXS1ANDNOT(REF(QSXS1,1)))ORC>REF(C,3));LYKK:=GJHSAND(ZH520ORZH530)ANDLYT;買(mǎi):LYKKANDNOT(REF(LYKK,1));虛擬成交量>昨日VOL的2倍的股VVOL:=IF(CURRBARSCOUNT=1ANDPERIOD=5,VOL*240/FROMOPEN,DRAWNULL);昨日VOL:=REF(VOL,1)*2.0;ABS(VVOL)-昨日VOL>=0;{大于昨日的2.0倍};成交量是昨日的1.8倍VVOL:=IF(CURRBARSCOUNT=1ANDPERIOD=5,VOL*240/FROMOPEN,DRAWNULL);昨日VOL:=REF(VOL,1)*1.8;ABS(VVOL)-昨日VOL>=0;{大于昨日的1.8倍};6、PDI上穿三線選股公式源碼:TR0:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),14);HD:=HIGH-REF(HIGH,1);LD:=REF(LOW,1)-LOW;DMP:=SUM(IF(HD>0ANDHD>LD,HD,0),14);DMM:=SUM(IF(LD>0ANDLD>HD,LD,0),14);PDI:=DMP*100/TR0,colorred;MDI:=DMM*100/TR0;ADX:=MA(ABS(MDI-PDI)/(MDI+PDI)*100,6);ADXR:=(ADX+REF(ADX,6))/2;CROSS(PDI,MDI)ANDCROSS(PDI,ADX)ANDCROSS(PDI,ADXR)今日量比昨放大1倍后三日股價(jià)不跌回當(dāng)日收盤(pán)價(jià)的選股公式選股公式:{成交量比前一天放大1倍,后3天,股價(jià)沒(méi)有跌破放量那天的收盤(pán)價(jià)}var1:=v>ref(v,1)*2;ref(var1,3)andcount(c>ref(c,3),3)=3;7、倍量柱加三天量減價(jià)升喇叭形的真黃金柱公式倍數(shù):=1.9;倍量1:=REF(VOL,3)>倍數(shù)*REF(VOL,4)ANDREF(C,3)>=REF(O,3);價(jià)升量縮:=LLV(C,3)>=REF(L,3)ANDHHV(VOL,3)<=REF(VOL,3);連陽(yáng):=COUNT(C>=O,4)=4;選股:倍量1AND價(jià)升量縮AND連陽(yáng);8、“凹口起柱”理論編寫(xiě)的凹口指標(biāo)王子老師的平臺(tái)起柱、過(guò)頂起柱、凹口起柱理論真是了不得,十分佩服,這里我冒昧的加一個(gè),那就是頂部起柱,經(jīng)觀察,股票起柱時(shí)是主力行為的表現(xiàn),是主力意圖的表現(xiàn)!是主力留下的痕跡!是量柱開(kāi)口說(shuō)話的語(yǔ)言!這個(gè)指標(biāo)或許可以幫助朋友們看懂主力的行為意圖,看出量柱的語(yǔ)言!T7:=REF(VOL,6)/REF(VOL,7)>=2;T6:=REF(VOL,5)/REF(VOL,6)>=2;T5:=REF(VOL,5)/REF(VOL,4)>=1.5;T4:=REF(VOL,4)/REF(VOL,3)>=1.5;T3:=REF(VOL,2)/REF(VOL,3)>=1.5;T1:=V/REF(VOL,1)>2;T0:=C>OANDC>REF(C,1);選股:T7ANDT1ANDT0ORT6ANDT1ANDT0ORT5ANDT1ANDT0ORT4ANDT1ANDT0ORT3ANDT1ANDT0;下載(53.76KB)2010-1-1221:299、倍量過(guò)左峰選股源碼--通達(dá)信SR1:=REF(HIGH,10)=HHV(HIGH,2*10+1);SR2:=FILTER(SR1,10);SR3:=BACKSET(SR2,10+1);HD:=FILTER(SR3,10);前高:=REF(H,BARSLAST(HD));倍量:=VOL/REF(VOL,1)>=2ANDCOUNT(CLOSE>OPEN,1)ORLOW>REF(HIGH,1)ANDCOUNT(OPEN>CLOSE,1)ANDVOL/REF(VOL,1)>=2;突破前高:=CROSS(C,前高);XG:突破前高AND倍量;10、{MACD、KDJ、RSI底背離}DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIFF,9);A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));B1:=REF(C,A1+1)>CANDREF(DIFF,A1+1)<DIFFANDCROSS(DIFF,DEA);A2:=BARSLAST(REF(CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3)),1));B2:=REF(C,A2+1)>CANDREF("KDJ.K"(9,3,3),A2+1)<"KDJ.K"(9,3,3)ANDCROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3));A3:=BARSLAST(REF(CROSS("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24)),1));B3:=REF(C,A3+1)>CANDREF("RSI.RSI1"(6,12,24),A3+1)<"RSI.RSI1"(6,12,24)ANDCROSS("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24));底背離:B1>0ORB2>0ORB3>0;{集成了MACD、KDJ、RSI三個(gè)指標(biāo)的底背離};11、老鼠倉(cāng)AA1:=AMOUNT/V;BB1:=L<AA1*0.9;CC1:=(C-REF(C,1))/REF(C,1)*100>1.2;DD1:=L<MA(C,5)*0.921;EE1:=V<MA(V,5)*1.5;老鼠倉(cāng):BB1ANDCC1ANDDD1ANDEE1;12、主力進(jìn)場(chǎng)VAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);VAR2:=SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),10,1);VAR3:=EMA(VAR2,10);VAR4:=LLV(LOW,33);VAR5:=EMA(IF(LOW<=VAR4,VAR3,0),3);XG:(VAR5>REF(VAR5,1)ANDVAR5>0)OR(VAR5<REF(VAR5,1)ANDNOT(VAR5=0)=1);13、60日天量T1:=V=HHV(V,100);T2:=V/REF(VOL,1)>=3;選股:T1ANDT2;14、135均量線選股VOLUME:=VOL;MAVOL1:=MA(VOLUME,5);MAVOL2:=MA(VOLUME,35);MAVOL3:=MA(VOLUME,135);選股:CROSS(MAVOL1,MAVOL2)ORCROSS(MAVOL1,MAVOL3)ORCROSS(MAVOL2,MAVOL3);15、二次翻紅DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIF,9);MACD:=2*(DIF-DEA);FH1:=REF(MACD,1)<REF(MACD,2)ANDREF(MACD,2)<REF(MACD,3)ANDREF(MACD,3)<REF(MACD,4);FH2:=MACD>=0ANDCOUNT(MACD>REF(MACD,1),1)=1;FH3:=FH1ANDFH2ANDEMA(C,13)>REF(EMA(C,13),1);FH4:=FH1ANDFH2ANDABS((DIF-DEA)/C)<0.018;FH5:=FH1ANDFH2ANDMACD<0.10;二次翻紅:=(FH3ORFH4ORFH5);低買(mǎi):=CROSS(DIF,DEA)ANDDIF<0;加油:=CROSS(DIF,DEA)ANDDIF>0;XG:二次翻紅OR低買(mǎi)OR加油;16、均量互換VOLUME:=VOL;MAVOL1:=MA(VOLUME,5);MAVOL2:=MA(VOLUME,35);MAVOL3:=MA(VOLUME,135);選股:CROSS(MAVOL2,MAVOL3);17、成交額均量互換AMO:=AMOUNT;MAAMO1:=MA(AMO,5);MAAMO2:=MA(AMO,10);MAAMO3:=MA(AMO,40);XG:CROSS(TJ1,TJ2)ANDCROSS(TJ1,TJ3)ORCROSS(MAAMO1,MAAMO2)ANDCROSS(MAAMO1,MAAMO3);18、凹口起柱T7:=REF(VOL,6)/REF(VOL,7)>=2;T6:=REF(VOL,5)/REF(VOL,6)>=2;T5:=REF(VOL,5)/REF(VOL,4)>=1.5;T4:=REF(VOL,4)/REF(VOL,3)>=1.5;T3:=REF(VOL,2)/REF(VOL,3)>=1.5;T1:=V/REF(VOL,1)>2;T0:=C>OANDC>REF(C,1);選股:T7ANDT1ANDT0ORT6ANDT1ANDT0ORT5ANDT1ANDT0ORT4ANDT1ANDT0ORT3ANDT1ANDT0;19、黃金柱選股VAR1:=V>REF(V,1)*2;REF(VAR1,3)ANDCOUNT(C>REF(C,3),3)=3;20、日成交量觸及5日均量線M1:=MA(V,5);M2:V>M1;21、早盤(pán)量滿--一個(gè)很管用的預(yù)警指標(biāo)本指標(biāo)描述的是上午10點(diǎn)前個(gè)股成交量與昨天基本相等(指標(biāo)在上午10點(diǎn)以后就不工作了);這類(lèi)股票往往是比較強(qiáng)勢(shì),只有在10點(diǎn)前成交量達(dá)到昨天水平才會(huì)預(yù)警;其中下跌的股票必須用肉眼給過(guò)濾掉。這個(gè)指標(biāo)只能用在通達(dá)信上,其它軟件無(wú)法改用早盤(pán)量滿:CROSS(VOL,REF(VOL,1))ANDFROMOPEN<30;指標(biāo)解釋?zhuān)篊ROSS(VOL,REF(VOL,1))--就是今天的成交量超過(guò)昨天成交量;

FROMOPEN<30--就是開(kāi)盤(pán)后30分內(nèi)有效,那么我們可以根據(jù)自己的需要進(jìn)行改進(jìn)。

比如可以設(shè)在10:00點(diǎn)鐘開(kāi)始預(yù)警,到10:30分結(jié)束,那么就寫(xiě)成FROMOPEN>30

and

FROMOPEN<60.關(guān)于指標(biāo)我認(rèn)為必須先搞懂市場(chǎng)含義,才能再去使用指標(biāo)。網(wǎng)上的指標(biāo)很多,不泛有大量的好指標(biāo),當(dāng)我們不懂其市場(chǎng)含義時(shí)我們不要貿(mào)然去用它。22、天地量A股:CAPITAL/1000000,LINETHICK0,COLORWHITE;VAR2:=1*AMOUNT;三十日地量:VAR2=LLV(VAR2,30)ANDVAR2!=0ANDBARSCOUNT(C)>30;六十日地量:VAR2=LLV(VAR2,60)ANDVAR2!=0ANDBARSCOUNT(C)>60;一百日地量:VAR2=LLV(VAR2,100)ANDVAR2!=0ANDBARSCOUNT(C)>100;一年地量:VAR2=LLV(VAR2,250)ANDVAR2!=0ANDBARSCOUNT(C)>250;三十日天量:VAR2=HHV(VAR2,30)ANDVAR2!=0ANDBARSCOUNT(C)>30;六十日天量:VAR2=HHV(VAR2,60)ANDVAR2!=0ANDBARSCOUNT(C)>60;一百日天量:VAR2=HHV(VAR2,100)ANDVAR2!=0ANDBARSCOUNT(C)>100;一年天量:VAR2=HHV(VAR2,250)ANDVAR2!=0ANDBARSCOUNT(C)>250;23、AAA量線選股CV:=CLOSE;BBIBOLL:=(MA(CV,3)+MA(CV,6)+MA(CV,12)+MA(CV,24))/4;UPR:=BBIBOLL+6*STD(BBIBOLL,11);QJJ:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));XVL:=(IF(CLOSE>OPEN,QJJ*(HIGH-LOW),IF(CLOSE<OPEN,QJJ*(HIGH-OPEN+CLOSE-LOW),VOL/2))+IF(CLOSE>OPEN,0-QJJ*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE<OPEN,0-QJJ*(HIGH-LOW),0-VOL/2)));HSL:=(XVL/3)/1.15;攻擊:=((HSL*0.55+(REF(HSL

溫馨提示

  • 1. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒(méi)有圖紙預(yù)覽就沒(méi)有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。

評(píng)論

0/150

提交評(píng)論