最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 三色指标公式源码 主力状态三色指标公式源码

    正文概述    2024-05-04 04:14:21  
    三色指标公式源码


    DRAWTEXT_FIX(1,0.0,0.00,0,EXTERNSTR(0,1))COLOR0077FF;

    EXP1:EXPMA(CLOSE,M1)LINETHICK2;

    EXP2:EXPMA(CLOSE,M2)LINETHICK2;

    A:IF(CLOSE SAR(N,S,M),SAR(N,S,M),DRAWNULL),CIRCLEDOT,COLORRED;

    B:IF(CLOSE SAR(N,S,M),SAR(N,S,M),DRAWNULL),CIRCLEDOT,COLORCYAN;

    高 1:=REF(HHV(H,150),3);

    低 1:=REF(LLV(L,150),3);

    H3:=高 1-(高 1-低 1)*0.5;

    中轴:REFDATE(H3,DATE),POINTDOT,COLORLIGRAY,LINETHICK3;

    B1:=EMA(C,12);

    B2:=EMA(C,26);

    B3:=(B1-B2)*2;

    WDIF:中轴+B3,COLORFF00FF,LINETHICK2;

    WDEA:EMA(WDIF,9),LINETHICK2;

    MACD:=2*(WDIF-WDEA);

    STICKLINE(MACD 0,中轴,中轴+MACD,0,1),COLORYELLOW;

    STICKLINE(MACD 0,中轴,中轴+MACD,0,1),COLORLIBLUE;

    股价趋

    势:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2

    *SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,

    1);

    买入信号:STICKLINE(CROSS(股价,10),L*0.97,L,6,0)COLORLIMAGENTA

    image.png



     状态三色指标公式源码

    QB:=(H-L);

    SY:=(H-MAX(C,O))/QB*100/100;

    ST:=(MAX(C,O)-MIN(C,O))/QB*100/100;

    XY:=(MIN(C,O)-L)/QB*100/100;

    STICKLINE((C O OR (C=O AND C =REF(C,1))) AND

    L!=O,0,VOL*XY,2,0),COLORYELLOW;

    STICKLINE(C O OR (C=O AND C =REF(C,1)),VOL*XY,VOL*XY+VOL*ST,2,0),COLORRED;

    STICKLINE((C O OR (C=O AND C =REF(C,1))) AND

    H!=C,VOL*ST+VOL*XY,VOL,2,0),COLORGREEN;

    STICKLINE((C O OR (C=O AND C REF(C,1))) AND L!=C,0,VOL*XY,2,0),COLORYELLOW;

    STICKLINE(C O OR (C=O AND C REF(C,1)),VOL*XY,VOL*XY+VOL*ST,2,0),COLORCYAN;

    STICKLINE((C O OR (C=O AND C REF(C,1))) AND

    H!=O,VOL*ST+VOL*XY,VOL,2,0),COLORGREEN;

    image.png

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 三色指标公式源码 主力状态三色指标公式源码 加入收藏