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

    正文概述    2024-04-14 15:43:38  

    INPUT:N(80,1,999),M(3,1,15);
    操作线:MA(C,13),COLORMAGENTA,LINETHICK0;
    A0:=(L+H+C*2)/4;
    AA:=EMA(A0,14)COLORYELLOW,LINETHICK1;
    BB:=EMA(A0,3)COLORYELLOW,LINETHICK2;
    A1X:=(AA-REF(AA,1))/REF(AA,1)*100;
    A2X:=(BB-REF(BB,1))/REF(BB,1)*100;
    G:=BArslAST(crOSS(A1X,0));
    G1:=BARSLAST(CROSS(A2X,0));
    必卖止损:REF(A0,G),ColorFFDDD3,LINETHICK1;
    短止赢:REF(A0,G1),COLORCYAN,LINETHICK1;
    中浪:FORCAST(FORCAST(BB,30),30),COLORYELLOW,LINETHICK0;
    强弱值:FORCAST(MA(LLV(CLOSE,1),2),2),COLORRED,SHIFT1;
    FS:MA(CLOSE,17)+MA(CLOSE,17)-REF(MA(CLOSE,17),1),colorf4e202,linethick0;
    CG:IF(MA(CLOSE,17) A:cg-(ema(c,3)-cg),colorff8080,LINETHICK2;
    PARTLINE(操作线>A,操作线),COLORMAGENTA,LINETHICK2;
    PARTLINE(操作线>A,A),COLORRED,LINETHICK2;
    PARTLINE(操作线 PARTLINE(强弱值>中浪,中浪),Color0076FF,,LINEDOT;
    PARTLINE(强弱值<中浪,中浪),Color80B002,,LINEDOT;
    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.4,0),COLORYELLOW;
    STICKLINE(TJ,O,C,4,0),COLOR0088FF;
    STICKLINE(TJ,O,C,3.4,0),COLOR00AAFF;
    STICKLINE(TJ,O,C,2.8,0),COLOR00CCFF;
    STICKLINE(TJ,O,C,2,0),COLOR00ddfF;
    STICKLINE(TJ,O,C,1.2,0),COLOR55FFFF;
    STICKLINE(TJ,O,C,0.4,0),COLOR99FFFF;
    STICKLINE(TJ1 AND TJ,H,L,0.4,0),COLORF00FF0;
    STICKLINE(TJ1 AND TJ,O,C,4,0),COLORFF33FF;
    STICKLINE(TJ1 AND TJ,O,C,3.4,0),COLORFF55FF;
    STICKLINE(TJ1 AND TJ,O,C,2.8,0),COLORFF77FF;
    STICKLINE(TJ1 AND TJ,O,C,2,0),COLORFF99FF;
    STICKLINE(TJ1 AND TJ,O,C,1.2,0),COLORFFBBFF;
    STICKLINE(TJ1 AND TJ,O,C,0.4,0),COLORFFDDFF;
    STICKLINE(DIFF STICKLINE(DIFF STICKLINE(DIFF STICKLINE(DIFF STICKLINE(DIFF STICKLINE(DIFF STICKLINE(DIFF VAR1:=(CLOSE*2+HIGH+LOW)/4;
    SK:= EMA(VAR1,13)-EMA(VAR1,73);
    SD:= EMA(SK,2);
    SJ:=(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));
    STICKLINE(SJ,H,L,0.5,0),COLORRED;
    STICKLINE(SJ,O,C,5.5,0),LINETHICK3,COLOR000055;
    STICKLINE(SJ,O,C,4.5,0),LINETHICK3,COLOR000077;
    STICKLINE(SJ,O,C,3.5,0),LINETHICK3,COLOR000099;
    STICKLINE(SJ,O,C,2.5,0),LINETHICK3,COLOR0000BB;
    STICKLINE(SJ,O,C,1.5,0),LINETHICK3,COLOR0000DD;
    STICKLINE(SJ,O,C,0.5,0),LINETHICK3,COLOR0000FF;
    DRAWTEXT(CROSS(zig(3,8),REF(ZIG(3,8),1)),LOW*0.978,'短进'),PXUP4,Color00FFFF;
    DRAWTEXT(CROSS(REF(ZIG(3,10),1),ZIG(3,10)),HIGH*1.02,'短出'),ColorFF5000;


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 飞狐金兰穿越主图指标公式 加入收藏