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

    正文概述    2024-04-07 10:31:39  
    DA1:=IF(130 TOTALBARSCOUNT,TOTALBARSCOUNT,130);
    DA:=IF(CURRBARSCOUNT DA1,0,DA1);
    HI:=REFDATE(HHV(H,DA),DATE);
    LO:=REFDATE(LLV(L,DA),DATE);
    C1:=IF(CURRBARSCOUNT =DA,C,DRAWNULL);
    GZ:=EXP(LN(HI/LO)/10);
    LH1:=SUM(IF(C1 =(HI/GZ),V,0),DA);
    LH2:=SUM(IF(C1 =(HI/POW(GZ,2)) AND C1 (HI/GZ),V,0),DA);
    LH3:=SUM(IF(C1 =(HI/POW(GZ,3)) AND C1 (HI/POW(GZ,2)),V,0),DA);
    LH4:=SUM(IF(C1 =(HI/POW(GZ,4)) AND C1 (HI/POW(GZ,3)),V,0),DA);
    LH5:=SUM(IF(C1 =(HI/POW(GZ,5)) AND C1 (HI/POW(GZ,4)),V,0),DA);
    LH6:=SUM(IF(C1 =(HI/POW(GZ,6)) AND C1 (HI/POW(GZ,5)),V,0),DA);
    LH7:=SUM(IF(C1 =(HI/POW(GZ,7)) AND C1 (HI/POW(GZ,6)),V,0),DA);
    LH8:=SUM(IF(C1 =(HI/POW(GZ,8)) AND C1 (HI/POW(GZ,7)),V,0),DA);
    LH9:=SUM(IF(C1 =(LO*GZ) AND C1 LO*POW(GZ,2),V,0),DA);
    LH10:=SUM(IF(C1 =LO AND C1 LO*GZ,V,0),DA);
    L1:=REFDATE(HHV(LH1,DA),DATE),LINETHICK0;
    L2:=REFDATE(HHV(LH2,DA),DATE),LINETHICK0;
    L3:=REFDATE(HHV(LH3,DA),DATE),LINETHICK0;
    L4:=REFDATE(HHV(LH4,DA),DATE);
    L5:=REFDATE(HHV(LH5,DA),DATE);
    L6:=REFDATE(HHV(LH6,DA),DATE);
    L7:=REFDATE(HHV(LH7,DA),DATE);
    L8:=REFDATE(HHV(LH8,DA),DATE);
    L9:=REFDATE(HHV(LH9,DA),DATE);
    L10:=REFDATE(HHV(LH10,DA),DATE);
    SS:=(L1+L2+L3+L4+L5+L6+L7+L8+L9+L10);
    STICKLINE(CEILING(DA*L1/SS)*3 =CURRBARSCOUNT,HI*99/100,HI/GZ,9,0)COLOR666600,LINETHICK3;
    STICKLINE(CEILING(DA*L2/SS)*3 =CURRBARSCOUNT,HI/POW(GZ,1)*99/100,HI/POW(GZ,2),9,0)COLOR666600,LINETHICK3;
    STICKLINE(CEILING(DA*L3/SS)*3 =CURRBARSCOUNT,HI/POW(GZ,2)*99/100,HI/POW(GZ,3),9,0)COLOR666600,LINETHICK3;
    STICKLINE(CEILING(DA*L4/SS)*3 =CURRBARSCOUNT,HI/POW(GZ,3)*99/100,HI/POW(GZ,4),9,0)COLOR666600,LINETHICK3;
    STICKLINE(CEILING(DA*L5/SS)*3 =CURRBARSCOUNT,HI/POW(GZ,4)*99/100,HI/POW(GZ,5),9,0)COLOR666600,LINETHICK3;
    STICKLINE(CEILING(DA*L6/SS)*3 =CURRBARSCOUNT,HI/POW(GZ,5)*99/100,HI/POW(GZ,6),9,0)COLOR666600,LINETHICK3;
    STICKLINE(CEILING(DA*L7/SS)*3 =CURRBARSCOUNT,HI/POW(GZ,6)*99/100,HI/POW(GZ,7),9,0)COLOR666600,LINETHICK3;
    STICKLINE(CEILING(DA*L8/SS)*3 =CURRBARSCOUNT,LO*POW(GZ,2),LO*POW(GZ,3)*99/100,9,0)COLOR666600,LINETHICK3;
    STICKLINE(CEILING(DA*L9/SS)*3 =CURRBARSCOUNT,LO*POW(GZ,1),LO*POW(GZ,2)*99/100,9,0)COLOR666600,LINETHICK3;
    STICKLINE(CEILING(DA*L10/SS)*3 =CURRBARSCOUNT,LO,LO*POW(GZ,1)*99/100,9,0)COLOR666600,LINETHICK3;

    {--------------------}
    {DRAWGBK(C 0, RGB(0,0,50),RGB(00,0,0),0,0,1);}
    Z1:=STRCAT(HYBLOCK,' ');
    Z2:=STRCAT(Z1,DYBLOCK);
    Z3:=STRCAT(Z2,' ');
    Z4:DRAWTEXT_FIX(ISLASTBAR,0,0,0,STRCAT(Z3,GNBLOCK)),COLORRED;
    DRAWTEXT_FIX(ISLASTBAR,0.001,0.050,0,GNBLOCK),COLORCYAN;{概念};
    DRAWTEXT_FIX(ISLASTBAR,0.002,0.1,0,ZDBLOCK);
    LHB:SIGNALS_USER(4,1);
    DRAWTEXT(LHB,H,'龙虎'),COLORWHITE;
    AHC1:=CLOSE*VOL;
    AHC2:=EMA((EXPMA(AHC1,3)/EXPMA(VOL,3)+EXPMA(AHC1,6)/EXPMA(VOL,6)+EXPMA(AHC1,12)/EXPMA(VOL,12)+EXPMA(AHC1,24)/EXPMA(VOL,24))/4,13),COLORYELLOW;
    ZT:=REF(C,1)*1.1-C 0.01 AND H=C;
    顶:=1.3*AHC2;
    内上:=1.06*AHC2;
    内下:=AHC2*0.94;
    底:=AHC2*0.87,DOTLINE,COLORGREEN;

    IF((内上 = REF(内上,1)),内上,DRAWNULL),COLORGREEN,DOTLINE,LINETHICK2;
    IF((内上 = REF(内上,1)),内上,DRAWNULL),COLORMAGENTA,DOTLINE,LINETHICK2;
    IF((内下 = REF(内下,1)),内下,DRAWNULL),COLORGREEN,DOTLINE,LINETHICK2;
    IF((内下 = REF(内下,1)),内下,DRAWNULL),COLORMAGENTA,DOTLINE,LINETHICK2;
    爆:=REF(O 内上,1) AND C 内上 AND O
    牛股:=C 内上 AND O
    AR:=BARSLAST(牛股);
    DRAWKLINE(H,O,L,C);
    STICKLINE( 牛股 AND C O,C,O,3.2,0),COLOR000066;
    STICKLINE(牛股 AND C O,C,O,2.0,0),COLOR000077;
    STICKLINE(牛股 AND C O,C,O,1.5,0),COLOR000099;
    STICKLINE(牛股 AND C O,C,O,0.9,0),COLOR0000CC;
    STICKLINE(牛股 AND C O,C,O,0.5,0),COLOR0000FF;
    STICKLINE(牛股 AND C O,O,C,0,0),COLORFFFFFF;

    STICKLINE( 牛股 AND C O,L,H,0,0),COLOR009900;
    STICKLINE( 牛股 AND C O,C,O,3.2,0),COLOR009900;
    STICKLINE( 牛股 AND C O,C,O,2.5,0),COLOR00BB00;
    STICKLINE(牛股 AND C O,C,O,1.5,0),COLOR00DD00;
    STICKLINE(牛股 AND C O,C,O,0.5,0),COLOR00FF00;
    STICKLINE(牛股 AND C O,C,O,0,0),COLORFFFFFF;

    LC:=REF(CLOSE,1);
    操作线:=SMA(MAX(CLOSE-LC,0),2,1)/SMA(ABS(CLOSE-LC),2,1)*100;
    操作线1:=SMA(MAX(CLOSE-LC,0),20,1)/SMA(ABS(CLOSE-LC),20,1)*100;
    潜伏:=操作线 10 AND 内上 =REF(内上,1);
    DRAWTEXT(潜伏,L,'伪装潜伏'),COLORYELLOW;



    通达信伪装潜伏主图源码 选股
    选股:
    AHC1:=CLOSE*VOL;
    AHC2:=EMA((EXPMA(AHC1,3)/EXPMA(VOL,3)+EXPMA(AHC1,6)/EXPMA(VOL,6)+EXPMA(AHC1,12)/EXPMA(VOL,12)+EXPMA(AHC1,24)/EXPMA(VOL,24))/4,13),COLORYELLOW;
    ZT:=REF(C,1)*1.1-C 0.01 AND H=C;
    顶:=1.3*AHC2;
    内上:=1.06*AHC2;

    LC:=REF(CLOSE,1);
    操作线:=SMA(MAX(CLOSE-LC,0),2,1)/SMA(ABS(CLOSE-LC),2,1)*100;
    操作线1:=SMA(MAX(CLOSE-LC,0),20,1)/SMA(ABS(CLOSE-LC),20,1)*100;
    潜伏:操作线 10 AND 内上 =REF(内上,1);


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信伪装潜伏主图源码 选股 加入收藏