最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 飞狐飘零M.K.R副图指标

    正文概述    2024-04-14 15:11:37  

    源码

    input:short(12),long(26),m(9),n1(6),n2(12),n3(24);
    DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
    DEA:=EMA(DIFF,9);
    MACD:=2*(DIFF-DEA);
    STICKLINE(MACD>=0 AND MACD>=REF(MACD,1),0,MACD,1,0),COLORRED;
    STICKLINE(MACD>=0 AND MACD<=REF(MACD,1),0,MACD,1,0),COLORGREEN;
    STICKLINE(MACD<=0 AND MACD>=REF(MACD,1),0,MACD,1,0),COLORYELLOW;
    STICKLINE(MACD<=0 AND MACD<=REF(MACD,1),0,MACD,1,0),COLORBLUE;

    AC : EMA(CLOSE,SHORT) - EMA(CLOSE,LONG),COLORMAGENTA;
    AD  : EMA(DIFF,M),COLORMAGENTA,LINETHICK2;

    LC := REF(CLOSE,1);
    RSI1:SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*4,COLORGREEN;
    RSI2:SMA(MAX(CLOSE-LC,0),N2,1)/SMA(ABS(CLOSE-LC),N2,1)*4,COLORGREEN,LINETHICK2;
    VAR1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*2;
    K:SMA(VAR1,3,1),COLORRED;
    D:SMA(K,3,1),COLORRED,LINETHICK2;


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 飞狐飘零M.K.R副图指标 加入收藏