最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 通达信大小暖气带主图源码

    正文概述    2024-04-14 15:33:16  

    DRAWBAND(MA(C,5),RGB(150,0,0) ,MA(C,10),RGB(0,50,0));
     DRAWKLINE(H,O,L,C);
     DRAWBAND(MA(C,60),RGB(200,0,0) ,MA(C,120),RGB(0,90,0));
     DRAWKLINE(H,O,L,C);
     DRAWTEXT_FIX(1,0.00,0,0,'行业:')COLOR0080FF;
     DRAWTEXT_FIX(1,0.07,0,0,HYBLOCK)COLOR0080FF;
     DRAWTEXT_FIX(1,0.20,0,0,'地区:')COLOR00FFFF;
     DRAWTEXT_FIX(1,0.25,0,0,DYBLOCK)COLOR00FFFF;
     DRAWTEXT_FIX(1,0.00,0.08,0,'主营业务:')COLORFF00FF;
     DRAWTEXT_FIX(1,0.07,0.08,0,EXTERNSTR(0,2))COLORFF00FF;
     DRAWTEXT_FIX(1,0.00,0.15,0,'千股千评:')COLOR0000FF;
     DRAWTEXT_FIX(1,0.08,0.15,0,EXTERNSTR(0,1))COLOR0000FF;
     DRAWBAND(MA(C,5),RGB(255,50,100),MA(C,10),RGB(10,200,10));
     DRAWKLINE(H,O,L,C);
     MA5:MA(CLOSE,5),NODRAW;
     MA10:MA(CLOSE,10),COLORCC66FF;
     MA20:MA(CLOSE,20),COLORFFCC66,LINETHICK3;
     MA60:MA(CLOSE,60),COLOR00FF99,LINETHICK3;
     MA120:MA(C,120),COLORGRAY;
    年:MA(CLOSE,240),LINETHICK3,COLORWHITE;
     DRAWTEXT(CROSS(MA60,MA120),MA60,'牛'),COLORYELLOW,LINETHICK4;
     DRAWTEXT(CROSS(MA120,MA60),MA60,'熊'),COLORWHITE,LINETHICK2;
     VAR3:=LLV(HIGH,240);
     VAR4:=100*(CLOSE-VAR3)/VAR3;
     VAR5:=(CLOSE-LLV(LOW,528))/(HHV(HIGH,528)-LLV(LOW,528))*100;
     VAR6:=(CLOSE-LLV(CLOSE,530))/(HHV(CLOSE,530)-LLV(CLOSE,530))*100;
     VAR7:=0;
     VAR8:=SMA(MAX(CLOSE-REF(CLOSE,1),0),34,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),7,1)*100;
     VAR9:=SMA(MAX(CLOSE-REF(CLOSE,1),0),13,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),13,1)*100;
     VAR10:=IF(TROUGHBARS(3,16,1)=0 AND HIGH>LOW+0.04,4,0);
     VAR11:=ZIG(3,6)>REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)<=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)<=REF(ZIG(3,6),3);
     VAR12:=ZIG(3,6)=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)>=REF(ZIG(3,6),3);
     VAR13:=ZIG(3,22)>REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)<=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)<=REF(ZIG(3,22),3);
     VAR14:=ZIG(3,22)=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)>=REF(ZIG(3,22),3);
     VAR15:=ZIG(3,51)>REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)<=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)<=REF(ZIG(3,51),3);
     VAR16:=ZIG(3,51)=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)>=REF(ZIG(3,51),3);
     VAR17:=ZIG(3,72)>REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)<=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)<=REF(ZIG(3,72),3);
     VAR18:=ZIG(3,72)=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)>=REF(ZIG(3,72),3);
     VAR19:=EMA(CLOSE,2)-EMA(CLOSE,150);
    买1:=VAR10;
    买2:=(VAR11+VAR13+VAR15+VAR17);
    卖1:=(VAR12+VAR14+VAR16+VAR18);
     B:IF(买1>0 OR 买2>0,LOW*0.99,DRAWNULL),CROSSDOT,LINETHICK3,COLORYELLOW;
     DRAWTEXT(买1>0 OR 买2>0,LOW*0.99,'买'),COLORRED;
     S:IF(卖1>0,HIGH*1.01,DRAWNULL),CROSSDOT,LINETHICK3,COLORGREEN;
     DRAWTEXT(卖1>0,HIGH*1.02,'卖'),COLORGREEN;
     DRAWICON((ZIG(3,5)>REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)<=REF(ZIG(3,5),2)) AND (REF(ZIG(3,5),2)<=REF(ZIG(3,5),3)),LOW*0.98,1) ;
     DRAWICON((ZIG(3,5)=REF(ZIG(3,5),2)) AND (REF(ZIG(3,5),2)>=REF(ZIG(3,5),3)),HIGH*1.01,2);
     ZB:=EMA(EMA(VAR3,5),5)*3, COLORSTICK;
     VARA:=IF(VAR9 AND CROSS(MA(CLOSE,3),MA(CLOSE,5)),20,0);
     K:=EMA(VAR7,5)*2, , COLORFF00FF;
     D:=EMA(K,5), , COLORWHITE;
     J:=K*3-D*2, ,COLORYELLOW;
     VARB:=BETWEEN(CLOSE,MA(CLOSE,3),MA(CLOSE,5)) AND J>10;
     HS:=VOL/CAPITAL*100, , COLORGREEN;
     VARE:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;
     VARF:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
     DRAWTEXT(VAR11 AND COUNT(VAR11,30)=1,LOW*0.95,'机构进场'),LINETHICK1,COLORFF00FF;
     VAR1A:=IF(VARE>0,VARE,0);
     VAR1B:=IF(VAR14>=200 AND VAR13>=150,15,IF(VAR14<=-200 AND VAR13<=-150,-15,VAR16))+60;
     VAR1C:=VAR1A>48 AND VAR1B>60 AND VAR19<100;
     DRAWTEXT(VAR1C AND COUNT(VAR1C,30)=1,LOW*0.95,'大顶(底)') COLORWHITE;
     {45度异动}
    X1:=(C+L+H)/3;
     BB13:=ATAN(EMA(X1,13)-REF(EMA(X1,13),1))*3.1416*10;
     EMA8:=EMA(C,8);
     DRAWTEXT(FILTER(BB13>1 AND EMA(X1,13)>REF(EMA(X1,8),1),10),
     EMA8,'∠45上升'),COLORYELLOW;

    AAA:=(3*C+H+L+O)/6;
     VAR41:=(8*AAA+7*REF(AAA,1)+6*REF(AAA,2)+5*REF(AAA,3)+4*REF(AAA,4)+3*REF(AAA,5)+2*REF(AAA,6)+REF(AAA,8))/36;
     TJ1:=VOL=HHV(VOL,10) AND VOL>2*REF(VOL,1) AND CLOSE>VAR41;
    立桩量:=FILTER(TJ1,5);
     TJ2:=IF(BARSLAST(立桩量)=1 AND CLOSE>REF(HIGH,1),1,IF(BARSLAST(立桩量)=2 AND CLOSE>REF(HIGH,2),1,IF(BARSLAST(立桩量)=3 AND CLOSE>REF(HIGH,3),1,0)));
    突破:=TJ2=1;
     TJ3:=IF(BARSLAST(立桩量)=1 AND CLOSE>REF(LOW,1),1,IF(BARSLAST(立桩量)=2 AND CLOSE>REF(LOW,2),1,IF(BARSLAST(立桩量)=3 AND CLOSE>REF(LOW,3),1,0)));
    三天法则:=TJ3=1;
    成立:=三天法则 AND 突破;
    条件成立:=FILTER(成立,3);
     DRAWTEXT(条件成立,L*0.99,'立桩量'),COLORYELLOW;
     V1:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
     V2:=(1-7/100)*(DMA(CLOSE,V1));
     V3:=(1+7/100)*(DMA(CLOSE,V1));
    支撑:REFDATE(V2,DATE),POINTDOT,LINETHICK3,COLORCC66FF;
    阻力:REFDATE(V3,DATE),POINTDOT,LINETHICK3,COLORGREEN;STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,3,0),COLORFF7700;
     STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,2.2,0),COLORFF9900;
     STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,1.5,0),COLORFFBB00;
     STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,0.5,0),COLORCYAN;


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信大小暖气带主图源码 加入收藏