版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡(jiǎn)介
1、以下公式適合通達(dá)信股票軟件。選出股票后能否買入依然還要綜合參考大趨勢(shì)和其它指標(biāo)。金叉并非萬能,有時(shí)剛剛進(jìn)入金叉或準(zhǔn)金叉狀態(tài),也可能是上一波反彈的結(jié)束,下一波下跌的開始。只有當(dāng)金叉周期的前后周期均為上漲趨勢(shì),金叉的威力才最大。業(yè)績(jī)的持續(xù)增長(zhǎng)才是技術(shù)指標(biāo)的前提和保證。1、0軸上方第一次金叉選股公式:DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);DEA := EMA(DIFF,9);MACD := 2*(DIFF-DEA);xg:cross(diff,dea) and dea>-1.0 and dea<0.5 and CLOSE>ref(CLOS
2、E,1) and CLOSE>=ma(c,60);或:DIF:=EMA(CLOSE,12)-EMA(CLOSE,26); DEA:=EMA(DIF,9); XG:DIF>0 AND DEA>0 AND CROSS(DIF,DEA);2、0軸上方二次金叉的選股公式:JC:IF(SUM(IF(MACD>0 AND CROSS(MACD.DIF,MACD.DEA),1,0),0)-HHV(IF(IF(CROSS(MACD.DEA,0),1,0),SUM(IF(MACD>0 AND CROSS(MACD.DIF,MACD.DEA),1,0),0),0)
3、,0)=2 AND SUM(IF(MACD>0 AND CROSS(MACD.DIF,MACD.DEA),1,0),0)>REF(SUM(IF(MACD>0 AND CROSS(MACD.DIF,MACD.DEA),1,0),0),1),10,0);選股設(shè)JC=10即可3.0軸下方一次金叉的選股公式:DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIFF,9);MACD:=(DIFF-DEA)*2;低位金叉:CROSS(DIFF,DEA) AND DIFF<-0.1;4、0軸下方二次金叉且第二次金叉高于第一次金叉:DIF:=EMA
4、(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIF,9);AA:=BARSLAST(REF(CROSS(DIF,DEA),1);二次金叉:CROSS(DIF,DEA) AND DIF>REF(DIF,AA+1) AND AA<20 AND DIF<0;5、0軸下方二次金叉選股公式:DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26); 選股設(shè)JC=10即可DEA:=EMA(DIFF,9);MACD:=2*(DIFF-DEA);A:=IF(CROSS(0,DEA),1,0);A1:=IF(DIFF<0 AND CROSS(DIFF
5、,DEA),1,0);SS:=IF(A,SUM(A1,0),0);SSB:=HHV(SS,0);SSS:=SUM(A1,0);JC:IF(SSS-SSB=2 AND SSS>REF(SSS,1),10,0); 6、縮量橫盤突破選股:WH01:=(HHV(C,10)-LLV(C,10)/LLV(C,10)*100<=10;WH02:=SUM(VOL,10)/CAPITAL*100<45;WH03:=REF(WH01,1);WH04:=HHVBARS(HIGH,55)>20 OR C=HHV(H,55);WH05:=WH02 AND WH03 AND WH04 A
6、ND C>REF(HHV(H,10),1);WH05 AND REF(NOT(WH05),1);7、均線、KDJ、MACD金叉的預(yù)警選股公式完全符合以下條件:1、5日線上穿10日線2、MACD金叉3、KDJ金叉(KDJ數(shù)值由9、3、3調(diào)整為8、2、2)4、成交量指標(biāo)金叉通達(dá)信預(yù)警選股公式A1:=CROSS(MA(C,5),MA(C,10);A2:=CROSS(MACD.DIF,MACD.DEA);A3:=CROSS(KDJ.K(8,2,2),KDJ.D(8,2,2);A4:=CROSS(MA(V,5),MA(V,10);XG:A1 AND A2 AND A3 AND 4;三金叉選股完整源
7、碼,絕無未來函數(shù)均線、成交量、MACD同時(shí)金叉MA1:=MA(CLOSE,5);MA2:=MA(CLOSE,10);AA:=CROSS(MA1,MA2);AAA:=COUNT(AA,3)>=1;T1:=MA(VOL,5);T2:=MA(VOL,10);BB:=CROSS(T1,T2);BBB:=COUNT(BB,3)>=1;DIF:=EMA(CLOSE,12) - EMA(CLOSE,26);DEA:=EMA(DIF,9);MACD:=(DIF-DEA)*2;CC:=CROSS(DIF,DEA);CCC:=COUNT(CC,3)>=1;三金:=AAA AND BBB AND
8、CCC;三金叉:FILTER(三金,3),COLORFF00FF;使用說明:該選股公式適合超級(jí)短線,快進(jìn)快出具有一定的風(fēng)險(xiǎn)因素,此時(shí)的股價(jià)往往處于拉高拔升階段。要求使用者特別關(guān)注股價(jià)所處的位置,如果過于高位防止莊家誘多。低位可大膽搏殺,短期回檔被套也有回旋余地。8、四線粘合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.5 AND V>MA(V,5);MAX(MA1,MAX(MA2,MA3)/MIN(MA1,MIN(MA2,MA3)<1+0.01*MAND
9、C>O AND V> REF(V,1) AND FINANCE(7)<=300000000AND A3 AND CAPITAL<=300000000;9、均線粘合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:=(K
10、1/K2-1)<0.005;A3:=V>REF(V,1)*1.5 AND V>MA(V,5);XG:A AND A1 AND A2 AND A3 ;10、多線粘合V0:=EMA(C,5);V1:=EMA(C,10);V2:=EMA(C,15);V3:=EMA(C,30);V4:=EMA(C,60);M1:=1000*V1/V4<=1015 AND 1000*V1/V4>=975;M2:=1000*V2/V4<=1020 AND 1000*V2/V4>=980;M3:=1000*V3/V4<=1015 AND 1000*V3/V4>=985;
11、M4:=M1 AND M2 AND M3 AND CROSS(V0,V1);M5:=M1 AND M2 AND M3 AND CROSS(V0,V3);M4 OR M5;11、MACD天天掙錢選股指標(biāo)公式DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIFF,9);XG:CROSS(REF(DEA,1),REF(DIFF,1) AND CROSS(DIFF,DEA);12、短線之王VAR1:=(-100)*(HHV(HIGH,3)-CLOSE)/(HHV(HIGH,3)-LLV(LOW,3);CROSS(VAR1,-87) AND OPEN<MA(
12、CLOSE,5) AND CLOSE>=1.099*REF(CLOSE,1) AND INDEXC>0.98*REF(INDEXC,1) AND CLOSE<=1.47*LLV(CLOSE,58);13、自用短線MACD 副圖DIF:EMA(CLOSE,3)-EMA(CLOSE,7);DEA:EMA(DIF,3);MACD:(DIF),COLORSTICK;DIF,COLORGREEN,LINETHICK2;DEA,COLORGREEN,LINETHICK2;線上金叉買:0,COLORGREEN,LINETHICK2;IF(DIF>DEA,DIF,DRAWNULL),C
13、OLORRED,LINETHICK2;IF(DEA>REF(DEA,1),DEA,DRAWNULL),COLORMAGENTA,LINETHICK2;DRAWICON(CROSS(DIF,DEA),DEA,25);DRAWICON(CROSS(DEA,DIF),DEA,24);14 、MACD底位反轉(zhuǎn)點(diǎn)DIF:EMA(CLOSE,12)-EMA(CLOSE,135);DEA:=EMA(DIF,9);MACD:=(DIF-DEA)*2;反轉(zhuǎn):MACD<0 AND MACD>REF(MACD ,1) AND REF(MACD ,1)<REF(MACD ,2)AND REF(
14、MACD ,2)<REF(MACD ,3)AND REF(MACD ,3)<REF(MACD ,4);15.冠軍MACD資金流向DIFF:=EMA(CLOSE,3)-EMA(CLOSE,7);DEA:=EMA(DIFF,3);MACD2:=2*(DIFF-DEA);(CLOSE<0 AND CROSS(DIFF,0),H*1.3),COLOR000080,NODRAW;(CLOSE<0 AND CROSS(MACD2,0),H*1.3),COLOR000080,NODRAW;(CLOSE<0 AND CROSS(0,DIFF),H*1.3),COLOR808080
15、,NODRAW;(CLOSE<0 AND CROSS(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
16、)<=REF(UDGLINE,1) AND CLOSE>UDGLINE AND TDU0<TUD0;JUD0:=REF(CLOSE,1)>=REF(UDGLINE,1) AND CLOSE<UDGLINE AND TUD0<TDU0;JDU1:=JDU0 AND COUNT(JDU0,TDU0)=1;JUD1:=JUD0 AND COUNT(JUD0,TUD0)=1;JDU2:=JDU1 AND REF(BARSLAST(JUD1),1)<REF(BARSLAST(JDU1),1);JUD2:=JUD1 AND REF(BARSLAST(JUD1),1
17、)>REF(BARSLAST(JDU1),1);JDU3:=JDU1 AND REF(BARSLAST(JUD1),1)>REF(BARSLAST(JDU1),1);JUD3:=JUD1 AND REF(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
18、),HHV(HIGH,2),REF(HHV(HIGH,2),BARSLAST(REF(CROSS(MACD2,0),1);STICKLINE(MACD2>=0,0,MACD2,2,1),COLOR0000FF;STICKLINE(MACD2>=0 AND MACD2<REF(MACD2,1),0,MACD2,2,0),COLOR0000FF;STICKLINE(MACD2<0,0,MACD2,2,0),COLORFFFF00;STICKLINE(MACD2<0 AND MACD2>REF(MACD2,1),0,MACD2,2,1),COLORFFFF00;D
19、IFIFF,LINETHICK2,COLOR0000FF;MACDEA,COLORFF0000;DEF:MACD2,LINETHICK0,COLORFFFF00;STICKLINE(CLOSE>0,0,0,2,0),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),RE
20、F(LLV(MACD2,DEFDT+1),DEFUT+1);DEFU2L:=REF(DEFUL,DEFUT+1);DEFD2L:=REF(DEFDL,DEFDT+1);DRAWICON(LLV(MACD2,4)>0 AND MACD2<REF(MACD2,1) AND REF(MACD2,1)>REF(MACD2,2) AND REF(MACD2,2)>REF(MACD2,3),MACD2,2);DRAWICON(HHV(MACD2,4)<0 AND MACD2>REF(MACD2,1) AND REF(MACD2,1)<REF(MACD2,2) AN
21、D REF(MACD2,2)<REF(MACD2,3),MACD2,1);DRAWICON(JUD1 OR BARSLAST(JDU1)>BARSLAST(JUD1) AND MACD2>=0 AND REF(MACD2,1)<REF(DEFU2L,1) AND MACD2>DEFU2L,MACD2,5);DRAWICON(JDU1 OR BARSLAST(JDU1)<BARSLAST(JUD1) AND MACD2<0 AND REF(MACD2,1)>REF(DEFD2L,1) AND MACD2<DEFD2L,MACD2,3);VAR
22、111:=JDU1 OR BARSLAST(JDU1)<BARSLAST(JUD1);VAR112:=HHV(MACD2,4)<0 AND MACD2>REF(MACD2,1) AND REF(MACD2,1)<REF(MACD2,2) AND REF(MACD2,2)<REF(MACD2,3);16、變色MACDDIFIF1:=EMA(CLOSE,12) - EMA(CLOSE,26);DEAEA1:=EMA(DIFIF1,9);MACD1:=2*(DIFIF1-DEAEA1),STICK;MACD2:=EMA(MACD1,3);STICKLINE(MACD1&
23、gt;MACD2 AND MACD1>0,0,MACD1,1,0),COLORRED;STICKLINE(MACD1>MACD2 AND MACD1<0,0,MACD1,1,0),COLORGREEN;STICKLINE(MACD1<MACD2,0,MACD1,1,0),COLORCBCBC0;STICKLINE(MACD1>=0 OR MACD1<=0,0,0,50,1),COLORWHITE;DIFIF1,COLOR33FF33,LINETHICK2;DEAEA1,COLORYELLOW,LINETHICK2;MACD:MACD1,NODRAW,COLO
24、RMAGENTA;強(qiáng):IF(DIFIF1>=DEAEA1,DIFIF1,DRAWNULL),COLORRED,LINETHICK2;弱:IF(DEAEA1>=DIFIF1,DEAEA1,DRAWNULL),COLORFF9900,LINETHICK2;DRAWICON(CROSS(DIFIF1,DEAEA1),DIFIF1+0.1,1);DRAWICON(CROSS(DEAEA1,DIFIF1),-0.5,2);DRAWTEXT(CROSS(DIFIF1,DEAEA1),DIFIF1,''),LINETHICK2, COLORYELLOW;17、至尊MACD注意用到
25、了未來函數(shù)DCLOSE本指標(biāo)只作趨勢(shì)參考DIFF:EMA(DCLOSE,12)-EMA(DCLOSE,26);DEA:EMA(DIFF,9),COLORFFFF00;MACD:(DIFF-DEA)*2;STICKLINE(MACD>=0 AND MACD>=REF(MACD,1),0,MACD,1,0),COLORRED;STICKLINE(MACD>=0 AND MACD<=REF(MACD,1),0,MACD,1,0),COLORGREEN;STICKLINE(MACD<=0 AND MACD>=REF(MACD,1),0,MACD,1,0),COLOR
26、FF00FF;STICKLINE(MACD<=0 AND MACD<=REF(MACD,1),0,MACD,1,0),COLOR00FFFF;多轉(zhuǎn)空:=(LLV(MACD,4)>0) AND (MACD<REF(MACD,1) AND (REF(MACD,1)>REF(MACD,2) AND (REF(MACD,2)>REF(MACD,3);空轉(zhuǎn)多:=(HHV(MACD,4)<0) AND (MACD>REF(MACD,1) AND (REF(MACD,1)<REF(MACD,2) AND (REF(MACD,2)<REF(MACD,
27、3);DRAWICON(多轉(zhuǎn)空,MACD,2);DRAWICON(空轉(zhuǎn)多,MACD,1);低位金叉:=CROSS(DIFF,DEA) AND DIFF<-0.1;DRAWTEXT(低位金叉,DEA,' 低位金叉'),COLORFF00FF;JCCOUNT:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA>=0);二次金叉:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(JCCOUNT=2,21)=1;STICKLINE(二次金叉,0,0.2,2,0),COLORFF00FF;DRAWTEXT(二次金叉,DEA*1
28、.06,'二次金叉'),COLORRED;A1:=BARSLAST(REF(CROSS(DIFF,DEA),1);底背離:=REF(CLOSE,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1) AND CROSS(DIFF,DEA);DRAWTEXT(底背離,-0.2-MACD,'底背離'),COLORWHITE;A2:=BARSLAST(REF(CROSS(DEA,DIFF),1);頂背離:=REF(CLOSE,A2+1)<CLOSE AND REF(DIFF,A2+1)>DIFF AND CROSS(DEA,DI
29、FF);DRAWTEXT(頂背離,0.2+MACD,'頂背離'),COLORWHITE;18、條件選股公式:(雙佛手向上) 缺省周期:日線=DIFF := EMA(CLOSE,12) - EMA(CLOSE,26);DEA := EMA(DIFF,27);MACD := 2*(DIFF-DEA);CLOSE>OPEN AND MA(CLOSE,5)>MA(CLOSE,10) and MA(CLOSE,10)>MA(CLOSE,30)and DIFF>DEA AND MACD>REF(MACD,1) and DIFF>0 AND DEA>0 and MA(VOL,5)>MA(VOL,34)and MA(CLOSE,30)>=REF(MA(CLOSE,30),1)=根據(jù)南征北戰(zhàn)之二中的雙佛手向上思路編寫,指標(biāo)用法:1
溫馨提示
- 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. 人人文庫(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ì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 2024年光纖熔接項(xiàng)目定制協(xié)議
- 2024年企業(yè)員工派遣服務(wù)協(xié)議
- 2024南京住宅二手交易協(xié)議范本
- 2024年第三方商鋪?zhàn)赓U協(xié)議
- 商鋪?zhàn)赓U協(xié)議書2024年
- 2024年協(xié)議管理流程及崗位職責(zé)
- 2024年擔(dān)保公司貸款協(xié)議格式
- 2024水利設(shè)施堤壩施工合作協(xié)議
- 2024年酒店管理承包協(xié)議格式
- 2024年二手物資買賣協(xié)議模板
- 廉潔風(fēng)險(xiǎn)點(diǎn)及控制措施
- 2024年廣西來賓產(chǎn)業(yè)投資集團(tuán)有限公司招聘筆試參考題庫(kù)含答案解析
- 項(xiàng)目管理甘特圖課件
- 2024年甘肅省普通高中信息技術(shù)會(huì)考試題(含24套)
- 我國(guó)的武裝力量課件
- 液化石油氣瓶安全使用告知書范文
- 供應(yīng)室護(hù)理責(zé)任組長(zhǎng)競(jìng)聘
- 高中數(shù)學(xué)教師的專業(yè)發(fā)展路徑
- LTC與鐵三角從線索到回款
- 《旅游市場(chǎng)營(yíng)銷》課程教學(xué)設(shè)計(jì)
- 工程流體力學(xué)課后習(xí)題答案-(杜廣生)
評(píng)論
0/150
提交評(píng)論