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

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

    通达信2神奇DDE主图指标

    源码

    VAR1:=(2*CLOSE+HIGH+LOW+OPEN)/5;
    A1: (EMA(VAR1,3)+EMA(VAR1,6)+EMA(VAR1,12)+EMA(VAR1,24))/4;
    A2: EMA(A1,2);
    A3: EMA(A2,2);
    A4: EMA(A3,2);
    A5: EMA(A4,2);
    A6: EMA(A5,2);
    A7: EMA(A6,2);
    A8: EMA(VAR1,2.78)*1.028;
    A9: MA(OPEN,3.2)*1.028;
    安全线: EMA(CLOSE,55),COLORGREEN, POINTDOT,LINETHICK4;
    MCST:DMA((AMOUNT/(VOL*100)),VOL/CAPITAL),COLORRED,POINTDOT,LINETHICK4;
    {
    V1:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
    V2:=(1-7/100)*(DMA(CLOSE,V1));
    V3:=(1+7/100)*(DMA(CLOSE,V1));
    撑价:REFDATE(V2,DATE),POINTDOT,LINETHICK3,COLORCDCDCD;
    阻价:REFDATE(V3,DATE),POINTDOT,LINETHICK3,COLORYELLOW;}
    {箱体}{P,3,30,10}
    阻力:PEAK(CLOSE,10,1)*0.98,COLORWHITE;
    支撑:TROUGH(CLOSE,10,1)*1.02,COLORYELLOW;
    WW1:=FILTER(OO AND VOL REF(V,1),13);
    JH:=SMA(MAX(C-REF(C,1),0),6,1)/SMA(ABS(C-REF(C,1)),6,1)*100;
    SZ:=FILTER(CROSS(JH,35),13);
    SX:=FILTER(CROSS(JH,30),7);
    SQ:=FILTER(CROSS(71,JH),74);
    SD:=FILTER(CROSS(80,JH),74);
    AA:=IF(CAPITAL 1,SZ,SX);
    BB:=IF(CAPITAL 1,SQ,SD);
    CC:=REF(HHV(CLOSE,120),1);DD:=REF(LLV(CLOSE,120),1);
    WW:=((100 * (CLOSE - DD)) / (CC - DD));EE:=AMOUNT;
    FF:=(EMA(EE,5) / REF(EMA(EE,5),5));
    霸占:=FILTER(((((((FF = 2)) AND (WW 35))) AND (BARSCOUNT(CLOSE) 30)) OR (((((FF = 2)) AND (WW 100))) AND (BARSCOUNT(CLOSE) 50))),90);
    STICKLINE(C REF(C,1),C,O,3.2,0),COLOR0000AA;
    STICKLINE(C REF(C,1),C,O,2.7,0),COLOR0000DD;
    STICKLINE(C REF(C,1),C,O,2.1,0),COLOR0022FF;
    STICKLINE(C REF(C,1),C,O,1.5,0),COLOR0066FF;
    STICKLINE(C REF(C,1),C,O,0.9,0),COLOR0099FF;
    {STICKLINE(C REF(C,1),C,O,0.3,0),COLOR00DDFF;}
    STICKLINE(C
    STICKLINE(C
    STICKLINE(C
    STICKLINE(C
    STICKLINE(C
    {STICKLINE(C
    STICKLINE(C=REF(C,1),C,O,3.2,0),COLOR555555;
    STICKLINE(C=REF(C,1),C,O,2.7,0),COLOR777777;
    STICKLINE(C=REF(C,1),C,O,2.1,0),COLOR999999;
    STICKLINE(C=REF(C,1),C,O,1.5,0),COLORBBBBBB;
    STICKLINE(C=REF(C,1),C,O,0.9,0),COLORDDDDDD;
    {STICKLINE(C=REF(C,1),C,O,0.3,0),COLORFFFFFF;}
    STICKLINE(霸占,C,O,3,2),COLOR000055;
    STICKLINE(霸占,C,O,2.7,0),COLOR000077;
    STICKLINE(霸占,C,O,2.1,0),COLOR000099;
    STICKLINE(霸占,C,O,1.5,0),COLOR0000BB;
    STICKLINE(霸占,C,O,0.9,0),COLOR0000DD;
    {STICKLINE(霸占,C,O,0.3,0),COLOR0000FF;}
    STICKLINE(WW1,CLOSE,OPEN,3.2,0),COLORBB00FF;
    STICKLINE(WW1,CLOSE,OPEN,2.7,0),COLORFF33FF;
    STICKLINE(WW1,CLOSE,OPEN,2.1,0), COLORFF66FF;
    STICKLINE(WW1,CLOSE,OPEN,1.5,0),COLORFF99FF;
    STICKLINE(WW1,CLOSE,OPEN,0.9,0),COLORFFBBFF;
    {STICKLINE(WW1,CLOSE,OPEN,0.3,0),COLORFFDDFF;}
    STICKLINE(AA,CLOSE,OPEN,3.2,0),COLOR0088FF;
    STICKLINE(AA,CLOSE,OPEN,2.7,0),COLOR00AAFF;
    STICKLINE(AA,CLOSE,OPEN,2.1,0),COLOR00CCFF;
    STICKLINE(AA,CLOSE,OPEN,1.5,0),COLOR22FFFF;
    STICKLINE(AA,CLOSE,OPEN,0.9,0),COLOR66FFFF;
    {STICKLINE(AA,CLOSE,OPEN,0.3,0),COLOR99FFFF;}
    STICKLINE(BB,CLOSE,OPEN,3.2,0),COLOR005500;
    STICKLINE(BB,CLOSE,OPEN,2.7,0),COLOR007700;
    STICKLINE(BB,CLOSE,OPEN,2.1,0),COLOR009900;
    STICKLINE(BB,CLOSE,OPEN,1.5,0),COLOR00BB00;
    STICKLINE(BB,CLOSE,OPEN,0.9,0),COLOR00DD00;
    {STICKLINE(BB,CLOSE,OPEN,0.3,0),COLOR00FF00;};
    {涨跌提示}
    涨停:=IF((C-REF(C,1))*100/REF(C,1) =(10-0.01*100/REF(C,1)),1,0);
    STICKLINE(涨停,OPEN,CLOSE,1.5,0),COLORYELLOW;
    跌停:=IF((REF(C,1)-C)*100/REF(C,1) =(10-0.01*100/REF(C,1)),1,0);
    STICKLINE(跌停,OPEN,CLOSE,1.5,0),COLORWHITE;

    通达信2神奇DDE主图指标

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信2神奇DDE主图指标 加入收藏