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

    正文概述    2024-04-13 00:50:33  

    input:n(26,5,300),p(2,0.1,10);
    MA13:MA(C,13),COLORFF9900,DOTLINE;
    MID : MA(CLOSE,N),DOTLINE;
    UPPER: MID + P*STD(CLOSE,N),DOTLINE;
    LOWER: MID - P*STD(CLOSE,N),DOTLINE;
    X:=BArslAST(DISPSTATUS=1)+1;
    E:=llvall(llv(l,x))*0.95;
    DIFF :EMA( EMA(CLOSE,12) - EMA(CLOSE,26),3),COLOR0000FF,LINETHICK0;
    DEA : EMA(DIFF,9),COLOR00FF00,LINETHICK0;
    macd : 2*(DIFF-DEA),LINETHICK0;
    STICKLINE(MacD>0,E+MACD*3,E,18,0),Color0000FF;
    STICKLINE(MACD<0,E+MACD,E,1,0),Color00FF00;
    DRAWGBK(MACD>0 ,STRIP(RGB(0,0,255),RGB(140,0,80),0)),LAYER0;
    VERTLINE(crOSS(REF(WMA(C,13),1),WMA(C,13)) AND MACD>0 and MA13>MID,2),LAYER0,COLOR00FFff;
    PARTLINE(UPPER ,UPPER and MACD>0,rgb(255,120,0)),LINETHICK3,LAYER0;
    PARTLINE(MID ,MID and MACD>0,rgb(0,255,0)),LINETHICK3,LAYER0;
    PARTLINE(MA13 ,MA13 and MACD>0,rgb(255,255,0)),LINETHICK3,LAYER0;
    { _最新股票指标公式}
    PK:=CROSS(0,MACD) AND MACD<0;
    DRAWTEXT(PK,LOWER*0.999,'●'),LAYER3,ALIGN1,COLOR0000FF,LINETHICK2;
    DRAWTEXT(PK,LOWER*0.981,'【别】'),LAYER0,ALIGN1,COLOR00FFFF,LINETHICK1;
    DRAWTEXT(PK,LOWER*0.963,'【坐】'),LAYER0,ALIGN1,COLOR00FFCC,LINETHICK1;
    DRAWTEXT(PK,LOWER*0.946,'【过】'),LAYER0,ALIGN1,COLOR00FFAA,LINETHICK1;
    DRAWTEXT(PK,LOWER*0.929,'【山】'),LAYER0,ALIGN1,COLOR00FF77,LINETHICK1;
    DRAWTEXT(PK,LOWER*0.912,'【车】'),LAYER0,ALIGN1,COLOR00FF00,LINETHICK1;


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 大智慧BOLL+MACD主图指标公式 加入收藏