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

    正文概述    2024-04-13 00:10:56  

    源码

    {黄金分割线+江恩八分线 }
    input:K(1,1,3);            
    DRAWGBKLAST(C>0,STRIP(RGB(90,90,90),RGB(0,0,0),0));
    DRAWTEXTREL(0,3,'代码:'+STKLABEL),ColorFFFFFF;

    ①20:eMA(CLOSE,20);
    ②40:eMA(CLOSE,40);
    ③60:eMA(CLOSE,60);
    ④80:eMA(CLOSE,80);
    ⑤100:eMA(CLOSE,100);
    ⑥120:eMA(CLOSE,120);
    ⑦140:eMA(CLOSE,140);
    DIFF:=( EMA(CLOSE,7) - EMA(CLOSE,19));
    DEA:=EMA(DIFF,9);
    MACD:=0.90*(DIFF-DEA);
    tj:=(diff>=dea);
    tj1:=(diff>=0);
    stickline(tj,h,l,0,0),COLORyellow;
    stickline(tj,o,c,8,0),COLORyellow;
    stickline(tj1 and tj,h,l,0,0),colorred;
    stickline(tj1 and tj,o,c,8,0),colorred;
    stickline(diff stickline(diff Var1:=(CLOSE*2+HIGH+LOW)/4;
    SK:= EMA(Var1,13)-EMA(Var1,73);
    SD:= EMA(SK,2);
    drawtext((cross(sk,sd) and sk<-0.04 and (c-ref(c,1))/ref(c,1)>=0.03) or (cross(sk,sd) and sk<=-0.14 )
    or (cross(sk,sd) and sk<=0.05 and (v/ma(v,5)>2 or c/ref(c,1)>0.035)) ,l*0.99,'短线'),colorgreen;
    stickline((cross(sk,sd) and sk<-0.04 and (c-ref(c,1))/ref(c,1)>=0.03) or (cross(sk,sd) and sk<=-0.14 )
    or (cross(sk,sd) and sk<=0.05 and (v/ma(v,5)>2 or c/ref(c,1)>0.035)),h,l,0.5,0),colorred;
    stickline((cross(sk,sd) and sk<-0.04 and (c-ref(c,1))/ref(c,1)>=0.03) or (cross(sk,sd) and sk<=-0.14 )
    or (cross(sk,sd) and sk<=0.05 and (v/ma(v,5)>2 or c/ref(c,1)>0.035)),o,c,10,1),linethick3,colorred;


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 大智慧江恩月线主图指标 加入收藏