鷹眼分時(shí)K線八大指標(biāo),
1,買點(diǎn)提示---劃線;
2,賣點(diǎn)提示---劃線;
3,上突提示---劃線;
4,下破提示---劃線;
5,盤(pán)中突破---劃線;
6,主力掃盤(pán)---劃線;
7,有莊提示;
8,量能量比。
喜歡DIY的同學(xué)自己添加修改,以上源碼都來(lái)自網(wǎng)絡(luò),整理發(fā)布。
INPUT: M(0,0,2);
價(jià):=C;
大盤(pán):=EMA(INDEXC,500)/EMA(C,500);
大盤(pán)參考線:INDEXC/大盤(pán),ColorFFFF00;
VAR20:=(3*CLOSE+LOW+OPEN+HIGH)/6;
VAR21:=(20*VAR20+19*REF(VAR20,1)+18*REF(VAR20,2)+17*REF(VAR20,3)+16*REF(VAR20,4)+15*REF(VAR20,5)+14*REF(VAR20,6)+13*REF(VAR20,7)+12*REF(VAR20,8)+11*REF(VAR20,9)+10*REF(VAR20,10)+9*REF(VAR20,11)+8* REF(VAR20,12)+7*REF(VAR20,13)+6*REF(VAR20,14)+5*REF(VAR20,15)+4*REF(VAR20,16)+3*REF(VAR20,17)+2*REF(VAR20,18)+REF(VAR20,21))/210;
VAR22:=EMA(VAR21,15);
VAR23:=HHV(CLOSE,90);
VAR24:=LLV(CLOSE,90);
VAR25:=VAR23-VAR24;
VAR26:=EMA((CLOSE-VAR24)/VAR25-0.5,14);
ZLSP:=VAR26*20;
VAR27:=REF(HHV(CLOSE,66),2);
VAR28:=CROSS(CLOSE,VAR27) and (HHV(CLOSE,110)/LLV(CLOSE,110)-1)*100<45 and ZLSP<5.666;
VAR29:=LLV(ZLSP,35)<-8.9 and CROSS(ZLSP,-7.815) and ZLSP<-1.2;
VAR30:=10*FILTER(VAR29,41);
VAR31:=15*FILTER(VAR28,41)>10;
主力掃盤(pán):VAR31,linethick0;
DRAWTEXT(VAR31,價(jià)*1.001,'主力掃盤(pán)'),COLORYELLOW,linethick2;
VERTLINE(VAR31,3),COLORYELLOW,LINETHICK2;
R7:=DYNAINFO(17);
R8:=DYNAINFO(23) / DYNAINFO(22);
DRAWTEXTREL(400,600,IFS((R8 >= 1),'能量:'+NUMTOSTRN(R8,2)+' 量比: '+NUMTOSTRN(R7,2),'')),linethick4,colorWhite;
DRAWTEXTREL(400,600,IFS((R8 < 1),'能量:'+NUMTOSTRN(R8,2)+' 量比: '+NUMTOSTRN(R7,2),'')),linethick4,colorWhite;
tt:=BARSCOUNT(C);
CC:=CLOSE;
zz:=SUM(AMOUNT,tt)/SUM(VOL*100,tt);
zz1:=BETWEEN(C/zz,1.05,0.95);
均線:IF(zz1=0,MA(C,TT),zz);
上均:均線 + AVEDEV(C,tt)*2;
下均:均線 - AVEDEV(C,tt)*2;
時(shí)長(zhǎng):=if(HOUR>=10 AND HOUR<15 ,1,0);
漲幅:=(close/DYNAINFO(3))>=1.015;
跌幅:=(close/DYNAINFO(3))<=0.985;
漲跌幅:=漲幅 OR 跌幅;
yy:=SMA(vol,30,1);
放量:=(yy-LLV(Llv(yy,1),30))/(HHV(Hhv(yy,1),30)-LLV(Llv(yy,1),30))>0;
橫盤(pán):=((HHV(CLOSE,TT)-LLV(CLOSE,TT))/CLOSE)<=0.05;
橫漲:=漲跌幅=0 and 橫盤(pán) and 時(shí)長(zhǎng) and 放量 and CROSS(CC,上均)and DYNAINFO(22)<DYNAINFO(23) ;
橫跌:=漲跌幅=0 and 橫盤(pán) and 時(shí)長(zhǎng) and 放量 and CROSS(下均,CC) ;
PP:= FILTER(橫漲,100) ;
UU:= FILTER(橫跌,50) ;
DRAWTEXT(PP,上均*0.998,'★←上突'),colorff00ff;
DRAWTEXT(UU,下均*0.998,'★←下破'),COLOR00FFFF;
VERTLINE(PP,3),COLORff00ff,LINETHICK2;
VERTLINE(UU,3),COLOR00FFFF,LINETHICK2;
板塊指數(shù):IF(INBLOCK('工程建筑'),"991002$CLOSE",
IF(INBLOCK('電力'),"991003$CLOSE",
IF(INBLOCK('計(jì)算機(jī)'),"991004$CLOSE",
IF(INBLOCK('電子信息'),"991006$CLOSE",
IF(INBLOCK('房地產(chǎn)'),"991007$CLOSE",
IF(INBLOCK('紡織服裝'),"991008$CLOSE",
IF(INBLOCK('鋼鐵'),"991009$CLOSE",
IF(INBLOCK('供水供氣'),"991010$CLOSE",
IF(INBLOCK('化工化纖'),"991011$CLOSE",
IF(INBLOCK('電器'),"991014$CLOSE",
IF(INBLOCK('交通設(shè)施'),"991016$CLOSE",
IF(INBLOCK('銀行類'),"991017$CLOSE",
IF(INBLOCK('旅游酒店'),"991018$CLOSE",
IF(INBLOCK('煤炭石油'),"991019$CLOSE",
IF(INBLOCK('釀酒食品'),"991020$CLOSE",
IF(INBLOCK('農(nóng)林牧漁'),"991021$CLOSE",
IF(INBLOCK('商業(yè)連鎖'),"991023$CLOSE",
IF(INBLOCK('建材'),"991024$CLOSE",
IF(INBLOCK('其他行業(yè)'),"991025$CLOSE",
IF(INBLOCK('交通工具'),"991026$CLOSE",
IF(INBLOCK('機(jī)械'),"991027$CLOSE",
IF(INBLOCK('醫(yī)藥'),"991028$CLOSE",
IF(INBLOCK('外貿(mào)'),"991031$CLOSE",
IF(INBLOCK('教育傳媒'),"991032$CLOSE",
IF(INBLOCK('儀電儀表'),"991033$CLOSE",
IF(INBLOCK('有色金屬'),"991034$CLOSE",
IF(INBLOCK('造紙印刷'),"991035$CLOSE",
IF(INBLOCK('
IF(INBLOCK('電力設(shè)備'),"991037$CLOSE", IF(INBLOCK('通信'),"991135$CLOSE", IF(INBLOCK('運(yùn)輸物流'),"991136$CLOSE", IF(INBLOCK('海峽西岸'),"993596$CLOSE", IF(INBLOCK('保險(xiǎn)'),"991255$CLOSE",0)