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

    正文概述    2024-04-13 12:19:38  

    T:=SUM(MAX(MAX(HIGH-LOW,Abs(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),14);
    HD:=HIGH-REF(HIGH,1);
    LD:=REF(LOW,1)-LOW;
    MP:=SUM(IF(HD>0&&HD>LD,HD,0),14);
    MM:=SUM(IF(LD>0&&LD>HD,LD,0),14);
    PD:=MP*100/T;
    MD:=MM*100/T;
    A:=PD-MD>=0;
    B:=PD-MD<0;
    D:=(PD-MD);
    DD:=D>=0;
    STICKLINE(DD,0,D,3,0),COLOR000055;
    STICKLINE(DD,0,D,2.8,0),COLOR000066;
    STICKLINE(DD,0,D,2.5,0),COLOR000077;
    STICKLINE(DD,0,D,2.2,0),COLOR000088;
    STICKLINE(DD,0,D,1.7,0),COLOR000099;
    STICKLINE(DD,0,D,1.2,0),COLOR0000AA;
    STICKLINE(DD,0,D,0.7,0),COLOR0000CC;
    STICKLINE(DD,0,D,0.2,0),COLOR0000FF;
    F:=(PD-MD);
    FF:=F<0;
    STICKLINE(FF,0,F,3,0),COLOR009900;
    STICKLINE(FF,0,F,2,0),COLOR00BB00;
    STICKLINE(FF,0,F,1,0),COLOR00DD00;
    STICKLINE(FF,0,F,0.3,0),COLOR00FF00;
    连续走强:BArslASTCOUNT(D>=REF(D,1)),COLORYELLOW,NODRAW;
    STICKLINE(连续走强>=2,0,D,0,0),COLORYELLOW;
    强中阴:EVERY(D>0,3) AND 连续走强>=1 AND CLOSESTICKLINE(EVERY(D>0,3) AND 连续走强>=1 AND CLOSE


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信量化交易参考指标公式 加入收藏