最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 通达信猎豹出击均线主图未加密选股指标公式源码

    正文概述    2022-05-29 00:00:00  


    D:=5;S:=10;W:=20;R1:=7;R2:=14;Z1:=21;Z2:=55;Y1:=79;Y2:=144;
    日一:ma(CLOSE,R1),COLORWHITE,LINETHICK1;
    日二:MA(CLOSE,R2),COLORLIMAGENTA,LINETHICK1;
    周一:MA(CLOSE,Z1),COLORRED,LINETHICK2;
    周二:MA(CLOSE,Z2),COLORGREEN,LINETHICK2;
    月一:MA(CLOSE,Y1),COLORRED,POINTDOT;
    月二:MA(CLOSE,Y2),COLORYELLOW,POINTDOT;
    年:=1+(BArslAST(YEAR!=REF(YEAR,1) OR DATETODAY(DATE)=1));
    天数:=IF(PERIOD=5,年,DRAWNULL);
    高1:=HHV(H,天数);
    低1:=LLV(L,天数);
    高低:(C-低1)/(高1-低1)*100,,NODRAW,COLORFFFF00;
    振幅:(高1-低1)/低1*100,NODRAW,COLORRED;
    天:CONST(高1),NODRAW,COLORBLUE;
    地:CONST(低1),NODRAW,COLOR00FF00;
    H66%:CONST(高1-(高1-低1)*1/3),NODRAW,COLORFFFF00;
    中:CONST(高1-(高1-低1)*1/2),NODRAW,COLORRED;
    H33%:CONST(高1-(高1-低1)*2/3),NODRAW,COLOR0099FF;
    TT3:=(CURRBARSCOUNT=1{5});
    TT4:=(CURRBARSCOUNT=1{5+3});
    STICKLINE(C>0,CONST(高1-(高1-低1)*1/4),CONST(高1-(高1-低1)*1/4),2,0),COLORFF00FF;
    STICKLINE(C>0,CONST(高1-(高1-低1)*3/4),CONST(高1-(高1-低1)*3/4),2,0),COLORFF00FF;
    STICKLINE(C>0,天,天,10,0),COLORBLUE;
    STICKLINE(C>0,地,地,10,0),COLOR00FF00;
    STICKLINE(C>0,H66%,H66%,10,0),COLORFFFF00;
    STICKLINE(C>0,中,中,10,0),COLORRED;
    STICKLINE(C>0,H33%,H33%,10,0),COLOR0099FF;
    H75%:CONST(高1-(高1-低1)*1/4),NODRAW;
    H25%:CONST(高1-(高1-低1)*3/4),NODRAW;
    均价线:=AMOUNT/V/100;
    C2:=REF(C,1);
    涨停:=IF(REF(C,1)*1.1-C<0.01 ,1,0);
    STICKLINE(涨停,OPEN,CLOSE,3,0),COLORWHITE;
    STICKLINE(涨停,OPEN,CLOSE,2.8,0),COLORBLUE;
    STICKLINE(涨停,H,L,0,0),COLORBLUE;
    LC:=REF(CLOSE,1);
    操作线:=SMA(MAX(CLOSE-LC,0),2,1)/SMA(Abs(CLOSE-LC),2,1)*100;
    趋势线:=SMA(MAX(CLOSE-LC,0),14,1)/SMA(ABS(CLOSE-LC),14,1)*100;
    震仓线:=45;
    震仓线2:=50;
    逃命线:=80;
    抄底线:=20;
    绝底线:=5;
    PP2:=操作线<震仓线2 AND REF(操作线,1)>震仓线2 ;
    PP:=操作线<震仓线 AND REF(操作线,1)>震仓线 ;
    PP3:=操作线<抄底线 AND REF(操作线,1)>抄底线;
    HH:=COUNT(涨停,13)>=1;
    STICKLINE(PP2 AND HH,OPEN,CLOSE,0.8,0),COLORYELLOW;
    STICKLINE(PP AND HH,OPEN,CLOSE,0.8,0),COLORYELLOW;
    STICKLINE(PP3 AND HH,OPEN,CLOSE,0.8,0),COLORYELLOW;
    A:=SMA(L,4,3);
    STICKLINE(A AND REF(PP,1) AND HH ,A*0.9999,A*0.994,5,0),COLORCYAN;
    STICKLINE(A AND REF(PP3,1) AND HH ,A*0.9999,A*0.994,5,0),COLORCYAN;
    DRAWTEXT("KDJ.J"-REF("KDJ.J",1)>30 AND C/REF(C,1)>1.043
    AND expma(C,12)>EXPMA(C,50),L*0.95,'起爆'),COLORWHITE;
    星板:=ABS(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<0.03&&
    CLOSE/OPEN>1.03&&CLOSE>REF(CLOSE,2) AND C/REF(C,1)>1.071;
    DRAWTEXT(星板,L*0.950,'星'),COLORLIMAGENTA;
    DRAWICON(星板,L*0.97,1);



    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信猎豹出击均线主图未加密选股指标公式源码 加入收藏