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

    正文概述    2024-04-13 11:27:53  

    {济安线 N: 2 100 10}
    AAQ:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,N))/MA(CLOSE,N);
    济安线:DMA((2*CLOSE+LOW+HIGH)/4,AAQ),LINETHICK3,COLORMAGENTA;
    CCQ:=(CLOSE/济安线);
    MA9:=MA(CCQ*(2*CLOSE+HIGH+LOW)/4,3);
    MAAA:=((MA9-济安线)/济安线)/3;
    TMP:=MA9-MAAA*MA9;
    J:IF(TMP<=济安线,济安线,DRAWNULL),LINETHICK3,COLORCYAN;
    A:TMP,LINETHICK2,COLORYELLOW;
    X:IF(TMP<=济安线,TMP,DRAWNULL),LINETHICK2,COLORGREEN;

    HIGHN:=N;
    LOWN:=N;
    AA:=REF(H,HIGHN)=HHV(H,2*HIGHN+1);
    QY:=BACKSET(AA,HIGHN+1);
    CC:=FILTER(QY,HIGHN) AND H=HHV(H,HIGHN+1);
    DRAWICON(CC,H*1.02,2);
    DDD:=BARSLAST(CC);
    GDTS:=IF(CC,CURRBARSCOUNT,0);
    DINGBU:=IF(DDD,REF(H,DDD),H);{顶部}
    DINGBUTS:=IF(DDD,REF(GDTS,DDD),GDTS);
    DINGBU1:=REF(DINGBU,DDD+1);
    GDCS1:=CONST(DINGBUTS);
    DINGBUTS1:=REF(DINGBUTS,DDD+1);
    GDCS2:=CONST(DINGBUTS1);
    DINGBU2:=REF(DINGBU1,DDD+1);
    MM:=IF(CURRBARSCOUNT>GDCS2,0,1);
    上轨:DRAWLINE(CURRBARSCOUNT=GDCS2,H,CURRBARSCOUNT=GDCS1,H,1) COLORBLUE,LINETHICK1;
    DRAWLINE(CURRBARSCOUNT=GDCS2,H,ISLASTBAR,REF(H,GDCS2-1),1),COLOR0055FF,POINTDOT;
    DRAWLINE(CURRBARSCOUNT=GDCS1,H,ISLASTBAR,REF(H,GDCS1-1),1),COLORYELLOW,POINTDOT;
    AA1:=REF(L,LOWN)=LLV(L,2*LOWN+1);
    QY1:=BACKSET(AA1,LOWN+1);
    CC1:=FILTER(QY1,LOWN) AND L=LLV(L,LOWN+1);
    DRAWICON(CC1,L*0.98,1);
    DD1:=BARSLAST(CC1);
    DDTS:=IF(CC1,CURRBARSCOUNT,0);
    YDB:=IF(DD1,REF(L,DD1),L);
    DDTS1:=IF(DD1,REF(DDTS,DD1),DDTS);
    DDCS1:=CONST(DDTS1);
    ZDB:=REF(YDB,DD1+1);
    DDTS2:=REF(DDTS1,DD1+1);
    DDCS2:=CONST(DDTS2);
    下轨:DRAWLINE(CURRBARSCOUNT=DDCS2,L,CURRBARSCOUNT=DDCS1,L,1) COLORRED,LINETHICK1;
    ZGSTAR:=(上轨+下轨)/2;
    ZGEND:=CONST((上轨+下轨)/2);
    STARDAY:=IF(DDCS2 中轨:DRAWLINE(CURRBARSCOUNT=STARDAY,ZGSTAR,ISLASTBAR,ZGEND,1),COLORFF55BB,LINETHICK1;
    DRAWLINE(CURRBARSCOUNT=DDCS1,L,ISLASTBAR,REF(L,DDCS1-1),1),COLORMAGENTA,POINTDOT;
    DRAWLINE(CURRBARSCOUNT=DDCS2,L,ISLASTBAR,REF(L,DDCS2-1),1),COLORCYAN,POINTDOT;


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信量价相合指标源码 加入收藏