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

    正文概述    2024-04-13 00:26:57  

    VAR1:=(C-MA(C,6))/MA(C,6)*100;

    VAR2:=(C-MA(C,24))/MA(C,24)*100;

    VAR3:=(C-MA(C,32))/MA(C,32)*100;

    VAR4:=(VAR1+VAR2+VAR3)/3;

    VAR5:=EMA(VAR4,5);

    VAR6:=MA(100*(C-LLV(C,34))/(HHV(H,34)-LLV(L,34)),5)-20;

    VAR7:=SMA(SMA(100-3*(C-LLV(C,75))/(HHV(H,75)-LLV(L,75))*100,20,1)+SMA(2*(C-LLV(C,75))/(HHV(H,75)-LLV(L,75))*100,20,1),15,1);

    VAR8:=VAR7REF(V,1) AND C>REF(C,1);

    K:=EMA(VAR5,5)*4;

    D:EMA(K,5),linethick0,COLOR38B0DE;

    J:K*3-D*2,linethick0,COLORCC66FF;

    MACD:EMA(EMA(VAR1,5),5)*6,linethick0,COLORWHITE;

    {DRAWBAND(K,RGB(238,238,6),D,RGB(256,150,60));}

     

    FILLRGN(k,d,k>d,rgb(238,238,6),k

    STICKLINE(MACD>0,0,MACD,4,0),COLORRED;

    STICKLINE(MACD>0 AND MACD

    STICKLINE(MACD<0,0,MACD,4,0),COLORFF9900;

    STICKLINE(MACD<0 AND MACD>REF(MACD,1),0,MACD,4,0),COLORFF00FF;

    {看多:IF(LLV(VAR6,3)

    partline(-40,LLV(VAR6,3)

    {看空:IF(VAR6=LLV(VAR6,3),-60,DRAWNULL),LINETHICK7,COLORGREEN;}

    partline(-40,VAR6=LLV(VAR6,3),rgb(0,255,0)),LINETHICK7;

    {中短线:IF(J>D,-50,DRAWNULL),LINETHICK7,COLORCC66FF;}

    partline(-30,j>0,rgb(255,125,255)),LINETHICK7;

    {超短线:IF(VAR8>0,-40,DRAWNULL),LINETHICK7,COLORYELLOW;}

    partline(-20,var8>0,rgb(255,255,0)),LINETHICK7;

    {不定区:IF(J

    partline(-30,j<0,rgb(255,153,0)),LINETHICK7;

    {龙虎战区:IF(VAR8=0,-40,DRAWNULL),LINETHICK5,COLOR999999;}

    partline(-20,var8=0,rgb(153,153,153)),LINETHICK5;


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 大智慧三色K线源码副图 加入收藏