最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 通达信精准买卖公式(通道强力买卖)源码分享

    正文概述    2024-05-04 03:58:52  

    通达信指标公式源码概况:


    指标类别:通达信指标公式


    授权方式:免费版


    指标评级:★★★★★


    指标分类:策略


    画线方法:副图

    公式解读:

    通达信指标公式源码:


       HHJSJDA:=(3*CLOSE+OPEN+LOW+HIGH)/6;

       HHJSJDB:(20*HHJSJDA+19*REF(HHJSJDA,1)+18*REF(HHJSJDA,2)+17*REF(HHJSJDA,3)+16*REF(HHJSJDA,4)+15*REF(HHJSJDA,5)+14*REF(HHJSJDA,6)

       +13*REF(HHJSJDA,7)+12*REF(HHJSJDA,8)+11*REF(HHJSJDA,9)+10*REF(HHJSJDA,10)+9*REF(HHJSJDA,11)+8*REF(HHJSJDA,12)

       +7*REF(HHJSJDA,13)+6*REF(HHJSJDA,14)+5*REF(HHJSJDA,15)+4*REF(HHJSJDA,16)+3*REF(HHJSJDA,17)+2*REF(HHJSJDA,18)+

       REF(HHJSJDA,20))/210,coloryellow;

       HHJSJDC:MA(HHJSJDB,5),colorred;

       VAR35:=LLV(HIGH,240);

       VAR40:=100*(CLOSE-VAR35)/VAR35;

       VAR50:=(CLOSE-LLV(LOW,528))/(HHV(HIGH,528)-LLV(LOW,528))*100;

       VAR60:=(CLOSE-LLV(CLOSE,530))/(HHV(CLOSE,530)-LLV(CLOSE,530))*100;

       VAR70:=0;

       VAR80:=SMA(MAX(CLOSE-REF(CLOSE,1),0),34,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),7,1)*100;

       VAR90:=SMA(MAX(CLOSE-REF(CLOSE,1),0),13,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),13,1)*100;

       VAR100:=IF(TROUGHBARS(3,16,1)=0ANDHIGH LOW+0.04,4,0);

       VAR110:=ZIG(3,6) REF(ZIG(3,6),1)ANDREF(ZIG(3,6),1) =REF(ZIG(3,6),2)ANDREF(ZIG(3,6),2) =REF(ZIG(3,6),3);

       VAR120:=ZIG(3,6) REF(ZIG(3,6),1)ANDREF(ZIG(3,6),1) =REF(ZIG(3,6),2)ANDREF(ZIG(3,6),2) =REF(ZIG(3,6),3);

       VAR130:=ZIG(3,22) REF(ZIG(3,22),1)ANDREF(ZIG(3,22),1) =REF(ZIG(3,22),2)ANDREF(ZIG(3,22),2) =REF(ZIG(3,22),3);

       VAR140:=ZIG(3,22) REF(ZIG(3,22),1)ANDREF(ZIG(3,22),1) =REF(ZIG(3,22),2)ANDREF(ZIG(3,22),2) =REF(ZIG(3,22),3);

       VAR150:=ZIG(3,51) REF(ZIG(3,51),1)ANDREF(ZIG(3,51),1) =REF(ZIG(3,51),2)ANDREF(ZIG(3,51),2) =REF(ZIG(3,51),3);

       VAR160:=ZIG(3,51) REF(ZIG(3,51),1)ANDREF(ZIG(3,51),1) =REF(ZIG(3,51),2)ANDREF(ZIG(3,51),2) =REF(ZIG(3,51),3);

       VAR170:=ZIG(3,72) REF(ZIG(3,72),1)ANDREF(ZIG(3,72),1) =REF(ZIG(3,72),2)ANDREF(ZIG(3,72),2) =REF(ZIG(3,72),3);

       VAR180:=ZIG(3,72) REF(ZIG(3,72),1)ANDREF(ZIG(3,72),1) =REF(ZIG(3,72),2)ANDREF(ZIG(3,72),2) =REF(ZIG(3,72),3);

       VAR190:=EMA(CLOSE,2)-EMA(CLOSE,150);

       买1:=VAR100;

       买2:=(VAR110+VAR130+VAR150+VAR170);

       卖1:=(VAR120+VAR140+VAR160+VAR180);

       DRAWTEXT(买1 0OR买2 0,LOW*0.98,'买'),colorred;

       DRAWTEXT(卖1 0,HIGH*1.02,'卖'),colorgreen;

       V1:=(C*2+H+L)/4*10;

       V2:=EMA(V1,13)-EMA(V1,34);

       V3:=EMA(V2,5);V4:=2*(V2-V3)*5.5;

       撤:IF(V4 =0,V4,0),colorblue;

       主力进:IF(V4 =0,V4,0),COLORFF00FF;

       V5:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8;

       V6:=EMA(3*V5-2*SMA(V5,18,1),5);

       V7:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*10;

       V8:=(INDEXC*2+INDEXH+INDEXL)/4;

       V9:=EMA(V8,13)-EMA(V8,34);

       VA:=EMA(V9,3);

       VB:=(V9-VA)/2;

       资金进场:IF(VB =0,VB,0),colorred;

       大盘资金撤走:IF(VB =0,VB,0),colorgreen;

       V11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);

       线:EMA(V11,3);

       V12:=(趋势线-REF(趋势线,1))/REF(趋势线,1)*100;

       准备现金:STICKLINE(趋势线 =13,0,20,5,0),COLORCC9900;

       AA:=(趋势线 =13)ANDFILTER((趋势线 =13),15);

       DRAWTEXT(AA,30,'准备现金'),COLORCC9900;

       买入股票:STICKLINE(趋势线 =13ANDV12 13,0,50,5,0),COLOR0099FF;

       BB:=(趋势线 =13ANDV12 13)ANDFILTER((趋势线 =13ANDV12 13),10);

       DRAWTEXT(BB,60,'买入股票'),COLOR0099FF;

       卖临界:STICKLINE(趋势线 90AND趋势线 REF(趋势线,1),100,95,15,1),COLORFFFF00;

       见顶清仓:FILTER(趋势线 90AND趋势线 REF(趋势线,1)AND主力进 REF(主力进,1),8);

       DRAWTEXT(见顶清仓,90,''),coloryellow;

       CC:=(趋势线 =90ANDV12)ANDFILTER((趋势线 =90ANDV12),10);

       STICKLINE(大盘资金进场AND趋势线 13,0,30,10,0),colorred;

       STICKLINE(大盘资金撤走AND趋势线 90,0,30,10,0),colorgreen;

       STICKLINE(主力进AND趋势线 13,0,40,10,0),COLORFF00FF;

       STICKLINE(主力撤AND趋势线 90,0,40,10,0),colorblue;

       Vara1:=(EMA(C,3)+EMA(C,5)+EMA(C,8)+EMA(C,13))/4;

       Vara2:=(EMA(C,13)+EMA(C,21)+EMA(C,34)+EMA(C,55))/4;

       Vara3:=SMA(MAX(C-REF(C,1),0),5,1)/SMA(ABS(C-REF(C,1)),5,1)*100;

       神奇线:MA(c,19),ColorYELLOW,LINETHICK2;

       {K线}

       STICKLINE(OPEN =CLOSE,CLOSE,OPEN,2.5,0),COLOR00AA00;

       STICKLINE(OPEN =CLOSE,h,l,0.5,0),COLOR00EE00;

       STICKLINE(CLOSE OPEN,CLOSE,OPEN,4,0),COLORFF00FF;

       STICKLINE(CLOSE OPEN,CLOSE,OPEN,2.5,0),COLORFF44FF;

       STICKLINE(CLOSE OPEN,h,l,0.5,0),COLORFFAAFF;

       {显示文字}

       DRAWTEXT(LONGCROSS(Vara1-Vara2,0,1)orLONGCROSS(c,神奇线,5),L*0.98,'买'),ALIGN1,COLORRED;

       DRAWTEXT(FILTER(CROSS(86,Vara3),5),H*1.02,'卖'),ALIGN1,COLORGREEN;

       TJ:=IF((C-REF(C,1))/REF(C,1) 0.025,1,0);

       yl:=IF(C REF(O,BARSLAST(TJ=1)),REF(O,BARSLAST(TJ=1)),0);

       FT:=BARSLAST(yl);

       YLX:=REF(yl,FT);

       VAR2:=REF(LOW,1);

       VAR3:=SMA(ABS(LOW-VAR2),13,1)/SMA(MAX(LOW-VAR2,0),13,1)*100;

       VAR4:=EMA(IF(CLOSE*1.2,VAR3*13,VAR3/13),13);

       VAR5:=LLV(LOW,34);

       VAR6:=HHV(VAR4,34);

       VAR7:=IF(LLV(LOW,56),1,0);

       平台:=CROSS(C,YLX);

       VAR8:=EMA(IF(LOW =VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7;

       主力进场:=VAR8 REF(VAR8,1);

       进场:=ref(主力进场,1);

       进:(进场and平台突破);


    公式解读:


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信精准买卖公式(通道强力买卖)源码分享 加入收藏