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

    正文概述    2024-04-14 13:34:13  

    NNN:=36;
    ZD_MA:=MA(C,NNN);
    ZD_EMA:=EMA(C,NNN);
    STICKLINE(ZD_EMA>ZD_MA,ZD_EMA,ZD_MA,0,-1),COLORMAGENTA;
    STICKLINE(ZD_EMA RD_4P:=(-REF(C,3)-0.382*REF(C,2)+0.382*REF(C,1)+2*C);
    BD:=STD(C,NNN);
    RD:=STD(RD_4P,NNN);
    BZC:=POW(BD*BD+RD*RD,1/2);
    A11:=ZD_MA+(1.618)*BZC;
    B11:=ZD_MA-(1.618)*BZC;
    DRAWBAND(A11,RGB(5400,100,0),B11,RGB(0,0,0));
    A1:ZD_MA+(1.618)*BZC;
    A2:ZD_MA+(1.000)*BZC;
    A3:ZD_MA+(0.618)*BZC;
    中道:ZD_MA,COLORMAGENTA,LINETHICK2;
    快道:ZD_EMA;
    B3:ZD_MA-(0.618)*BZC;
    B2:ZD_MA-(1.000)*BZC;
    B1:ZD_MA-(1.618)*BZC;
    N:=12;M:=26;
    DIFF:=EMA(CLOSE,N)-EMA(CLOSE,M);
    DEA:=EMA(DIFF,9);
    STICKLINE(DIFF>DEA,C,O,3.2,0),COLOR000045;
    STICKLINE(DIFF>DEA,O,O,2.7,0),COLOR000065;
    STICKLINE(DIFF>DEA,C,O,2.2,0),COLOR000085;
    STICKLINE(DIFF>DEA,C,O,1.7,0),COLOR0000A5;
    STICKLINE(DIFF>DEA,C,O,1.2,0),COLOR0000C5;
    STICKLINE(DIFF>DEA,H,L,0.5,0),COLOR0000F5;
    STICKLINE(DIFF<=DEA,C,O,3.2,0),COLOR555555;
    STICKLINE(DIFF<=DEA,C,O,2.7,0),COLOR777777;
    STICKLINE(DIFF<=DEA,C,O,2.2,0),COLOR999999;
    STICKLINE(DIFF<=DEA,C,O,1.7,0),COLORBBBBBB;
    STICKLINE(DIFF<=DEA,C,O,1.2,0),COLORDDDDDD;
    STICKLINE(DIFF<=DEA,H,L,0.5,0),COLORFFFFFF;
    DRAWTEXT(ISLASTBAR,B1,'---------B1'),COLORWHITE;
    DRAWTEXT(ISLASTBAR,B2,'---------B2'),COLORWHITE;


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 神奇布林主图指标公式 加入收藏