收集最好的選股公式_第1頁
收集最好的選股公式_第2頁
收集最好的選股公式_第3頁
收集最好的選股公式_第4頁
收集最好的選股公式_第5頁
已閱讀5頁,還剩34頁未讀, 繼續(xù)免費(fèi)閱讀

下載本文檔

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

文檔簡介

本人炒股多年來收集最好的選股公式我們小散戶做的是政策面大指標(biāo)里的個(gè)股,不是整個(gè)政策面里的所有股??礃I(yè)績,看基本面,看政策都不如看個(gè)股快要拉升的時(shí)機(jī)。好指標(biāo)里顯示個(gè)股拉升前的習(xí)慣和成交量的數(shù)據(jù),好指標(biāo)的確像溫度計(jì)一樣記錄了 39度是發(fā)燒,。度以下要結(jié)冰的事實(shí)。熊市里有漲的可以賺錢的個(gè)股,牛市里有跌的能套人的個(gè)股。能有一個(gè)更好的指標(biāo)讓大家在牛市里多賺一點(diǎn)錢,在熊市里少賺一點(diǎn)錢,就值得了。一.選股指標(biāo).次日漲停W1:=C=HHV(C,20);W2:=BARSLAST(W1);W3:=IF(W2>0,REF(C,W2),REF(C,W2));W4:=CROSS(C,REF(W3,1));W4ANDCOUNT(W4,5)=1;黃轉(zhuǎn)紫選股DIFFkEMA(DCLOSE,12)-EMA(DCLOSE,26);DEAkEMA(DIFF,9);MACD:=(DIFF-DEA)*2;紫柱:MACD<0ANDMACD>REF(MACD,1)ANDREF(MACD,1)<REF(MACD,2);低位金叉選股XL1:=MA(LOW,2)*0.96;XL1:=MA(LOW,2)*0.96;DIFFkEMA(DCLOSE,12)-EMA(DCLOSE,26);DEAkEMA(DIFF,9);MACD:=(DIFF-DEA)*2;低位金叉:CROSS(DIFF,DEA)ANDDIFF<-0.1;二次金叉選股DIFFkEMA(DCLOSE,12)-EMA(DCLOSE,26);DEAkEMA(DIFF,9);MACD:=(DIFF-DEA)*2;JCCOUNTkCOUNT(CROSS(DIFF,DEA),BARSLAST(DEA>=0));二次金叉:CROSS(DIFF,DEA)ANDDEA<0ANDCOUNT(JCCOUNT=2,21)=1;絕地反彈VAR1:=REF(LOW,1);VAR2:=SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),13,1)*100;VAR3:=EMA(IF(CLOSE*1.2,VAR2*13,VAR2/13),13);VAR4:=LLV(LOW,34);VAR5:=HHV(VAR3,34);VAR6:=IF(LLV(LOW,55),1,0);VAR7:=EMA(IF(LOW<=VAR4,(VAR3+VAR5*2)/2,0),3)/618*VAR6;XL2:=MA(LOW,26)*0.85;XL3:=REF(XL1,1)<XL2ANDREF(XL1,1)<XL1ANDREF(XL1,1)<REF(XL1,2);啟動(dòng):=IF(XL3,0,VAR7*3),COLORRED;XG:啟動(dòng)>25;BACKSET((REF(CLOSE,1)<REF(OPEN,1)ANDCLOSE>OPENANDABS(CLOSE-REF(CLOSE,1))/CLOSE<0.002),2);A2:=FILTER(A1<=V3,10);REF(V,1)=LLV(V,4)ANDV>=REF(V,1)HHV(V,3)=REF(V,1)ANDHHV(V,5)=REF(V,1)ANDHHV(V,21)=REF(V,1)ANDV>=REF(V,1)01>0ANDT02>0;.三線粘合M:=1;M5:=MA(CLOSE,5);M10:=MA(CLOSE,10);M20:=MA(CLOSE,20);K1:=MAX(MAX(M5,M10),MAX(M10,M20));K2:=MIN(MIN(M5,M10),MIN(M10,M20));A:=MAX(M5,MAX(M10,M20))/MIN(M5,MIN(M10,M20))<1+0.03*M;A1:=(K1/K2-1)<0.005;A2:=(K1/K2-1)<0.005;A3:=V>REF(V,1)*1.5ANDV>MA(V,5);.三條線粘合N1:=5;N2:=10;N3:=20;M:=1;MA1:=MA(C,N1);MA2:=MA(C,N2);MA3:=MA(C,N3);A3:=V>REF(V,1)*1.5ANDV>MA(V,5);MAX(MA1,MAX(MA2,MA3))/MIN(MA1,MIN(MA2,MA3))<1+0.01*M.均線粘合M:=1;M5:=MA(CLOSE,5);M10:=MA(CLOSE,10);M20:=MA(CLOSE,20);K1:=MAX(MAX(M5,M10),MAX(M10,M20));K2:=MIN(MIN(M5,M10),MIN(M10,M20));A:=MAX(M5,MAX(M10,M20))/MIN(M5,MIN(M10,M20))<1+0.01*M;A1:=(K1/K2-1)<0.005;A2:=(K1/K2-1)<0.005;A3:=V>REF(V,1)*1.5ANDV>MA(V,5);XG:AANDA1ANDA2ANDA3;.金叉選股指標(biāo)快線kEMA(EMA(EMA(EMA(CLOSE,2),2),2),2);慢線kEMA(REF(快線,1),2);A3:=V>REF(V,1)*1.5ANDV>MA(V,5);XG:CROSS(快線,慢線)ANDC>OAND.角度MA5:=MA(C,5);MA10:=MA(C,10);MA20:=MA(C,20);V0:CROSS(MA5,MA10)ANDCROSS(MA10,MA20)ANDCROSS(MA5,MA20);IF(角度MA3>45AND角度MA5>40AND角度MA10>10AND角度MA20>20ANDMA(C,135)>REF(MA(C,135),1),1,0),COLOR00FF00.聚寶盆DIFFkEMA(CLOSE,SHORT)-EMA(CLOSE,LONG);DEAkEMA(DIFF,M);MACD2:=2*(DIFF-DEA);HHV(MACD2,4)<0ANDMACD2>REF(MACD2,1)ANDREF(MACD2,1)<REF(MACD2,2)ANDREF(MACD2,2)<REF(MACD2,3);.強(qiáng)勢(shì)股{SJXXG四均線選股}MA3:=MA(C,3);MA5:=MA(C,5);MA10:=MA(C,10);MA20:=MA(C,20);V0:=MA(C,3)>REF(MA(C,3),1)ANDMA(C,5)>REF(MA(C,5),1)ANDC>MA(C,3)ANDMA(C,3)>MA(C,5);{均線C,MA3,MA5多頭排列并向上;}角度MA3:=ATAN((MA3/REF(MA3,1)-1)*100)*180/3.1416;角度MA5:=ATAN((MA5/REF(MA5,1)-1)*100)*180/3.1416;角度MA10:=ATAN((MA10/REF(MA10,1)-1)*100)*180/3.1416;角度MA20:=ATAN((MA20/REF(MA20,1)-1)*100)*180/3.1416;選月殳MA20:IF(角度MA3>45AND角度MA5>45AND角度MA10>60AND角度MA20>45ANDMA(C,250)>REF(MA(C,250),1),1,0),COLOR00FF00;{設(shè)計(jì)思路:1.3日均線角度大于45度;2:5日均線角度大于45度;3:10日均線角度大于60度;4.20日均線角度大于45度;5.MA250向上;};3。紫色沖關(guān)⑴.CROSS(CLOSE,MA(C,30))ANDCLOSE>MA(C,22)ANDCLOSE>MA(C,30)ANDCOUNT(MA(CLOSE,13)>REF(MA(CLOSE,13),1),1)ANDCOUNT(MA(CLOSE,8)>REF(MA(CLOSE,8),1),1)ANDCOUNT(MA(CLOSE,20)>REF(MA(CLOSE,20),1),1)ANDCLOSE/OPEN>1.015ANDDYNAINFO(37)>0.2%COLORLIBLUE;(2).QSXS:=MA(CLOSE,8)>REF(MA(CLOSE,8),1)ANDMA(CLOSE,3)>REF(MA(CLOSE,3),1)ANDMA(CLOSE,5)>REF(MA(CLOSE,5),1);DXJC:=CROSS(CLOSE,MA(C,21))ANDCLOSE>MA(C,13)ANDCLOSE/OPEN>1.015;HSL:=VOL/CAPITAL*100;選股:QSXSANDDXJCANDHSL>2;⑶.{SJXXG四均線選股}MA3:=MA(C,1);MA5:=MA(C,3);MA10:=MA(C,5);MA20:=MA(C,10);V0:=MA(C,1)>REF(MA(C,1),0.5)ANDMA(C,3)>REF(MA(C,3),0.5)ANDC>MA(C,1)ANDMA(C,1)>MA(C,1);{均線C,MA3,MA5,MA10,MA20 多頭排列并向上;}角度MA3:=ATAN((MA3/REF(MA3,1)-1)*100)*180/3.1416;角度MA5:=ATAN((MA5/REF(MA5,1)-1)*100)*180/3.1416;角度MA10:=ATAN((MA10/REF(MA10,1)-1)*100)*180/3.1416;角度MA20:=ATAN((MA20/REF(MA20,1)-1)*100)*180/3.1416;選月殳MA20:IF(角度MA3>50AND角度MA5>40AND角度MA10>30AND角度MA20>20ANDMA(C,250)>REF(MA(C,250),1),1,0),COLOR00FF00;{設(shè)計(jì)思路:1.1日均線角度大于40度;2:3日均線角度大于40度;3:5日均線角度大于50度;4.10日均線角度大于40度;5.MA135向上;};(4).{SJXXG四均線選股}MA3:=MA(C,5);MA5:=MA(C,10);MA10:=MA(C,15);MA20:=MA(C,20);V0:=MA(C,5)>REF(MA(C,10),1)ANDMA(C,10)>REF(MA(C,15),1)ANDMA(C,15)>MA(C,20);{均線C,MA3,MA5多頭排列并向上;}角度MA3:=ATAN((MA3/REF(MA3,1)-1)*100)*180/3.1416;角度MA5:=ATAN((MA5/REF(MA5,1)-1)*100)*180/3.1416;角度MA10:=ATAN((MA10/REF(MA3,1)-1)*100)*180/3.1416;角度MA20:=ATAN((MA20/REF(MA5,1)-1)*100)*180/3.1416;選月殳MA20:IF(角度MA3>42AND角度MA5>25AND角度MA10>15AND角度MA20>10ANDMA(C,135)>REF(MA(C,135),1),1,0),COLOR00FF00;{設(shè)計(jì)思路:1.3日均線角度大于30度;2:5日均線角度大于40度;3:10日均線角度大于45度;4.20日均線角度大于40度;5.MA135向上;};⑸.5日最底V5:=LLV(V,5);QSXS:=MA(CLOSE,5)>REF(MA(CLOSE,5),1)ANDMA(CLOSE,8)>REF(MA(CLOSE,8),1)ANDMA(CLOSE,21)>REF(MA(CLOSE,21),1);DXJC:=CROSS(CLOSE,MA(C,21))ANDCLOSE>MA(C,21)ANDCLOSE/OPEN>1.015;HSL:=VOL/CAPITAL*100;選股:V5ANDQSXSANDDXJCANDHSL>2;1….{蓄勢(shì)待發(fā)}V0:=EMA(C,5);W2:=BARSLAST(W1);W2:=BARSLAST(W1);EMA10:=EMA(C,10);EMA20:=EMA(C,20);EMA30:=EMA(C,30);EMA60:=EMA(C,60);M1:=1000*EMA10/EMA60<=1015AND1000*EMA10/EMA60>=975;M2:=1000*EMA20/EMA60<=1020AND1000*EMA20/EMA60>=980;M3:=1000*EMA30/EMA60<=1015AND1000*EMA30/EMA60>=985;M4:=M1ANDM2ANDM3ANDCROSS(V0,EMA10);M5:=M1ANDM2ANDM3ANDCROSS(V0,EMA30);T1:=1000*EMA10/EMA30<=1010AND1000*EMA10/EMA30>=990;T2:=1000*EMA20/EMA30<=1010AND1000*EMA20/EMA30>=990;T3:=T1ANDT2ANDCROSS(V0,EMA10);T4:=T1ANDT2ANDCROSS(V0,EMA30);M4ORM5ORT3ORT4;.短線之王VAR1:=(-100)*(HHV(HIGH,3)-CLOSE)/(HHV(HIGH,3)-LLV(LOW,3));CROSS(VAR1,-87)ANDOPEN<MA(CLOSE,5)ANDCLOSE>=1.099*REF(CLOSE,1)ANDINDEXC>0.98*REF(INDEXC,1)ANDCLOSE<=1.47*LLV(CLOSE,58);.槍挑小梁王W1:=C=HHV(C,20);W3:=IF(W2>0,REF(C,W2),REF(C,W2));W4:=CROSS(C,REF(W3,1));槍挑小梁王:W4ANDCOUNT(W4,5)=1;.短線之王VAR1:=(-100)*(HHV(HIGH,3)-CLOSE)/(HHV(HIGH,3)-LLV(LOW,3));CROSS(VAR1,-87)ANDOPEN<MA(CLOSE,5)ANDCLOSE>=1.099*REF(CLOSE,1)ANDINDEXC>0.98*REF(INDEXC,1)ANDCLOSE<=1.47*LLV(CLOSE,58);.財(cái)務(wù)突破選股{財(cái)務(wù)突破選股公式-創(chuàng)幻閑云孤鶴-通信達(dá)專用 }年認(rèn)同價(jià):=MA(C,240);價(jià)格中樞:=(SUM(年認(rèn)同價(jià),0)/(BARSSINCE(年認(rèn)同價(jià)>0)+239));箱頂尸價(jià)格中樞*1.2;箱底尸價(jià)格中樞*0.8;毛禾■閏率:=FINANCE(21)/FINANCE(20);成長價(jià)值k年認(rèn)同價(jià)*(1+毛利潤率);收益價(jià)值k年認(rèn)同價(jià)+FINANCE(33);回調(diào)認(rèn)同:=EMA(EXPMA(C,20),13);多頭:=(回調(diào)認(rèn)同>REF(回調(diào)認(rèn)同,1))AND(成長價(jià)值>REF(成長價(jià)值,1))AND(收益價(jià)值>REF(收益價(jià)值,1))AND(DYNAINFO(7)>0);回調(diào)條件:=COUNT(C<回調(diào)認(rèn)同,5)>=3;回調(diào)突破:=(REF(C,1)<=REF(回調(diào)認(rèn)同,1))AND(C>回調(diào)認(rèn)同)AND(回調(diào)條件)AND多頭;成長條件kCOUNT(C<成長價(jià)值,5)>=3;成長突破:=(REF(C,1)<=REF(成長價(jià)值,1))AND(C>成長價(jià)值)AND(成長條件)AND多頭;收益條件kCOUNT(C<收益價(jià)值,5)>=3;收益突破:=(REF(C,1)<=REF(收益價(jià)值,1))AND(C>收益價(jià)值)AND(收益條件)AND多頭;箱底條件kCOUNT(C<箱底,5)>=3;箱底突破:=(REF(C,1)<=REF(箱底,1))AND(C>箱底)AND(箱底條件)AND多頭;價(jià)格條件kCOUNT(C<價(jià)格中樞,5)>=3;價(jià)格突破:=(REF(C,1)<=REF(價(jià)格中樞,1))AND(C>價(jià)格中樞)AND(價(jià)格條件)AND多頭;箱頂條件kCOUNT(C<箱頂,5)>=3;箱頂突破:=(REF(C,1)<=REF(箱頂,1))AND(C>箱頂)AND(箱頂條件)AND多頭;突破買點(diǎn):(回調(diào)突破+成長突破+收益突破+箱底突破+價(jià)格突破+箱頂突破);.橫盤是銀VAR1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;VAR2:=SMA(VAR1,3,1);VAR3:=SMA(VAR2,3,1);VAR4:=EMA(CLOSE,12)-EMA(CLOSE,26);VAR5:=EMA(VAR4,9);VAR6:=2*(VAR4-VAR5);COUNT(CROSS(VAR2,VAR3),2)>=1ANDCOUNT(CROSS(VAR6,0),5)>=1ANDMA(CLOSE,5)>MA(CLOSE,10)ANDMA(CLOSE,10)>MA(CLOSE,20)ANDCLOSE>MA(CLOSE,5);{短線是銀”的使用說明:此組合選擇比較簡單,初學(xué)者易于掌握,短線有一定可操作性與準(zhǔn)確性。但只適合于 3天內(nèi)的短線炒作,不能確定長期趨勢(shì)。選股設(shè)置:2日內(nèi)KD金叉,5日內(nèi)MACD金叉,均線5日,10日,20日多頭排列,收盤價(jià)漲過 5日均線。};.黑馬起步選股1VAR5:=EMA(SMA((CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100))*100,8,1),3);選股:CROSS(VAR5,15)ORCROSS(VAR5,20)ORCROSS(VAR5,25);.起攀選股{起攀選股}VAR6:=(2*C+H+L)/4;VAR7:=LLV(L,27);VAR8:=HHV(H,27);攀登kEMA((VAR6-VAR7)/(VAR8-VAR7)*100,13)-50;金山kEMA(0.618*REF(攀登,1)+0.382*攀登,3);起攀:CROSS(攀登,金山)ANDC/REF(C,1)>1.02;{根據(jù)起攀圖指標(biāo)改編,這是精簡后的指標(biāo)};.中短波選股{中短波選股}HZ:=EMA(CLOSE,13);短波:=EMA(HZ,1);中波:=EMA(HZ,26);均線148天kEMA(C,148);成本kSUM(AMOUNT,0)/SUM(VOL,0)/100;HZ2:=EMA(HZ,8);CROSS(短波,HZ2);{結(jié)合中短波主圖使用};.黑馬搖籃之大{黑馬搖籃之大黑馬}SS1:=(LOW+HIGH+CLOSE*2)/4;SS2:=MA(SS1,4);SS3:=HHV(SS2,10);SS4:=MA(SS3,3);SS5:=1.25*SS4-0.25*SS3;XKKJ:=IF(SS5>SS3,SS3,SS5);FF1:=LLV(SS2,10);FF2:=MA(FF1,3);FF3:=1.25*FF2-0.25*FF1;DKKJ:=IF(FF3<FF1,FF1,FF3);MA13:=MA(C,13);ZDHM:=CROSS(C,DKKJ)ANDCROSS(C,MA13)ANDCROSS(C,XKKJ);ZHM:=CROSS(C,MA13)ANDCROSS(C,XKKJ);大黑馬:ZDHMORZHM;1111.黑馬搖籃之?。隈R搖籃之小黑馬}A:=(3*CLOSE+LOW+OPEN+HIGH)/6;D1:=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A,4)+15*REF(A,5)+14*REF(A,6)+13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF(A,10)+9*REF(A,11)+8*REF(A,12)+7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*REF(A,17)+2*REF(A,18)+REF(A,20))/211;D2:=EMA(D1,2);D3:=EMA(D2,2);K1:=EMA(D3,2);小黑馬:CROSS(D1,K1);.蓄勢(shì)待發(fā){蓄勢(shì)待發(fā)}V0:=EMA(C,5);EMA10:=EMA(C,10);EMA20:=EMA(C,20);EMA30:=EMA(C,30);EMA60:=EMA(C,60);M1:=1000*EMA10/EMA60<=1015AND1000*EMA10/EMA60>=975;M2:=1000*EMA20/EMA60<=1020AND1000*EMA20/EMA60>=980;M3:=1000*EMA30/EMA60<=1015AND1000*EMA30/EMA60>=985;M4:=M1ANDM2ANDM3ANDCROSS(V0,EMA10);M5:=M1ANDM2ANDM3ANDCROSS(V0,EMA30);T1:=1000*EMA10/EMA30<=1010AND1000*EMA10/EMA30>=990;T2:=1000*EMA20/EMA30<=1010AND1000*EMA20/EMA30>=990;T3:=T1ANDT2ANDCROSS(V0,EMA10);T4:=T1ANDT2ANDCROSS(V0,EMA30);M4ORM5ORT3ORT4;.四線粘合{四線粘合}V0:=EMA(C,5);V1:=EMA(C,10);V2:=EMA(C,15);V3:=EMA(C,30);V4:=EMA(C,60);M1:=1000*V1/V4<=1015AND1000*V1/V4>=975;M2:=1000*V2/V4<=1020AND1000*V2/V4>=980;M3:=1000*V3/V4<=1015AND1000*V3/V4>=985;M4:=M1ANDM2ANDM3ANDCROSS(V0,V1);M5:=M1ANDM2ANDM3ANDCROSS(V0,V3);M4ORM5;.拉升在即{拉升在即}ABVkMA(SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE<REF(CLOSE,1),-VOL,0)),0)/25000,2);M1:=EMA(ABV,12);M2:=EMA(ABV,26);MTM:=CLOSE-REF(CLOSE,1);MMS:=((100)*(EMA(EMA(M?,6),6)))/(EMA(EMA(ABS(MTM),6),6));MMM:=((100)*(EMA(EMA(MTM,12),12)))/(EMA(EMA(ABS(MTM),12),12));MML:=((100)*(EMA(EMA(M?,26),26)))/(EMA(EMA(ABS(M?),26),26));A:=((VOL)/(CAPITAL))*(100);S:=((MA(A,30))/(MA(INDEXA,10)))*(MA(INDEXA,60));Y:=((MA(A,120))/(MA(INDEXA,10)))*(MA(INDEXA,60));X:=1;拉升在即:S<XANDY<XANDMMS>MMLANDABV>M1ANDCROSS(S,Y);.HMYZ黑馬易找VAR1:=MA(CLOSE,5);VAR2:=MA(CLOSE,10);VAR3:=MA(CLOSE,30);VAR4:=MA(CLOSE,60);VAR5:=EMA(COST(85),7);VAR6:=EMA(COST(15),7);VAR7:=SUM(CLOSE*VOL*100,4)/SUM(VOL*100,4);VAR8:=INTPART(VAR7*100)/100;VAR9:=SUM(CLOSE*VOL*100,7)/SUM(VOL*100,7);VARA:=INTPART(VAR9*100)/100;VARB:=SUM(CLOSE*VOL*100,28)/SUM(VOL*100,28);VARC:=INTPART(VARB*100)/100;VARDkEMA(CLOSE,5)-EMA(CLOSE,10);VARE:=EMA(VARD,9);VARF:=(-100)*(HHV(CLOSE,5)-CLOSE)/(HHV(CLOSE,5)-LLV(LOW,5))+100;VAR10:=(-100)*(HHV(CLOSE,10)-CLOSE)/(HHV(CLOSE,10)-LLV(LOW,10))+100;VAR11:=(-100)*(HHV(CLOSE,20)-CLOSE)/(HHV(CLOSE,20)-LLV(LOW,20))+100;VAR12:=(-100)*(HHV(CLOSE,30)-CLOSE)/(HHV(CLOSE,30)-LLV(LOW,30))+100;VAR13:=REF(VARE,1);VAR14:=VARE;VAR15:=VAR14-VAR13;VAR16:=REF(VARD,1);VAR17:=VARD;VAR18:=VAR17-VAR16;VAR19:=OPEN;VAR1AkCLOSE;黑馬易找選股:VAR19<=VAR1ANDVAR19<=VAR2ANDVAR19<=VAR3ANDVAR1A>=VAR1ANDVAR1A>=VARCANDVAR15>0ANDVAR18>0;1616.黑馬起步選股2VAR5:=EMA(SMA((CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100))*100,8,1),3);選股:CROSS(VAR5,30)ORCROSS(VAR5,35)ORCROSS(VAR5,40);17.黑馬起步選股1VAR5:=EMA(SMA((CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100))*100,8,1),3);選股:CROSS(VAR5,15)ORCROSS(VAR5,20)ORCROSS(VAR5,25);二。主圖指標(biāo)三。三線買賣快線:EMA(EMA(EMA(EMA(CLOSE,2),2),2),2),LINETHICK2,COLOR0000FF;慢線:EMA(REF(快線,1),2),LINETHICK2,COLOR00FFFF;總趨勢(shì):EMA(EMA(EMA(EMA(EMA(CLOSE,55),2),2),2),2),LINETHICK2,COLORFF00FF;HIGHN:=10;LOWN:=10;HIGHDISPLAY:=0;LOWDISPLAY:=0;ZGDISPLAY:=0;MADISPLAY:=0;AA:=REF(H,HIGHN尸HHV(H,2*HIGHN+1);QY:=BACKSET(AA,HIGHN+1);CC:=FILTER(QY,HIGHN)ANDH=HHV(H,HIGHN+1);DRAWICON(CC,H*1.02,2);DDD:=BARSLAST(CC);GDTS:=IF(CC,CURRBARSCOUNT,0);DINGBU:=IF(DDD,REF(H,DDD),H);{頂部}DINGBUTS:=IF(DDD,REF(GDTS,DDD),GDTS);DINGBU1:=REF(DINGBU,DDD+1);GDCS1:=CONST(DINGBUTS);DINGBUTS1:=REF(DINGBUTS,DDD+1);GDCS2:=CONST(DINGBUTS1);DINGBU2:=REF(DINGBU1,DDD+1);MM:=IF(CURRBARSCOUNT>GDCS2,0,1);高點(diǎn)壓力:DRAWLINE(CURRBARSCOUNT=GDCS2,H,CURRBARSCOUNT=GDCS1,H,1)COLORGREEN,LINETHICK2;DRAWLINE(CURRBARSCOUNT=GDCS2,H,ISLASTBAR,REF(H,GDCS2-1),1),COLOR0055FF,POINTDOT;DRAWLINE(CURRBARSCOUNT=GDCS1,H,ISLASTBAR,REF(H,GDCS1-1),1),COLORYELLOW,POINTDOT;AA1:=REF(L,LOWN尸LLV(L,2*LOWN+1);QY1:=BACKSET(AA1,LOWN+1);CC1:=FILTER(QY1,LOWN)ANDL=LLV(L,LOWN+1);DRAWICON(CC1,L*0.98,1);DD1:=BARSLAST(CC1);DDTS:=IF(CC1,CURRBARSCOUNT,0);YDB:=IF(DD1,REF(L,DD1),L);DDTS1:=IF(DD1,REF(DDTS,DD1),DDTS);DDCS1:=CONST(DDTS1);ZDBkREF(YDB,DD1+1);DDTS2:=REF(DDTS1,DD1+1);DDCS2:=CONST(DDTS2);彳氐點(diǎn)支撐:DRAWLINE(CURRBARSCOUNT=DDCS2,L,CURRBARSCOUNT=DDCS1,L,1)COLORRED,LINETHICK2;ZGSTAR:=(高點(diǎn)壓力+低點(diǎn)支撐)/2;ZGENDkCONST((高點(diǎn)壓力+低點(diǎn)支撐)/2);STARDAY:=IF(DDCS2<GDCS2,DDCS2,GDCS2);中軌:DRAWLINE(CURRBARSCOUNT=STARDAY,ZGSTAR,ISLASTBAR,ZGEND,1),COLORFF55BB,LINETHICK2;DRAWLINE(CURRBARSCOUNT=DDCS1,L,ISLASTBAR,REF(L,DDCS1-1),1),COLORMAGENTA,POINTDOT,;DRAWLINE(CURRBARSCOUNT=DDCS2,L,ISLASTBAR,REF(L,DDCS2-1),1),COLORCYAN,POINTDOT;四。3線粘合MA3:EMA(C,3),linethick2;MA5:EMA(C,5),linethick2;MA7:EMA(C,7),linethick2;MA14:EMA(C,14),linethick1,STICK;MA114:EMA(C,14),linethick2;DRAWICON(cross(MA3,MA7),L*0.985,1);五.三線乾坤快線:EMA(EMA(EMA(EMA(CLOSE,2),2),2),2),LINETHICK2,COLOR0000FF;慢線:EMA(REF(快線,1),2),LINETHICK2,COLOR00FFFF;總趨勢(shì):EMA(EMA(EMA(EMA(EMA(CLOSE,55),2),2),2),2),LINETHICK2,COLORFF00FF;A1:=REF(H,8)=HHV(H,2*8+1);B1:=FILTER(A1,8);C1:=BACKSET(B1,8+1);D1:=FILTER(C1,8);{高點(diǎn)}R11:=BACKSET(ISLASTBAR,BARSLAST(D1)+1);S11:=R11>REF(R11,1);DRAWLINE(D1,H,S11,H,1),COLORBLUE;A2:=REF(L,8)=LLV(L,2*8+1);B2:=FILTER(A2,8);C2:=BACKSET(B2,8+1);D2:=FILTER(C2,8);{低點(diǎn)}T11:=BACKSET(ISLASTBAR,BARSLAST(D2)+1);U11:=T11>REF(T11,1);DRAWLINE(D2,L,U11,L,1),COLORBLUE;M:=INTPART(3*8/5);A12:=REF(H,M尸HHV(H,2*M+1);B12:=FILTER(A12,M);C12:=BACKSET(B12,M+1);D12:=FILTER(C12,M);{高點(diǎn)}R112:=BACKSET(ISLASTBAR,BARSLAST(D12)+1);S112:=R112>REF(R112,1);DRAWLINE(D12,H,S112,H,1),COLORRED;A22:=REF(L,M尸LLV(L,2*M+1);B22:=FILTER(A22,M);C22:=BACKSET(B22,M+1);D22:=FILTER(C22Mx低點(diǎn)}T112:=BACKSET(ISLASTBAR,BARSLAST(D22)+1);U112:=T112>REF(T112,1);DRAWLINE(D22,L,U112,L,1),COLORRED;VAR1111:=BACKSET(REF(HIGH,2)=HHV(HIGH,5),3);VAR2222:=CROSS(VAR1111,0.9);VAR3333:=BACKSET(REF(LOW,2)=LLV(LOW,5),3);VAR4444:=CROSS(VAR3333,0.9);壓力:=REF(HIGH,BARSLAST(VAR2222));STICKLINE(CLOSE,REF(HIGH,BARSLAST(VAR2222)),REF(HIGH,BARSLAST(VAR2222)),0.5,1),COLOREA91B5,LINETHICK3;支撐:=REF(LOW,BARSLAST(VAR4444));STICKLINE(CLOSE,REF(LOW,BARSLAST(VAR4444)),REF(LOW,BARSLAST(VAR4444)),0.5,1),COLOR00B4FF,LINETHICK3;下檔線:=(((CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13)))*100);RRRSVkSMA(下檔線,3,1);KKKkSMA(RRRSV,3,1);DDD:=((3*RRRSV)-(2*KKK));JJ12:=(((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55)))*100);RSV24:=SMA(JJ12,3,1);K24:=SMA(RSV24,3,1);D24:=((3*RSV24)-(2*K24));壓力2:=IF(CROSS(D24,DDD),HIGH,REF(HIGH,BARSLAST(CROSS(D24,DDD)))),COLORFFFFFF;底部kLLV(HIGH,30),COLOR00FF00;DRAWICON(L<=支撐ANDH>支撐,L,0);DRAWICON(H>=壓力ANDL<壓力,H,0);DRAWICON(CROSS(快線,慢線),L*0.95,5);DRAWICON(CROSS(慢線,快線),H*1.05,6);三。副圖指標(biāo)1。黃金坑DIFFkEMA(CLOSE,SHORT)-EMA(CLOSE,LONG);DEAkEMA(DIFF,M);MACD2:=2*(DIFF-DEA);(CLOSE<0ANDCROSS(DIFF,0),H*1.3),COLOR000080,NODRAW;(CLOSE<0ANDCROSS(MACD2,0),H*1.3),COLOR000080,NODRAW;(CLOSE<0ANDCROSS(0,DIFF),H*1.3),COLOR808080,NODRAW;(CLOSE<0ANDCROSS(0,MACD2),H*1.3),COLOR808080,NODRAW;DU0:=CROSS(DIFF,0);UD0:=CROSS(0,DIFF);TDU0:=BARSLAST(DU0);TUD0:=BARSLAST(UD0);DU3:=REF(DU0,1);UD3:=REF(UD0,1);TDU3:=BARSLAST(DU3);TUD3:=BARSLAST(UD3);UDGLINE:=IF(TDU3<TUD3,REF(HHV(HIGH,2),TDU3),REF(LLV(LOW,2),TUD3));JDU0:=REF(CLOSE,1)<=REF(UDGLINE,1)ANDCLOSE>UDGLINEANDTDU0<TUD0;JUD0:=REF(CLOSE,1)>=REF(UDGLINE,1)ANDCLOSE<UDGLINEANDTUD0<TDU0;JDU1:=JDU0ANDCOUNT(JDU0,TDU0)=1;JUD1:=JUD0ANDCOUNT(JUD0,TUD0)=1;JDU2:=JDU1ANDREF(BARSLAST(JUD1),1)<REF(BARSLAST(JDU1),1);JUD2:=JUD1ANDREF(BARSLAST(JUD1),1)>REF(BARSLAST(JDU1),1);JDU3:=JDU1ANDREF(BARSLAST(JUD1),1)>REF(BARSLAST(JDU1),1);JUD3:=JUD1ANDREF(BARSLAST(JUD1),1)<REF(BARSLAST(JDU1),1);BSLINE:=IF(BARSLAST(JDU2)<BARSLAST(JUD2),IF(REF(CROSS(0,MACD2),1),LLV(LOW,2),REF(LLV(LOW,2),BARSLAST(REF(CROSS(0,MACD2),1)))),IF(REF(CROSS(MACD2,0),1),HHV(HIGH,2),REF(HHV(HIGH,2),BARSLAST(REF(CROSS(MACD2,0),1)))));STICKLINE(MACD2>=0,0,MACD221),COLOR0000FF;STICKLINE(MACD2>=0ANDMACD2<REF(MACD2,1),0,MACD220),COLOR0000FF;STICKLINE(MACD2<0,0,MACD220),COLORFFFF00;STICKLINE(MACD2<0ANDMACD2>REF(MACD2,1),0,MACD2,2,1),COLORFFFF00;DIF:DIFF,LINETHICK2,COLOR0000FF;MACD:DEA,COLORFF0000;DEF:MACD2,LINETHICK0,COLORFFFF00;STICKLINE(CLOSE>0,0,020),COLOR808080;DEFUT:=BARSLAST(CROSS(MACD2,0));DEFDT:=BARSLAST(CROSS(0,MACD2));DEFUL:=IF(MACD2>=0,HHV(MACD2,DEFUT+1),REF(HHV(MACD2,DEFUT+1),DEFDT+1));DEFDL:=IF(MACD2<0,LLV(MACD2,DEFDT+1),REF(LLV(MACD2,DEFDT+1),DEFUT+1));DEFU2L:=REF(DEFUL,DEFUT+1);DEFD2L:=REF(DEFDL,DEFDT+1);DRAWICON(LLV(MACD2,4)>0ANDMACD2<REF(MACD2,1)ANDREF(MACD2,1)>REF(MACD2,2)ANDREF(MACD2,2)>REF(MACD2,3),MACD2,2);DRAWICON(HHV(MACD2,4)<0ANDMACD2>REF(MACD2,1)ANDREF(MACD2,1)<REF(MACD2,2)ANDREF(MACD2,2)<REF(MACD2,3),MACD2,1);DRAWICON((JUD1ORBARSLAST(JDU1)>BARSLAST(JUD1))ANDMACD2>=0ANDREF(MACD2,1)<REF(DEFU2L,1)ANDMACD2>DEFU2L,MACD2,5);DRAWICON((JDU1ORBARSLAST(JDU1)<BARSLAST(JUD1))ANDMACD2<0ANDREF(MACD2,1)>REF(DEFD2L,1)ANDMACD2<DEFD2L,MACD2,3);VAR111:=JDU1ORBARSLAST(JDU1)<BARSLAST(JUD1);VAR112:=HHV(MACD2,4)<0ANDMACD2>REF(MACD2,1)ANDREF(MACD2,1)<REF(MACD2,2)ANDREF(MACD2,2)<REF(MACD2,3);.資金流向DIFFkEMA(CLOSE,SHORT)-EMA(CLOSE,LONG);DEAkEMA(DIFF,M);MACD2:=2*(DIFF-DEA);(CLOSE<0ANDCROSS(DIFF,0),H*1.3),COLOR000080,NODRAW;(CLOSE<0ANDCROSS(MACD2,0),H*1.3),COLOR000080,NODRAW;(CLOSE<0ANDCROSS(0,DIFF),H*1.3),COLOR808080,NODRAW;(CLOSE<0ANDCROSS(0,MACD2),H*1.3),COLOR808080,NODRAW;DU0:=CROSS(DIFF,0);UD0:=CROSS(0,DIFF);TDU0:=BARSLAST(DU0);TUD0:=BARSLAST(UD0);DU3:=REF(DU0,1);UD3:=REF(UD0,1);TDU3:=BARSLAST(DU3);TUD3:=BARSLAST(UD3);UDGLINE:=IF(TDU3<TUD3,REF(HHV(HIGH,2),TDU3),REF(LLV(LOW,2),TUD3));JDU0:=REF(CLOSE,1)<=REF(UDGLINE,1)ANDCLOSE>UDGLINEANDTDU0<TUD0;JUD0:=REF(CLOSE,1)>=REF(UDGLINE,1)ANDCLOSE<UDGLINEANDTUD0<TDU0;JDU1:=JDU0ANDCOUNT(JDU0,TDU0)=1;JUD1:=JUD0ANDCOUNT(JUD0,TUD0)=1;JDU2:=JDU1ANDREF(BARSLAST(JUD1),1)<REF(BARSLAST(JDU1),1);JUD2:=JUD1ANDREF(BARSLAST(JUD1),1)>REF(BARSLAST(JDU1),1);JDU3:=JDU1ANDREF(BARSLAST(JUD1),1)>REF(BARSLAST(JDU1),1);JUD3:=JUD1ANDREF(BARSLAST(JUD1),1)<REF(BARSLAST(JDU1),1);BSLINE:=IF(BARSLAST(JDU2)<BARSLAST(JUD2),IF(REF(CROSS(0,MACD2),1),LLV(LOW,2),REF(LLV(LOW,2),BARSLAST(REF(CROSS(0,MACD2),1)))),IF(REF(CROSS(MACD2,0),1),HHV(HIGH,2),REF(HHV(HIGH,2),BARSLAST(REF(CROSS(MACD2,0),1)))));STICKLINE(MACD2>=0,0,MACD221),COLOR0000FF;STICKLINE(MACD2>=0ANDMACD2<REF(MACD2,1),0,MACD2,2,0),COLOR0000FF;STICKLINE(MACD2<0,0,MACD220),COLORFFFF00;STICKLINE(MACD2<0ANDMACD2>REF(MACD2,1),0,MACD2,2,1),COLORFFFF00;DIF:DIFF,LINETHICK2,COLOR0000FF;MACD:DEA,COLORFF0000;DEF:MACD2,LINETHICK0,COLORFFFF00;STICKLINE(CLOSE>0,0,020),COLOR808080;DEFUT:=BARSLAST(CROSS(MACD2,0));DEFDT:=BARSLAST(CROSS(0,MACD2));DEFUL:=IF(MACD2>=0,HHV(MACD2,DEFUT+1),REF(HHV(MACD2,DEFUT+1),DEFDT+1));DEFDL:=IF(MACD2<0,LLV(MACD2,DEFDT+1),REF(LLV(MACD2,DEFDT+1),DEFUT+1));DEFU2L:=REF(DEFUL,DEFUT+1);DEFD2L:=REF(DEFDL,DEFDT+1);DRAWICON(LLV(MACD2,4)>0ANDMACD2<REF(MACD2,1)ANDREF(MACD2,1)>REF(MACD2,2)ANDREF(MACD2,2)>REF(MACD2,3),MACD2,2);DRAWICON(HHV(MACD2,4)<0ANDMACD2>REF(MACD2,1)ANDREF(MACD2,1)<REF(MACD2,2)ANDREF(MACD2,2)<REF(MACD2,3),MACD2,1);DRAWICON((JUD1ORBARSLAST(JDU1)>BARSLAST(JUD1))ANDMACD2>=0ANDREF(MACD2,1)<REF(DEFU2L,1)ANDMACD2>DEFU2L,MACD2,5);DRAWICON((JDU1ORBARSLAST(JDU1)<BARSLAST(JUD1))ANDMACD2<0ANDREF(MACD2,1)>REF(DEFD2L,1)ANDMACD2<DEFD2L,MACD2,3);VAR111:=JDU1ORBARSLAST(JDU1)<BARSLAST(JUD1);VAR112:=HHV(MACD2,4)<0ANDMACD2>REF(MACD2,1)ANDREF(MACD2,1)<REF(MACD2,2)ANDREF(MACD2,2)<REF(MACD2,3);.變色MACDDIFIF1:=EMA(CLOSE,12)-EMA(CLOSE,26);DEAEA1:=EMA(DIFIF1,9);MACD1:=2*(DIFIF1-DEAEA1),STICK;MACD2:=EMA(MACD1,3);STICKLINE(MACD1>MACD2ANDMACD1>0,0,MACD1,1,0),COLORRED;STICKLINE(MACD1>MACD2ANDMACD1<0,0,MACD1,1,0),COLORGREEN;STICKLINE(MACD1<MACD2,0,MACD1,1,0),COLORCBCBC0;STICKLINE(MACD1>=0ORMACD1<=0,0,0,50,1),COLORWHITE;DI

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(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)論