資源描述:
《【股票指標公式下載】-【大智慧】分時K線(大盤參考線、主力掃盤)》由會員上傳分享,免費在線閱讀,更多相關(guān)內(nèi)容在行業(yè)資料-天天文庫。
1、【大智慧】分時K線(大盤參考線、主力掃盤)-指標公式源碼INPUT:M(0,0,2);價:=C;大盤:=EMA(INDEXC,500)/EMA(C,500);大盤參考線:INDEXC/大盤,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)+
2、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
3、)/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<45andZLSP<5.666;VAR29:=LLV(ZLSP,35)<-8.9andCROSS(ZLSP,-7.815)andZLSP<-1.2;VAR30:=10*FILTER(VAR29,41);VAR31:=15*FILTER(VAR28,41)>10;主力掃盤:VAR31,linethick0;DRAWTEX
4、T(VAR31,價*1.001,'主力掃盤'),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(
5、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;時長:=if(HOUR>=10ANDHOUR<15,1,0);漲幅:=(close/DYNAINFO(3))>=1.015;跌幅:=(close
6、/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;橫盤:=((HHV(CLOSE,TT)-LLV(CLOSE,TT))/CLOSE)<=0.05;橫漲:=漲跌幅=0and橫盤and時長and放量andCROSS(CC,上均)andDYNAINFO(22)7、橫漲,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('計算機'),"991004$CLOS
8、E",IF