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

    正文概述    2024-04-14 00:03:31  
    F:=100*(C-REF(C,1))/REF(C,1);
    今小昨:=IF(C< REF(O,1) AND F< 0,1,0);
    S1:=今小昨;
    今小前:=IF(C< REF(O,2) AND F< 0,1,0),LINETHICK0;
    S2:=今小前;
    A1:=S1=0 AND REF(S1,1)=1 AND S2=0 AND REF(S2,1)=1 AND CROSS(ZIG(3,3) ,REF(ZIG(3 ,3),1));
    A2:=S1=0 AND REF(S1,1)=1 AND S2=0 AND REF(S2,1)=1 AND CROSS(ZIG(3,5) ,REF(ZIG(3 ,5),1));
    A3:=S1=0 AND REF(S1,1)=1 AND S2=0 AND REF(S2,1)=1 AND CROSS(ZIG(3,10) ,REF(ZIG(3 ,10),1));
    STICKLINE(A1=1 AND A2=1 ,0,3,1,0),COLORRED;
    STICKLINE(A1=1 AND A2=1 ,0,1,1,0),COLORBLUE;
    STICKLINE(A1=1 AND A2=1 AND A3=1,0,5,0.2,0),COLORYELLOW;
    STICKLINE(A1=1 AND A2=1 AND A3=1,0,3,1,0),COLORFF00FF;
    STICKLINE(A1=1 AND A2=1 AND A3=1,0,1,1,0),COLORBLUE;
    DRAWTEXT(A3=1,3.8,'长攻'),COLORRED;
    智勇出击: ZIG(3,6)>REF(ZIG(3,6),1)AND REF(ZIG(3,6),1)< REF(ZIG (3,6),2),COLORWHITE,LINETHICK2;
    DRAWTEXT(智勇出击=1,1.8,'采'),COLORYELLOW;
    小获且退: ZIG(3,10)< REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)>REF(ZIG (3,10),2),COLORYELLOW,LINETHICK2;
    DRAWTEXT(小获且退=1,2.3,'丢'),COLORWHITE;
    VAR3:=PEAKBARS(2,15,1)< 10;
    VAR4:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
    VAR5:=(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100;
    VAR6:=(VAR3+VAR4+VAR5)/3;
    VAR7:=EMA(VAR6,5);
    指标: EMA(EMA(VAR3,5),5)*3, COLORSTICK;
    VAR8:=IF(VAR6<=-20,10,0);
    VAR9:=HHV(VAR8,10);
    STICKLINE(VAR8=10,20,10,1,0),COLOR6666FF;
    VARA:=IF(VAR9 AND CROSS(MA(CLOSE,3),MA(CLOSE,5)),20,0);
    DRAWTEXT(VARA=20,15,'底部'),LINETHICK1,COLORWHITE;
    STICKLINE((VARA=20),0,10,1,0),COLORWHITE;
    VARC:=(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));
    VARD:=(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));
    STICKLINE((VARC=1),(-4),0,1,0),COLOR0000FF;
    DRAWTEXT((VARC=1),(8),'金'),COLORYELLOW;
    STICKLINE((VARD=1),4,0,1,0),COLOR00FF00;
    DRAWTEXT((VARD=1),10,'石'),COLOR00FF00;
    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);
    VAR10:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA ((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
    VAR11:=VARF< REF(VAR10,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);
    DRAWTEXT(VAR11 AND COUNT(VAR11,30)=1,15,'15短线购入'),LINETHICK1,COLORFF00FF;
    STICKLINE(VAR11 AND COUNT(VAR11,30)=1,1,10,1,0),COLORFF00FF;
    VAR12:=(HIGH+LOW+CLOSE)/3;
    VAR13:=(VAR12-MA(VAR12,14))/(0.015*AVEDEV(VAR12,14));
    VAR14:=(VAR12-MA(VAR12,70))/(0.015*AVEDEV(VAR12,70));
    VAR15:=IF(VAR13>=150 AND VAR13< 200 AND VAR14>=150 AND VAR14< 200,10,0);
    VAR16:=IF(VAR13<=-150 AND VAR13>-200 AND VAR14<=-150 AND VAR14>-200,-10,VAR15);
    VAR17:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;
    VAR18:=100-ABS(VAR17);
    VAR19:=IF(VAR18< 90,VAR18,100);
    N:=5;
    V1:=MA(HIGH,30)*1.15;
    V2:=MA(HIGH,3)*1.03;
    V3:=MA(LOW,3)*0.97;
    V4:=MA(LOW,30)*0.85;
    GET:ZIG(3,N),COLORFFFFFF;
    PL5:=ZIG(3,5);
    EN1:=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);
    EX1:=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);
    PL10:=ZIG(3,10);
    EN2:=ZIG(3,10)>REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)<=REF(ZIG(3,10),2) AND REF(ZIG (3,10),2)<=REF(ZIG(3,10),3);
    EX2:=ZIG(3,10)< REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)>=REF(ZIG(3,10),2) AND REF(ZIG (3,10),2)>=REF(ZIG(3,10),3);
    PL20:=ZIG(3,20);
    EN3:=ZIG(3,20)>REF(ZIG(3,20),1) AND REF(ZIG(3,20),1)<=REF(ZIG(3,20),2) AND REF(ZIG (3,20),2)<=REF(ZIG(3,20),3);
    EX3:=ZIG(3,20)< REF(ZIG(3,20),1) AND REF(ZIG(3,20),1)>=REF(ZIG(3,20),2) AND REF(ZIG (3,20),2)>=REF(ZIG(3,20),3);
    PL40:=ZIG(3,40);
    走强1:=BARSLAST(PL5< REF(PL5,1));
    走弱1:=BARSLAST(PL5>REF(PL5,1));
    走强2:=BARSLAST(PL10< REF(PL10,1));
    走弱2:=BARSLAST(PL10>REF(PL10,1));
    走强3:=BARSLAST(PL20< REF(PL20,1));
    走弱3:=BARSLAST(PL20>REF(PL20,1));
    ZTJZ5:=IF(PL10>REF(PL10,1),COUNT(EN1,走强2),0);
    ZTJD5:=IF(PL10>REF(PL10,1),COUNT(EX1,走强2),0);
    DTJZ5:=IF(PL10< REF(PL10,1),COUNT(EN1,走弱2),0);
    DTJD5:=IF(PL10< REF(PL10,1),COUNT(EX1,走弱2),0);
    ZTJZ10:=IF(PL20>REF(PL20,1),COUNT(EN2,走强3),0);
    ZTJD10:=IF(PL20>REF(PL20,1),COUNT(EX2,走强3),0);
    DTJZ10:=IF(PL20< REF(PL20,1),COUNT(EN2,走弱3),0);
    DTJD10:=IF(PL20< REF(PL20,1),COUNT(EX2,走弱3),0);
    DRAWTEXT(EN1 AND DTJZ5=1,L*0.98,'㈠下坑短升'),COLORFFFF00;
    DRAWTEXT(EX1 AND DTJD5=2,H*1.02,'㈡下坑跌空仓'),COLORFFFF00;
    DRAWTEXT(EN2 AND ZTJZ5=1,L*0.98,'㈢谷底小心不急'),COLOR550088;
    DRAWTEXT(EX1 AND PL10>REF(PL10,1) AND ZTJD5=1,H*1.02,'⑴上坡跌空仓'),COLOR0000FF;
    DRAWTEXT(EN1 AND PL10>REF(PL10,1) AND ZTJZ5=2,L*0.98,'⑵上坡升'),COLOR0000FF;
    DRAWTEXT(EX1 AND PL10>REF(PL10,1) AND ZTJZ5=2,H*1.02,'⑶上坡跌'),COLOR0000FF;
    DRAWTEXT(EN1 AND PL10>REF(PL10,1) AND ZTJZ5=3,L*0.98,'⑷'),COLOR0000FF;
    DRAWTEXT(EX2 AND PL20>REF(PL20,1) AND ZTJD10=1,H*1.02,'⑸'),COLOR0000FF;
    DRAWTEXT(EN2 AND DTJZ10=1,L*0.94,'Ⅰ上'),COLORFF6000;
    DRAWTEXT(EX2 AND DTJD10=2,H*0.96,'Ⅱ下空仓'),COLORFF6000;
    DRAWTEXT(EN3 AND ZTJZ10=1,L*1.08,'Ⅲ上坡在即'),COLORFF6000;
    DRAWTEXT(EX2 AND PL20>REF(PL20,1) AND ZTJD10=1,H*1.06,'①下跌空仓'),LINETHICK3,COLOR00FFFF;
    DRAWTEXT(EN2 AND PL20>REF(PL20,1) AND ZTJZ10=2,L*0.94,'②上升'),LINETHICK3,COLOR00FFFF;
    DRAWTEXT(EX2 AND PL20>REF(PL20,1) AND ZTJD10=2 OR (ZTJD10=0 OR ZTJD10=2) AND EX2,H*1.00,'③下坑空仓'),LINETHICK3,COLOR00FFFF;
    DRAWTEXT(EN2 AND PL20>REF(PL20,1) AND ZTJZ10=3,L*0.94,'④'),LINETHICK3,COLOR00FFFF;
     

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 金石抄底通达信指标 副图 源码 测试图 加入收藏