鷹眼彩帶(漲幅、看跌、賣出)的指標(biāo)公式源碼(共9頁(yè)).doc_第1頁(yè)
鷹眼彩帶(漲幅、看跌、賣出)的指標(biāo)公式源碼(共9頁(yè)).doc_第2頁(yè)
鷹眼彩帶(漲幅、看跌、賣出)的指標(biāo)公式源碼(共9頁(yè)).doc_第3頁(yè)
鷹眼彩帶(漲幅、看跌、賣出)的指標(biāo)公式源碼(共9頁(yè)).doc_第4頁(yè)
鷹眼彩帶(漲幅、看跌、賣出)的指標(biāo)公式源碼(共9頁(yè)).doc_第5頁(yè)
已閱讀5頁(yè),還剩3頁(yè)未讀, 繼續(xù)免費(fèi)閱讀

下載本文檔

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

文檔簡(jiǎn)介

1、【大智慧】鷹眼彩帶(漲幅、看跌、賣出)-指標(biāo)公式源碼DRAWGBKLAST(CLOSE>0,STRIP(RGB(95,95,95),RGB(0,0,0),0);DRAWTEXTABS(5,08,BKNAME+' '),COLORCYAN;牛熊線: EMA(CLOSE,30),CIRCLEDOT;M1:EMA(C,3),COLOR00ff00,LINETHICK2;M2:EMA(M1,2),COLOR00ff00;M3:EMA(M2,2),COLOR00ff00;M4:EMA(M3,2),COLOR00ff00;M5:EMA(M4,2),COLOR00ff00;M6:EMA

2、(M5,2),COLOR00ff00;PARTLINE(M1,M1>M2),COLOR00ffff,LINETHICK1;PARTLINE(M2,M2<M1),COLOR0022ff,LINETHICK1;PARTLINE(M3,M3<M1),COLOR0022ff,LINETHICK1;PARTLINE(M4,M4<M1),COLOR0022ff,LINETHICK1;PARTLINE(M5,M5<M1),COLOR0022ff,LINETHICK1;PARTLINE(M6,M6<M1),COLOR00ffff,LINETHICK1;三日漲幅:=(CLOS

3、E-ref(CLOSE,3)/ref(CLOSE,3)*100;五日漲幅:=(CLOSE-ref(CLOSE,5)/ref(CLOSE,5)*100;七日漲幅:=(CLOSE-ref(CLOSE,7)/ref(CLOSE,7)*100;十日漲幅:=(CLOSE-ref(CLOSE,10)/ref(CLOSE,10)*100;十三日漲幅:=(CLOSE-ref(CLOSE,13)/ref(CLOSE,13)*100;十五日漲幅:=(CLOSE-ref(CLOSE,15)/ref(CLOSE,15)*100;二十日漲幅:=(CLOSE-ref(CLOSE,20)/ref(CLOSE,20)*100

4、;三十日漲幅:=(CLOSE-ref(CLOSE,30)/ref(CLOSE,30)*100;看跌:= LOW<M2 AND CLOSE<M1 AND (M1-M2)<0.04;賣出:=filter(看跌,4);轉(zhuǎn)勢(shì):=cross(M1,M3) and M6>M5 and c>M6;買入:=filter(轉(zhuǎn)勢(shì),1);drawicon(買入),l*0.97,7),ALIGN1;drawicon(賣出),h*1.02,8),ALIGN1;PARTLINE(牛熊線,牛熊線>REF(牛熊線,1),CIRCLEDOT,COLOR0000ff;DRAWTEXTABS(5

5、 ,40 ,'流通盤:'+capital/1000000+'億'),COLOR00FF00,linethick1;每股收益:=FINANCE2(3);每股市盈率:=DYNAINFO(39);每股凈資產(chǎn):=FINANCE2(4);銷售毛利率:=FINANCE2(12);主營(yíng)收入同比:=FINANCE2(11); 凈利潤(rùn)同比增長(zhǎng):=FINANCE2(10);每股公積金:=FINANCE2(7);每股未分配:=FINANCE2(8);DRAWTEXTABS(125 ,40,'每股收益:'+NUMTOSTRN(每股收益,2)+'元'),C

6、olor00FF00;DRAWTEXTABS(240 ,40,'每股市盈率:'+NUMTOSTRN(每股市盈率,1)+'倍'),Color00FF00;DRAWTEXTABS(360 ,40,'每股凈資產(chǎn):'+NUMTOSTRN(每股凈資產(chǎn),2)+'元'),COLORYELLOW;DRAWTEXTABS(5,55,'銷售毛利率:'+NUMTOSTRN(銷售毛利率,2)+'%'),LINETHICK1,Color00FF00;DRAWTEXTABS(125,55,'主營(yíng)收入同比增長(zhǎng):'

7、+NUMTOSTRN(主營(yíng)收入同比,2)+'%'),LINETHICK1,Color00FF00; DRAWTEXTABS(285,55,'凈利潤(rùn)同比增長(zhǎng):'+NUMTOSTRN(凈利潤(rùn)同比增長(zhǎng),2)+'%'),LINETHICK1,Color00FF00;DRAWTEXTABS(5 ,70,'每股公積金:'+NUMTOSTRN(每股公積金,2)+'元'),Color00FF00;DRAWTEXTABS(125 ,70,'每股未分配:'+NUMTOSTRN(每股未分配,2)+'元')

8、,COLORYELLOW;DRAWTEXTABS(5 ,85,'三日漲幅:'+NUMTOSTRN(三日漲幅,2)+'%'),COLORRED;DRAWTEXTABS(125 ,85,'五日漲幅:'+NUMTOSTRN(五日漲幅,2)+'%'),COLORRED;DRAWTEXTABS(245 ,85,'七日漲幅:'+NUMTOSTRN(七日漲幅,2)+'%'),COLORRED;DRAWTEXTABS(5,100,'十日漲幅:'+NUMTOSTRN(十日漲幅,2)+'%

9、9;),COLORF00FF0;DRAWTEXTABS(125,100,'十三日漲幅:'+NUMTOSTRN(十三日漲幅,2)+'%'),COLORF00FF0;DRAWTEXTABS(245,100,'十五日漲幅:'+NUMTOSTRN(十五日漲幅,2)+'%'),COLORF00FF0;DRAWTEXTABS(5,115,'二十日漲幅:'+NUMTOSTRN(二十日漲幅,2)+'%'),COLORF00FF0;DRAWTEXTABS(125,115,'三十日漲幅:'+NUMTOS

10、TRN(三十日漲幅,2)+'%'),COLORF00FF0;早晨之星:=REF(CLOSE,2)/REF(OPEN,2)<0.95 AND REF(OPEN,1)<REF(CLOSE,2) AND ABS(REF(OPEN,1)-REF(CLOSE,1)/REF(CLOSE,1)<0.03 AND CLOSE/OPEN>1.05 AND CLOSE>REF(CLOSE,2);黃昏之星:=REF(CLOSE,2)/REF(OPEN,2)>1.03 AND REF(OPEN,1)>REF(CLOSE,2) AND ABS(REF(OPEN,

11、1)-REF(CLOSE,1)/REF(CLOSE,1)<0.02 AND CLOSE/OPEN<0.97 AND CLOSE<REF(CLOSE,2);長(zhǎng)十字:=CLOSE=OPEN AND HIGH/LOW >1.03; 垂死十字:=CLOSE=OPEN AND CLOSE=LOW AND CLOSE<>HIGH;早晨十字星:=REF(CLOSE,2)/REF(OPEN,2)<0.95 AND REF(OPEN,1)<REF(CLOSE,2) AND REF(OPEN,1)=REF(CLOSE,1) ANDCLOSE/OPEN>1.05

12、 AND CLOSE>REF(CLOSE,2);黃昏十字星:=REF(CLOSE,2)/REF(OPEN,2)>1.05 AND REF(OPEN,1)>REF(CLOSE,2) AND REF(OPEN,1)=REF(CLOSE,1) ANDCLOSE/OPEN<0.95 AND CLOSE<REF(CLOSE,2);射擊之星:=MIN(OPEN,CLOSE)=LOW AND HIGH-LOW>3*(MAX(OPEN,CLOSE)-LOW) AND CLOSE>MA(CLOSE,5);倒轉(zhuǎn)錘頭:=MIN(OPEN,CLOSE)=LOW AND HIG

13、H-LOW>3*(MAX(OPEN,CLOSE)-LOW) AND CLOSE<MA(CLOSE,5);錘頭:=HIGH = MAX(OPEN,CLOSE) AND HIGH-LOW>3*(HIGH-MIN(OPEN,CLOSE) AND CLOSE<MA(CLOSE,5);吊頸:=HIGH = MAX(OPEN,CLOSE) AND HIGH-LOW>3*(HIGH-MIN(OPEN,CLOSE) AND CLOSE>MA(CLOSE,5);穿頭破腳:=(REF(CLOSE,1)/REF(OPEN,1)>1.03 AND CLOSE/OPEN<

14、0.96 AND CLOSE<REF(OPEN,1) AND OPEN>REF(CLOSE,1)OR (REF(CLOSE,1)/REF(OPEN,1)<0.97 AND CLOSE/OPEN>1.04 AND CLOSE>REF(OPEN,1) AND OPEN<REF(CLOSE,1);烏云蓋頂:=REF(CLOSE,1)/REF(OPEN,1)>1.03 AND CLOSE/OPEN<0.97 AND OPEN>REF(CLOSE,1) AND CLOSE<REF(CLOSE,1);曙光初現(xiàn):=REF(CLOSE,1)/REF(

15、OPEN,1)<0.97 AND CLOSE/OPEN>1.03 AND OPEN<REF(CLOSE,1) AND CLOSE>REF(CLOSE,1);身懷六甲:=ABS(REF(CLOSE,1)-REF(OPEN,1)/REF(CLOSE,1)>0.04 AND ABS(CLOSE-OPEN)/CLOSE<0.005 ANDMAX(CLOSE,OPEN)<MAX(REF(CLOSE,1),REF(OPEN,1) AND MIN(CLOSE,OPEN)>MIN(REF(CLOSE,1),REF(OPEN,1);十字胎:=ABS(REF(CLO

16、SE,1)-REF(OPEN,1)/REF(CLOSE,1)>0.04 AND CLOSE=OPEN ANDCLOSE < MAX(REF(CLOSE,1),REF(OPEN,1) AND CLOSE > MIN(REF(CLOSE,1),REF(OPEN,1);平頂:=ABS(HIGH-REF(HIGH,1)/HIGH<0.001;平底:=(ABS(LOW-REF(LOW,1)/LOW<0.001 AND ABS(REF(LOW,1)-REF(LOW,2)/REF(LOW,1)<=0.001);大陽(yáng)燭:=CLOSE/OPEN>1.05 AND HIG

17、H/LOW<CLOSE/OPEN+0.018;三個(gè)紅武士:=REF(CLOSE,2)>REF(OPEN,2) AND REF(CLOSE,1)>REF(OPEN,1) AND CLOSE>OPENAND REF(CLOSE,1)>REF(CLOSE,2) AND CLOSE>REF(CLOSE,1);雙飛烏鴉:=REF(CLOSE,1)<REF(OPEN,1) AND CLOSE<OPEN AND CLOSE/OPEN<0.98;孕育線:=REF(CLOSE,2)>REF(OPEN,2) AND (REF(CLOSE,2)-REF(O

18、PEN,2)/REF(OPEN,2)>=2/100 AND REF(OPEN,1)>=REF(CLOSE,1) AND(REF(OPEN,1)-REF(CLOSE,1)/REF(CLOSE,1)<=2/100 AND REF(OPEN,1)<=REF(CLOSE,2) AND REF(CLOSE,1)>=REF(OPEN,2) AND C>=OPEN AND(CLOSE-OPEN)/OPEN>=2/100 AND CLOSE>=REF(OPEN,1) AND OPEN<=REF(CLOSE,1) AND (MAX(CLOSE,REF(C,2

19、)-MIN(CLOSE,REF(CLOSE,2)/MIN(CLOSE,REF(CLOSE,2)<=1/100;多方炮:=REF(CLOSE,2)>REF(OPEN,2) AND REF(CLOSE,1)<REF(OPEN,1) AND CLOSE>OPEN;出水芙蓉:=(OPEN<EMA(C,20) OR OPEN<EMA(C,40) OR OPEN<EMA(C,60) AND (C>MAX(EMA(C,20),MAX(EMA(C,40),EMA(C,60)AND (V/MA(V,30)>1.2 AND C/REF(C,1)>1.04

20、9);上升三部曲:=REF(CLOSE,4)/REF(OPEN,4)>1.03 AND REF(CLOSE,3)<REF(OPEN,3) AND REF(CLOSE,2)<REF(OPEN,2) AND REF(CLOSE,1)<REF(OPEN,1) ANDREF(LOW,4)<REF(LOW,3) AND REF(LOW,4)<REF(LOW,2) AND REF(LOW,4)<REF(LOW,1) AND REF(HIGH,4)>REF(HIGH,3) AND REF(HIGH,4)>REF(HIGH,2) ANDREF(HIGH,4

21、)>REF(HIGH,1) AND CLOSE/OPEN>1.03 AND CLOSE>REF(CLOSE,4);下跌三部曲:= REF(CLOSE,4)/REF(OPEN,4)<0.97 AND REF(CLOSE,3)>REF(OPEN,3) AND REF(CLOSE,2)>REF(OPEN,2) AND REF(CLOSE,1)>REF(OPEN,1) AND REF(LOW,4)<REF(LOW,3) ANDREF(LOW,4)<REF(LOW,2) AND REF(LOW,4)<REF(LOW,1) AND REF(HIG

22、H,4)>REF(HIGH,3) AND REF(HIGH,4)>REF(HIGH,2) AND REF(HIGH,4)>REF(HIGH,1) AND CLOSE/OPEN<0.97 ANDCLOSE<REF(CLOSE,4);跳空缺口:=HIGH<REF(LOW,1) OR LOW>REF(HIGH,1);三只烏鴉:=REF(CLOSE,2)<REF(OPEN,2) AND REF(CLOSE,1)<REF(OPEN,1) AND CLOSE<OPEN AND REF(CLOSE,1)<REF(CLOSE,2) AND CL

23、OSE<REF(CLOSE,1);光腳陰線:=LOW=CLOSE AND HIGH<>LOW;光頭陽(yáng)線:=HIGH=CLOSE AND HIGH<>LOW;分離:=OPEN=REF(OPEN,1) AND (CLOSE-OPEN)*(REF(CLOSE,1)-REF(OPEN,1)<0;長(zhǎng)下影:=(MIN(CLOSE,OPEN)-LOW)/(HIGH-LOW)>0.667;長(zhǎng)上影:=(HIGH-MAX(CLOSE,OPEN)/(HIGH-LOW)>0.667;十字星:=CLOSE=OPEN AND HIGH<>LOW;大陰燭:=OPE

24、N/CLOSE > 1.05 AND HIGH/LOW < OPEN/CLOSE+0.018;好友反攻:=(REF(CLOSE,1)<REF(OPEN,1) AND CLOSE>OPEN AND ABS(CLOSE-REF(CLOSE,1)/CLOSE<0.002)OR (REF(CLOSE,1)>REF(OPEN,1) AND CLOSE<OPEN AND ABS(CLOSE-REF(CLOSE,1)/CLOSE<0.002);傾盆大雨:=REF(C,1)/REF(O,1)>=1.03 AND O<REF(C,1) AND O>

25、;REF(O,1) AND C<REF(O,1);解盤:='鷹眼'+IFs(傾盆大雨,'傾盆大雨;','')+IFs(大陰燭,'大陰燭;','')+IFs(好友反攻,'好友反攻;','')+IFs(跳空缺口,'跳空缺口;','')+IFs(光腳陰線,'光腳陰線;','')+IFs(光頭陽(yáng)線,'光頭陽(yáng)線;','')+IFs(三只烏鴉,'三只烏鴉;',''

26、)+IFs(分離,'分離;','')+IFs(長(zhǎng)下影,'長(zhǎng)下影;','')+IFs(長(zhǎng)上影,'長(zhǎng)上影;','')+IFs(下跌三部曲,'下跌三部曲;','')+IFs(上升三部曲,'上升三部曲;','')+IFs(早晨之星,'早晨之星;','')+IFs(黃昏之星,'黃昏之星;','')+IFs(十字星,'十字星;','')+IFs(長(zhǎng)十字,

27、'長(zhǎng)十字;','')+IFs(垂死十字,'垂死十字;','')+IFs(早晨十字星,'早晨十字星;','')+IFs(黃昏十字星,'黃昏十字星;','')+IFs(射擊之星,'射擊之星;','')+IFs(倒轉(zhuǎn)錘頭,'倒轉(zhuǎn)錘頭;','')+IFs(錘頭,'錘頭;','')+IFs(吊頸,'吊頸;','')+IFs(平頂,'平頂;

28、9;,'')+IFs(穿頭破腳,'穿頭破腳;','')+IFs(烏云蓋頂,'烏云蓋頂;','')+IFs(曙光初現(xiàn),'曙光初現(xiàn);','')+IFs(身懷六甲,'身懷六甲;','')+IFs(十字胎,'十字胎;','')+IFs(平底,'平底;','')+IFs(大陽(yáng)燭,'大陽(yáng)燭;','')+IFs(三個(gè)紅武士,'三個(gè)紅武士;','&#

29、39;)+IFs(雙飛烏鴉,'雙飛烏鴉;','')+IFs(孕育線,'孕育線;','')+IFs(多方炮,'多方炮;','')+IFs(出水芙蓉,'出水芙蓉;','');DRAWTEXTABS(5,25,解盤),LINETHICK1,COLORff00FF;DRAWFLAGTEXT(傾盆大雨,c,'傾盆大雨,見頂信號(hào)'),COLORFF00FF;DRAWFLAGTEXT(大陰燭,c,'大陰燭,后市向淡,發(fā)生逆轉(zhuǎn)'),COLORFF00F

30、F;DRAWFLAGTEXT(好友反攻,c,'好友反攻,底部反轉(zhuǎn)'),COLORFF00FF;DRAWFLAGTEXT(跳空缺口,c,'跳空缺口,注意向上還是向下跳空'),COLORFF00FF;DRAWFLAGTEXT(光腳陰線,c,'光腳陰線,下跌信號(hào)'),COLORFF00FF;DRAWFLAGTEXT(光頭陽(yáng)線,c,'光頭陽(yáng)線,后市看漲'),COLORFF00FF;DRAWFLAGTEXT(三只烏鴉,c,'三只烏鴉,可能見頂回落'),COLORFF00FF;DRAWFLAGTEXT(分離,c,'分離

31、,注意看漲分離和看跌分離'),COLORFF00FF;DRAWFLAGTEXT(長(zhǎng)下影,c,'長(zhǎng)下影,持續(xù)下跌后出現(xiàn),有可能止跌回升;在升勢(shì)末期出現(xiàn),須多加留 意'),COLORFF00FF;DRAWFLAGTEXT(長(zhǎng)上影,c,'長(zhǎng)上影,表明行情上檔壓力沉重,升勢(shì)受阻'),COLORFF00FF;DRAWFLAGTEXT(下跌三部曲,c,'下跌三部曲,下跌信號(hào)'),COLORFF00FF;DRAWFLAGTEXT(上升三部曲,c,'上升三部曲,上漲信號(hào)'),COLORFF00FF;DRAWFLAGTEXT(早晨之星,c,

32、'早晨之星,見底回升'),COLORFF00FF;DRAWFLAGTEXT(黃昏之星,c,'黃昏之星,見頂回落'),COLORFF00FF;DRAWFLAGTEXT(十字星,c,'十字星,有轉(zhuǎn)向意味,注意股價(jià)位置在頂部還是底部'),COLORFF00FF;DRAWFLAGTEXT(長(zhǎng)十字,c,'長(zhǎng)十字,注意在頂部還是底部'),COLORFF00FF;DRAWFLAGTEXT(垂死十字,c,'垂死十字,下跌信號(hào)'),COLORFF00FF;DRAWFLAGTEXT(早晨十字星,c,'早晨十字星,上漲信號(hào),見底回升'),COLORFF00FF;DRAWFLAGTEXT(黃昏十字星,c,'黃昏十字星,下跌信號(hào),見頂回落'),COLORFF00FF;DRAWFLAGTEXT(射擊之星,c,'射擊之星,可能見頂回落,可靠性低'),COLORFF00FF;DRAWFLAGTEXT(倒轉(zhuǎn)錘頭,c,'倒轉(zhuǎn)錘頭,可能見底回升'),COLORFF00FF;DRAWFLAGTEXT(錘頭,c,'錘頭,可能見底回升,如有量配合,信號(hào)強(qiáng)烈'),C

溫馨提示

  • 1. 本站所有資源如無(wú)特殊說明,都需要本地電腦安裝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ù)覽,若沒有圖紙預(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ì)自己和他人造成任何形式的傷害或損失。

最新文檔

評(píng)論

0/150

提交評(píng)論