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

    正文概述    2024-04-14 17:45:43  

    通达信,神奇分时,主图,指标公式

    E5:=EMA(C,5);
    E13:=EMA(C,13);
    DRAWNUMBER(ISLASTBAR ,C,C),COLORMAGENTA;
    DRAWBAND(E5,RGB(200,0,0),E13,RGB(0,200,0));
    A1:EMA((EMA(C,1)+EMA(C,3)+EMA(C,5))/3,3),COLOR1010FF;
    A2:EMA((EMA(C,3)+EMA(C,5)+EMA( C,7))/3,3),COLOR1020FF;
    A3:EMA((EMA(C,5)+EMA(C,7)+EMA( C,9))/3,3),COLOR1030FF;
    A4:EMA((EMA(C,7)+EMA(C,9)+EMA( C,11))/3,3),COLOR1040FF;
    A5:EMA((EMA(C,9)+EMA(C,11)+EMA( C,13))/3,3),COLOR1050FF;
    A6:EMA((EMA(C,11)+EMA(C,13)+EMA( C,15))/3,3),COLOR1060FF;
    A7:EMA((EMA(C,13)+EMA(C,15)+EMA( C,17))/3,3),COLOR1070FF;
    A8:EMA((EMA(C,15)+EMA(C,17)+EMA( C,19))/3,3),COLOR1080FF;
    A9:EMA((EMA(C,17)+EMA(C,19)+EMA( C,21))/3,3),COLOR1080EF;
    A10:EMA((EMA(C,19)+EMA(C,21)+EMA( C,23))/3,3),COLOR10C0FF;
    A11:EMA((EMA(C,21)+EMA(C,23)+EMA( C,25))/3,3),COLOR10E0FF;
    A15:=A-(A1-A*0.997),COLORFF1010;
    A16:A-(A2-A),COLORFF2010;
    A17:A-(A3-A),COLORFF3010;
    A18:A-(A4-A),COLORFF4010;
    A19:A-(A5-A),COLORFF5010;
    A20:A-(A6-A),COLORFF6010;
    A21:A-(A7-A),COLORFF7010;
    A22:A-(A8-A),COLORFF8010;
    A23:A-(A9-A),COLORFF9010;
    A24:A-(A10-A),COLORFFC010;
    A25:A-(A11-A*0.997),COLORFFE010;
    FD:=(H-L)/3;
    OPEN1:=O>FD*2+L;
    OPEN3:=O OPEN2:=NOT(OPEN1 OR OPEN3);
    CLOSE1:=C>FD*2+L;
    CLOSE3:=C CLOSE2:=NOT(CLOSE1 OR CLOSE3);
    DFZD:=CLOSE1 OR (OPEN3 AND CLOSE2);
    WQS1:=OPEN2 AND CLOSE2;
    KFZD:=NOT(DFZD OR WQS1);
    ZD:=(H+L)/2;
    QSXS:=ZD>REF(H,1);
    QSXX:=ZD WQS2:=NOT(QSXS OR QSXX);
    ZTDL:=V>REF(V,1)*1.1;
    FTDL:=V ZTDL2:=ZTDL AND FTDL<1;
    FTDL2:=FTDL AND ZTDL<1;
    MFI1:=(H-L)/(V/10000);
    MFI2:=(H-L)/(V/1000000);
    ZMFI1:=MFI1>REF(MFI1,1);
    ZMFI2:=MFI2>REF(MFI2,1);
    ZMFI:=ZMFI1 OR ZMFI2;
    FMFI:=NOT(ZMFI);
    LD:=ZTDL2 AND ZMFI;
    ST:=FTDL2 AND FMFI;
    WZ:=FTDL2 AND ZMFI;
    QF:=ZTDL2 AND FMFI;
    S11:=DFZD AND QSXS ;
    S22:=KFZD AND QSXX ;
    S33:=DFZD AND QSXX;
    S44:=KFZD AND QSXS;
    S55:=DFZD AND WQS2;
    S66:=KFZD AND WQS2;
    S77:=WQS1 AND (QSXS OR QSXX OR WQS2);
    DRAWKLINE(H,O,L,C);
    CC:=HHV(IF(TIME<103000,C,0),0);
    VV:=HHV(IF(TIME<103000,V,0),0);
    ZF:=CC/DYNAINFO(3)<1.05;
    XH:=C>=CC AND V>=VV AND TIME>=103000 AND DYNAINFO(7)=C;
    GL:=FILTER(XH,100);

    STICKLINE(GL,DYNAINFO(7)*0.98,DYNAINFO(7)*0.999,10,0) COLOR0000FF;

    DRAWTEXT(GL,DYNAINFO(7)*0.99,'突破'),COLORYELLOW,LINETHICK1;
     

    TBX:=REF(EMA(C,14),1);
    A1X:=(EMA(C,10)-TBX)/TBX*100;
    DFX:=IF(A1X>=0,REF(EMA(C,10),BARSLAST(CROSS(A1X,0))+1),DRAWNULL);
    KFX:=IF(A1X<0,REF(EMA(C,10),BARSLAST(CROSS(0,A1X))+1),DRAWNULL);
     


    最新:C,LINETHICK1,COLORFFFF00;
    MA30:=EMA(CLOSE,30);

    H1:=MAX(DYNAINFO(3),DYNAINFO(5));
    L1:=MIN(DYNAINFO(3),DYNAINFO(6));
    P1:=H1-L1;
    阻力:L1+P1*7/8,COLORFFFF00,DOTLINE;
    支撑:L1+P1*0.5/8,COLOR0000FF,DOTLINE;
    现价:=CLOSE,COLORWHITE,LINETHICK1;
    日时转换:=IF(PERIOD=5,120,240);
    QZS:=(EMA(CLOSE,10)+EMA(CLOSE,32))/2;
    VAR11:=(EMA(CLOSE,30)+EMA(CLOSE,72))/2;
    VAR22:=(EMA(VOL,10)+EMA(VOL,32))/2;
    VAR33:=(VAR11+VAR22)/2;
    VAR44:=EMA(VAR33,30);
    VAR55:=EMA(VAR33,60);
    VAR66:=EVERY(VAR11>REF(VAR11,1),5) AND EVERY(VAR44>REF(VAR44,1),5);
    DRAWBAND(VAR11,RGB(150,30,30),EMA(VAR11,60),RGB(0,110,30));
    NXX:EMA(C,120),COLOR0080FF,LINETHICK3;
    DRAWTEXT(BARSTATUS=2,NXX,'牛熊线'),COLORFFFFFF;
    牵引线:VAR11,COLOR4B4B4B,DOTLINE;
    强弱线:EMA(VAR11,日时转换),POINTDOT,COLOR0080FF;
    趋势关注:IF(CROSS(VAR11,EMA(VAR11,60)) AND VAR66,1,0),NODRAW,COLORRED;
    量价关注:IF(CROSS(VAR33,VAR55) AND VAR66,1,0),NODRAW,COLORWHITE;
    冲击量:IF(VAR33>VAR55 AND VAR66,1,0),NODRAW,COLORYELLOW;
    强势区:IF(VAR11>强弱线,1,DRAWNULL),NODRAW,COLORRED;
    止损区:IF(VAR11<强弱线,1,DRAWNULL),NODRAW,COLORGREEN;
    STICKLINE(QZS>VAR11,QZS,VAR11,0,0),COLORMAGENTA;
    STICKLINE(冲击量=1,QZS,VAR11,0,0),COLORYELLOW;
    STICKLINE(CROSS(支撑,现价),支撑,阻力,1,0),COLORYELLOW;
    DRAWKLINE(H,O,L,C);
    DRAWICON(LONGCROSS(支撑,现价,2),L,1),COLORYELLOW;{吸}
    DRAWICON(LONGCROSS(现价,阻力,2),H,2),COLORGREEN;{抛};
    DRAWICON(趋势关注=1,EMA(VAR11,60),13);
    DRAWTEXT(量价关注=1,EMA(VAR11,60),'★'),COLORWHITE;

    均价:SUM(V*C,0)/SUM(V,0),COLORFF00FF;
    DRAWTEXT(CURRBARSCOUNT=4,均价,'均'),COLORFFFFFF,LINETHICK1;
     

     

     

    IF(C>=REF(C,1),C,DRAWNULL),LINETHICK1,COLORRED;
    AA:=SUM(AMOUNT,BARSCOUNT(C))/SUM(VOL*100,BARSCOUNT(C));
    BB:=BETWEEN(C/AA,C+H,C-H);
    DRAWICON(ISLASTBAR AND C>REF(C,1),C,1);
    DRAWICON(ISLASTBAR AND C  

     


    DXJP:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,21)-LLV(LOW,34))*100;
    FSZX:=(EMA(DXJP,3)-50)*2,COLORGRAY;
    BGTYU:=IF(DATE<=1150530,1,0);
    GHYJKU:=BETWEEN((DCLOSE*BGTYU)/(SUM(AMOUNT,BARSCOUNT((DCLOSE*BGTYU)))/SUM(VOL*100,BARSCOUNT((DCLOSE*BGTYU)))),1.05,0.95);
    VBNH:=IF(GHYJKU=0,MA((DCLOSE*BGTYU),BARSCOUNT((DCLOSE*BGTYU))),(SUM(AMOUNT,BARSCOUNT((DCLOSE*BGTYU)))/SUM(VOL*100,BARSCOUNT((DCLOSE*BGTYU)))));
    DRAWICON(FSZX<=-95,C,38);
    DRAWTEXT(CROSS(EXPMA((DCLOSE/VBNH),20),1.04),C,'板'),COLORCYAN;
    DRAWTEXT(CROSS(EXPMA((DCLOSE/VBNH),20),1.02),C,'追'),COLORYELLOW;
    DRAWICON(CROSS(EXPMA((DCLOSE/VBNH),120),1.004),C,17);
     

     

     

    VARJ1:=EMA(EMA(CLOSE,13),13);
    控盘2:=(VARJ1-REF(VARJ1,1))/REF(VARJ1,1)*1000;
    STJ01:=控盘20.5;
    STJ02:=控盘2>0;
    BTJ2:=控盘2>REF(控盘2,1) AND 控盘2<-0.2;
    BTJ22:=控盘2>REF(控盘2,1) AND 控盘2<0 ;
    JJ:=DYNAINFO(11);
    P:=55;S:=8;M1:=3;
    能量:=(EMA(CLOSE,S)-EMA(C,P))*10;
    空头:=EMA(能量,M1),COLOR00FF00;
    BTJ1:=(CLOSE-JJ)/JJ<-0.005;
    BTJ11:=(CLOSE-JJ)/JJ<-0.03;
    BTJ12:=COUNT(JJ>=REF(JJ,1),5)>=4 AND (CLOSE-JJ)/JJ<0.005;
    STJ1:=(C-JJ)/JJ>0.005;
    BTJ3:=CROSS(能量,空头) AND 能量<-0.3;
    BTJ32:=CROSS(能量,空头) AND 能量<-0.1;
    STJ31:=CROSS(空头,能量);
    STJ32:=CROSS(空头,能量) AND 能量>1.618;
    A:=8;
    BTJ81:=FILTER(BTJ1 AND BTJ2 AND BTJ3,A);
    BTJ811:=FILTER(BTJ11 AND BTJ2 AND BTJ3,A);
    BTJ82:=FILTER(BTJ12 AND BTJ22 AND BTJ32,A);
     

    AYGB1:=(DVOL/C)/2,NODRAW;
    AYGB2:=SUM(IF(AYGB1>100 AND CLOSE>REF(CLOSE,1),AYGB1,0),0);
    AYGB3:=SUM(IF(AYGB1>100 AND CLOSE AYGB4:=SUM(IF(AYGB1<100 AND CLOSE>REF(CLOSE,1),AYGB1,0),0);
    AYGB5:=SUM(IF(AYGB1<100 AND CLOSE AYGB6:=AYGB2+AYGB3+AYGB4+AYGB5;
    机买:=(AYGB2/AYGB6)*100-100,LINETHICK1,COLORRED;
    机卖:=(AYGB3/AYGB6)*100-100,LINETHICK1,COLORGREEN;
    主力差:=机买-机卖;
    LQH:=主力差>0 AND REF(主力差,1)<=0;
    DRAWICON(LQH,C,25);

    JJXX:=IF(BETWEEN(C/(SUM(AMOUNT,0)/SUM(VOL*100,0)),1.05,0.95)=0,MA(C,0),(SUM(AMOUNT,0)/SUM(VOL*100,0))),COLORYELLOW;
    JJXXH:=(JJXX*1.007 ),COLORFF6600;
    FFLL:=SUM(VOL,6)>REF(MA(VOL,30),1)*10;
    HHPP:=((HHV(CLOSE,BARSCOUNT(CLOSE))-LLV(CLOSE,BARSCOUNT(CLOSE)))/CLOSE)<1;
    HHZZ:=HHPP AND FFLL AND (C>JJXXH);
    TTPP2:=FILTER(HHZZ,100);
    DRAWICON(TTPP2,C,26);

    时间:=TIME=100000;
    N:=BARSLAST(时间);
    常数:CONST(IF(N=0,C,REF(C,N))),COLORFFFFFF,DOTLINE;
    CS1:=CONST(IF(N,HHV(H,0),REF(HHV(H,0),N)));
    CS2:=CONST(IF(N,LLV(L,0),REF(LLV(L,0),N)));
    STICKLINE(时间=1,CS1,CS2,-1,0),COLORFFFFFF;

     

    CONST(IF(N,LLV(L,0),REF(LLV(L,0),N))),COLOR888888;
    CONST(IF(N,HHV(L,0),REF(HHV(L,0),N))),COLOR888888;

     


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信神奇分时主图可以精确指标公式 加入收藏