最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 通达信KMACD指标,提示买卖点,涨停标志,二市涨跌家数

    正文概述    2024-04-13 11:47:21  

    KMACD指标,提示买卖点,涨停标志,二市涨跌家数

    需要通达信公式编辑器5.0版本,可适用
     

    源码
    LONG 10 200 26
    SHORT 2 20 12
    MID 200 9
    N 1 100 9
     

    DIF:EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);
    DEA:EMA(DIF,MID);
    MACD:(DIF-DEA)*2,COLORSTICK,COLOR0000FF;
    VAR3:=HHV(HIGH,60);
    VAR4:=LLV(LOW,30);
    VAR5:=(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100;
    VAR6:=(VAR3+VAR4+VAR5)/3;
    VAR7:=EMA(VAR6,5);
    K:=EMA(VAR7,5)*2, COLORFF00FF;
    D:=EMA(K,5), COLORWHITE;
    J:=K*3-D*2, COLORYELLOW;
    ENTERLONG:=CROSS(K,D);
    EXITLONG:=CROSS(D,K);
    B:=(DRAWICON((ZIG(3,5)>REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)<=REF(ZIG(3,5),2))
    AND (REF(ZIG(3,5),2)<=REF(ZIG(3,5),3)),L*0.98,1))*D*2/3;
    Q:=(DRAWICON((ZIG(3,5)=REF(ZIG(3,5),2))
    AND (REF(ZIG(3,5),2)>=REF(ZIG(3,5),3)),H*1.01,2))*D*2/3;
    超B:=L2_AMO(0,2)/10000.0;
    大B:=L2_AMO(1,2)/10000.0;
    中B:=L2_AMO(2,2)/10000.0;
    小B:=L2_AMO(3,2)/10000.0;
    超S:=-L2_AMO(0,3)/10000.0;
    大S:=-L2_AMO(1,3)/10000.0;
    中S:=-L2_AMO(2,3)/10000.0;
    小S:=-L2_AMO(3,3)/10000.0;
    资金净流入万:(超B+大B+中B+小B)+(超S+大S+中S+小S),NODRAW,COLORWHITE;
    买进:B,STICK,LINETHICK2,COLORYELLOW;
    卖出:Q,STICK,LINETHICK2,COLORGREEN;
    涨家数:INDEXADV,COLOR0080FF,NODRAW;
    跌家数:INDEXDEC,COLORGREEN,NODRAW;

    TJ1:=(C+0.01-REF(C,1))/REF(C,1)*100;
    TJ2:=(C-0.01-REF(C,1))/REF(C,1)*100;
    TJ3:=(C-REF(C,1))/REF(C,1)*100;
    Q1:=IF(TJ1>10.05,1,0);
    Q2:=IF(TJ2<9.95 AND TJ3>=9.95,1,0);
    涨停板:IF(Q1 OR Q2,0.5,0),COLORFF00FF;


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信KMACD指标,提示买卖点,涨停标志,二市涨跌家数 加入收藏