最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 通达信立体3DK线,乖离率变色K线主图未加密选股指标公式源码

    正文概述    2022-09-23 00:00:00  

    现价:CONST(C),COLORGREEN,DOTLINE;
    bsX:ma(C,5),COLORCYAN;
    强弱线:MA(C,25),COLORGREEN;
    持股:IF(BSX>=REF(BSX,1),BSX,DRAWNULL),COLORWHITE;
    LL:=REF(L,1);HH:=REF(H,1);上跳:=L>HH;下跳:=H<LL;
    STICKLINE(L>REF(H,1),L,REF(H,1),2.5,-1),COLORWHITE;
    STICKLINE(REF(L,1)>H,REF(L,1),H,2.5,-1),COLORCYAN;
    HD:=FILTER(BacKSET(FILTER(REF(H,10)=HHV(H,2*10+1),10),10+1),10);
    LD:=FILTER(BACKSET(FILTER(REF(L,10)=LLV(L,2*10+1),10),10+1),10);
    A:=REF(H,BArslAST(HD));
    B:=REF(L,BARSLAST(LD));
    T1:=BARSLAST(HD)<BARSLAST(LD) AND NOT(HD);
    T2:=BARSLAST(HD)>BARSLAST(LD) AND NOT(LD);
    波段顶:IF(T1,A,A),COLORLIGRAY,POINTDOT;
    波段底:IF(T2,B,B),COLORLIGRAY,POINTDOT;
    bias :=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
    BIASMA :=MA(BIAS,21);
    AA:=BIAS>=BIASMA;
    BB:=BIAS<BIASMA;
    STICKLINE(AA,H,L,0,0),COLOR0000FF;
    STICKLINE(AA,C,O,2.7,0),COLOR000066;
    STICKLINE(AA,C,O,2.4,0),COLOR000088;
    STICKLINE(AA,C,O,2.1,0),COLOR0000AA;
    STICKLINE(AA,C,O,1.8,0),COLOR0000BB;
    STICKLINE(AA,C,O,1.5,0),COLOR0000CC;
    STICKLINE(AA,C,O,1.2,0),COLOR0000DD;
    STICKLINE(AA,C,O,0.8,0),COLOR0000EE;
    STICKLINE(AA,C,O,0.2,0),COLOR0000FF;
    STICKLINE(AA,C,O,0.1,0),COLOR0000FF;
    STICKLINE(BB,H,L,0,0),COLOR00FF00;
    STICKLINE(BB,C,O,2.7,0),COLOR006600;
    STICKLINE(BB,C,O,2.4,0),COLOR008800;
    STICKLINE(BB,C,O,2.1,0),COLOR00AA00;
    STICKLINE(BB,C,O,1.8,0),COLOR00BB00;
    STICKLINE(BB,C,O,1.5,0),COLOR00CC00;
    STICKLINE(BB,C,O,1.2,0),COLOR00DD00;
    STICKLINE(BB,C,O,0.9,0),COLOR00EE00;
    STICKLINE(BB,C,O,0.6,0),COLOR00FF00;
    STICKLINE(BB,C,O,0.1,0),COLOR00FF00;
    VAR1:=zig(3,10)<REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)>REF(ZIG(3,10),2);
    VAR2:=ZIG(3,10)>REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)<REF(ZIG(3,10),2);
    STICKLINE(VAR1,OPEN,CLOSE,2.1,0),COLOR460046;
    STICKLINE(VAR1,OPEN,CLOSE,1.8,0),COLOR5E005E;
    STICKLINE(VAR1,OPEN,CLOSE,1.5,0),COLOR750075;
    STICKLINE(VAR1,OPEN,CLOSE,1.2,0),COLOR930093;
    STICKLINE(VAR1,OPEN,CLOSE,0.9,0),COLORAE00AE;
    STICKLINE(VAR1,OPEN,CLOSE,0.6,0),COLORD200D2;
    STICKLINE(VAR1,OPEN,CLOSE,0.4,0),COLORE800E8;
    STICKLINE(VAR1,OPEN,CLOSE,0.2,0),COLORFF00FF;
    STICKLINE(VAR1,OPEN,CLOSE,0.1,0),COLORFF44FF;
    STICKLINE(VAR2,OPEN,CLOSE,2.1,0),COLOR0077BB;
    STICKLINE(VAR2,OPEN,CLOSE,1.8,0),COLOR0088CC;
    STICKLINE(VAR2,OPEN,CLOSE,1.5,0),COLOR0099CC;
    STICKLINE(VAR2,OPEN,CLOSE,1.2,0),COLOR00AADD;
    STICKLINE(VAR2,OPEN,CLOSE,0.9,0),COLOR00bbdD;
    STICKLINE(VAR2,OPEN,CLOSE,0.6,0),COLOR00CCEE;
    STICKLINE(VAR2,OPEN,CLOSE,0.4,0),COLOR00ddeE;
    STICKLINE(VAR2,OPEN,CLOSE,0.2,0),COLOR00EEFF;
    STICKLINE(VAR2,OPEN,CLOSE,0.1,0),COLOR00FFFF;
    ZDF:=(C-REF(C,1))/REF(C,1)*100;
    STICKLINE(ZDF>9.5,C,O,2.7,0),COLOR0000CC;
    STICKLINE(ZDF>9.5,C,O,2.1,0),COLOR0000DD;
    STICKLINE(ZDF>9.5,C,O,1.2,0),COLOR0000EE;
    STICKLINE(ZDF>9.5,C,O,0.2,0),COLOR0000FF;
    STICKLINE(ZDF>9.5,HIGH,LOW,0 ,0),COLOR0000FF;
    STICKLINE(ZDF<-9.9,O,C,2.7,0),COLOR66CC66;
    STICKLINE(ZDF<-9.9,O,C,2.1,0),COLOR77DD77;
    STICKLINE(ZDF<-9.9,O,C,1.2,0),COLOR88EE88;
    STICKLINE(ZDF<-9.9,O,C,0.2,0),COLOR99FF99;
    STICKLINE(ZDF<-9.9,HIGH,LOW,0 ,0),COLOR99FF99;
    DRAWTEXT_FIX(1,0.6,0.02,0,'【名称】:'),COLORCYAN;
    DRAWTEXT_FIX(1,0.675,0.02,0,STKnaME),COLORLIGRAY;
    DRAWTEXT_FIX(1,0.6,0.07,0,'【代码】:'),COLORCYAN;
    DRAWTEXT_FIX(1,0.675,0.07,0,CODE),COLOR0080FF;
    DRAWTEXT_FIX(1,0.6,0.12,0,'【卖一】:'),COLORCYAN;
    DRAWNUMBER_FIX(1,0.675,0.12,0,DYNAINFO(21)),COLORGREEN;
    DRAWTEXT_FIX(1,0.6,0.17,0,'【买一】:'),COLORCYAN;
    DRAWNUMBER_FIX(1,0.675,0.17,0,DYNAINFO(20)),COLORLIGRAY;



    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信立体3DK线,乖离率变色K线主图未加密选股指标公式源码 加入收藏