最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • macd指标上标注近期最高值和最低值!!!附公式源码

    正文概述    2024-04-07 22:59:37  

    macd指标上标注近期最高值和最低值!!!附公式源码

    INPUT:LONG(26,20,100),SHORT(12,5,40),m(9,2,60);
    DIFF : EMA(CLOSE,SHORT) - EMA(CLOSE,LONG);
    DEA : EMA(DIFF,M);
    MACD : 2*(DIFF-DEA), COLORSTICK;
    高:=HHVALL(DIFF);
    低:=LLVALL(DIFF);
    DRAWTEXT(FILTER( 高=DIFF ,高) ,DIFF*1.2,' DIFF高值:'+NUMTOSTRN(高,2)+' '),LAYER0,ALIGN2 ,color00ffff;
    DRAWTEXT(FILTER( 低=DIFF ,低) ,DIFF*0.9,' '+NUMTOSTRN(低,2)+':DIFF低值'),LAYER0 ,color00ff00;
    VERTLINE(高=DIFF,2 ),LAYER7,color001199;
    VERTLINE(低=DIFF,2 ),LAYER7,color005500;


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » macd指标上标注近期最高值和最低值!!!附公式源码 加入收藏