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

    正文概述    2024-04-14 15:10:01  

    {买卖牛K主图}
    V5:=EMA(CLOSE,1);主线:=EMA(V5,5) ;
    本:=EMA(HHV(主线,5),1);
    急进:=EMA(HHV(本,17),1);
    稳健:=EMA(HHV(急进,17),2);
    飞天:EMA(HHV(稳健,17),3),LINETHICK2, COLORWHITE;
     

    {底顶划线}
    BDGD:=CROSS(0.8,H=HHV(H,6));
    GDSJ:=BARSLAST(BDGD)+1;
    底:=REF(H,GDSJ),COLOR1EFF1E;
    BDDD:=CROSS(0.8,L=LLV(L,6));
    DDSJ:=BARSLAST(BDDD)+1;
    顶:=REF(L,DDSJ),COLOR7400E8;
    STICKLINE(GDSJ<=8,底,底,8,0),COLORGREEN;
    STICKLINE(DDSJ<=8,顶,顶,8,0),COLORMAGENTA;
    {支撑位 }
    支撑位:STICKLINE(CREF(O,1),REF(C,1),REF(C,1)*0.99998,15,0),COLORYELLOW;

    VAR1M:=REF(CLOSE,1);
    VAR2M:=MA(CLOSE,5);
    VAR3M:=SMA(MAX(CLOSE-VAR1M,0),6,1)/SMA(ABS(CLOSE-VAR1M),6,1)*100;
    VAR4M:=SMA(MAX(CLOSE-VAR1M,0),12,1)/SMA(ABS(CLOSE-VAR1M),12,1)*100;
    VAR5M:=SMA(MAX(CLOSE-VAR1M,0),24,1)/SMA(ABS(CLOSE-VAR1M),24,1)*100;
    VAR6M:=IF(CROSS(VAR3M,VAR5M),LOW,REF(LOW,BARSLAST(CROSS(VAR3M,VAR5M))));
    VAR7M:=IF(CROSS(VAR5M,VAR3M),HIGH,REF(HIGH,BARSLAST(CROSS(VAR5M,VAR3M))));
    VAR8M:=IF(CLOSE>=MA(CLOSE,20),80,50);
    VAR9M:=IF(CLOSE>=MA(CLOSE,20),50,20);
    VARAM:=IF(VAR3M=VAR8M,HHV(REF(HIGH,1),BARSLAST(VAR3M>=VAR8M AND REF(VAR3M,1)=VAR8M AND REF(VAR3M,1) VARBM:=IF(HIGH>VARAM,LOW,REF(LOW,BARSLAST(HIGH>VARAM)));
    VARCM:=IF(HIGH>VARAM,VAR3M,REF(VAR3M,BARSLAST(HIGH>VARAM)));
    VARDM:=IF(HIGH>VARBM AND VAR3MVARBM AND VAR3M VAREM:=IF(VAR3M>VAR9M AND REF(VAR3M,1)<=VAR9M,LLV(REF(LOW,1),BARSLAST(VAR3M<=VAR9M AND REF(VAR3M,1)>VAR9M)-1),REF(LLV(REF(LOW,1),BARSLAST(VAR3M<=VAR9M AND REF(VAR3M,1)>VAR9M)-1),BARSLAST(VAR3M>VAR9M AND REF(VAR3M,1))));
    VARFM:=IF(LOW VAR10M:=IF(LOW VAR11M:=IF(LOWVAR10M AND VAR3M>VAR5M,LOW,REF(LOW,BARSLAST(LOWVAR10M AND VAR3M>VAR5M)));
    支撑线:=VAR11M,COLORYELLOW,DOTLINE;
    压力线:=VARDM COLORCYAN,DOTLINE;
    MID:=MA(C,12);
    VART1:=POW((C-MID),2);
    VART2:=MA(VART1,12);
    VART3:=SQRT(VART2);
    UPPER:=MID+2*VART3;
    LOWER:=MID-2*VART3;
    BOLL:=REF(MID,1),COLORFFFFFF;
    UB:REF(UPPER,1),COLORGREEN;
    LB:=REF(LOWER,1),COLORFF00FF;
    BB:=V>MA(V,5) ;
    DD1:=V
    FL:=MA(CLOSE,17)+ABS(MA(CLOSE,17)-REF(MA(CLOSE,17),1)),COLORF4E202;
    FS:=MA(CLOSE,17)+MA(CLOSE,17)-REF(MA(CLOSE,17),1),COLORF4E202;
    CG:IF(MA(CLOSE,17)
    IF(C>CG,CG,DRAWNULL), COLORRED,LINETHICK2;
    SQS: IF(MA(VOL,3)>MA(VOL,5)>MA(VOL,9),SMA(CLOSE,3,1),SMA(CLOSE,5,1)),COLORFF99FF,LINETHICK2;
    重心:=AMOUNT/(100*V)COLORYELLOW;
     


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信买卖牛K主图源码 加入收藏