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

    正文概述    2024-04-07 18:51:04  
    PR:100-ABS(ZEROLAGEMA) COLORRED LINETHICK1;
    MOVEAVG:MA(PR,5) COLORWHITE LINETHICK1;
    K:=15;
    FFILTER:=(K/100)*STD(PR-REF(PR,1),10);
    XA:=IF(PR REF(PR,1),PR,0);
    XN:=BARSLAST(XA
    AMALOW:=REF(PR,XN);
    YA:=IF(PR REF(PR,1),PR,0);
    YN:=BARSLAST(YA
    AMAHIGH :=REF(PR,YN);
    RR:=IF( AMAHIGH-PR FFILTER,-1,0) ;
    TT:=IF( PR- AMALOW FFILTER,1,RR) ;
    {PARTLINE(TT=1,PR) , COLORRED , LINETHICK2;
    PARTLINE(TT= -1,PR) , COLORGREEN , LINETHICK2;
    PARTLINE(TT= 0,PR) , COLORWHITE , LINETHICK2;}
    IF(TT=1,PR,DRAWNULL), COLORRED , LINETHICK4;
    IF(TT=-1,PR,DRAWNULL), COLORGREEN , LINETHICK2;
    IF(TT=0,PR,DRAWNULL), COLORWHITE , LINETHICK2;
    80 COLORBROWN LINETHICK1;
    20 COLORBROWN LINETHICK1;
    红线刚出的时候做选股
    R:=-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
    PERIODD:=10;
    EMA1:=EMA(R,PERIODD);
    EMA2:=EMA(EMA1,5);
    DIFFERENCE:=EMA1-EMA2;
    ZEROLAGEMA:=EMA1+DIFFERENCE;
    PR:=100-ABS(ZEROLAGEMA);
    MOVEAVG:=MA(PR,5);
    K:=15;
    FFILTER:=(K/100)*STD(PR-REF(PR,1),10);
    XA:=IF(PR REF(PR,1),PR,0);
    XN:=BARSLAST(XA
    AMALOW:=REF(PR,XN);
    YA:=IF(PR REF(PR,1),PR,0);
    YN:=BARSLAST(YA
    AMAHIGH :=REF(PR,YN);
    RR:=IF( AMAHIGH-PR FFILTER,-1,0) ;
    TT:CROSS(PR- AMALOW FFILTER,0.5);


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 顺势而为及选股源码(通达信副图 源码) 加入收藏