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

    正文概述    2024-04-13 13:19:12  

    {筹码带}
    N:=10;
    TA:=MAX(MAX((HIGH-LOW),Abs(REF(CLOSE,1)-HIGH)),ABS(REF(CLOSE,1)-LOW));
    ATR:=EMA(TA,21);
    VAR81:=REF(CLOSE,N)-REF(ATR,1);
    筹码线:=HHV(VAR81,21),COLORYELLOW;
    上:=(1+7/100)*筹码线;
    下:=(1-7/100)*筹码线;
    中:=(上+下)/2;
    XGD:DRAWBAND(上,RGB(258,88,1),下,RGB(258,88,1));
    {XGD:DRAWBAND(上,RGB(136,30,0),下,RGB(0,0,0));}
    UPPER: MA(CLOSE,60)+ 2*STD(CLOSE,60),LINETHICK2,COLORFFFF00;
    LOWER: MA(CLOSE,60)- 2*STD(CLOSE,60),LINETHICK2,COLORFFFF00;
    {UPPER90: MA(CLOSE,90)+ 2*STD(CLOSE,90),LINETHICK2,COLORC080FF;
    LOWER90: MA(CLOSE,90)- 2*STD(CLOSE,90),LINETHICK2,COLORC080FF;}
    {盖住双横杠}
    F:=C/O;
    STICKLINE(F =1,C,O,2.8,1),COLORRED;
    STICKLINE(F =1,C,H,0.00001,0),COLORRED;
    STICKLINE(F =1,L,O,0.00001,0),COLORRED;
    STICKLINE(F 1,C,O,2.8,0),COLORCYAN;
    STICKLINE(F 1,O,H,0.00001,0),COLORCYAN;
    STICKLINE(F 1,L,C,0.00001,0),COLORCYAN;
    {牛熊线}
    短期线:EMA(CLOSE,7),COLORWHITE,LINETHICK1;
    中期线:EMA(CLOSE,25),COLORFF00FF,LINETHICK1;
    长期线MacP:EMA(中期线,55),COLORYELLOW,LINETHICK2;
    牛熊分水岭905:EMA(CLOSE,905),COLORRED,LINETHICK3;
    大牛控盘线:MA(CLOSE,1650),COLORGREEN,LINETHICK3;
    X_3:=MAX(DYNAINFO(3),DYNAINFO(5));
    X_4:=MIN(DYNAINFO(3),DYNAINFO(6));
    银河线:=(X_3-X_4);
    DRAWICON(crOSS(中期线,长期线MACP),长期线MACP,23);
    VAR1:=CLOSE REF(CLOSE,1) AND CLOSE REF(CLOSE,2);
    VAR2:=REF(VAR1,1) AND CLOSE =REF(CLOSE,1) AND CLOSE =REF(CLOSE,2);
    VAR3:=REF(VAR2,1) AND CLOSE =REF(CLOSE,1) AND CLOSE =REF(CLOSE,2);
    VAR4:=REF(VAR3,1) AND CLOSE =REF(CLOSE,1) AND CLOSE =REF(CLOSE,2);
    VAR5:=REF(VAR4,1) AND CLOSE =REF(CLOSE,1) AND CLOSE =REF(CLOSE,2);
    VAR6:=REF(VAR5,1) AND CLOSE =REF(CLOSE,1) AND CLOSE =REF(CLOSE,2);
    VAR7:=REF(VAR6,1) AND CLOSE =REF(CLOSE,1) AND CLOSE =REF(CLOSE,2);
    VAR8:=REF(VAR7,1) AND CLOSE =REF(CLOSE,1) AND CLOSE =REF(CLOSE,2);
    VAR9:=REF(VAR8,1) AND CLOSE =REF(CLOSE,1) AND CLOSE =REF(CLOSE,2);
    VARA:=REF(VAR9,1) AND CLOSE =REF(CLOSE,1) AND CLOSE =REF(CLOSE,2);
    VARB:=REF(VARA,1) AND CLOSE =REF(CLOSE,1) AND CLOSE =REF(CLOSE,2);
    VARC:=REF(VARB,1) AND CLOSE =REF(CLOSE,1) AND CLOSE =REF(CLOSE,2);
    VARD:=CLOSE REF(CLOSE,1) AND CLOSE REF(CLOSE,2);
    VARE:=REF(VARD,1) AND CLOSE =REF(CLOSE,1) AND CLOSE =REF(CLOSE,2);
    VARF:=REF(VARE,1) AND CLOSE =REF(CLOSE,1) AND CLOSE =REF(CLOSE,2);
    VAR10:=REF(VARF,1) AND CLOSE =REF(CLOSE,1) AND CLOSE =REF(CLOSE,2);
    VAR11:=REF(VAR10,1) AND CLOSE =REF(CLOSE,1) AND CLOSE =REF(CLOSE,2);
    VAR12:=REF(VAR11,1) AND CLOSE =REF(CLOSE,1) AND CLOSE =REF(CLOSE,2);
    VAR13:=REF(VAR12,1) AND CLOSE =REF(CLOSE,1) AND CLOSE =REF(CLOSE,2);
    VAR14:=REF(VAR13,1) AND CLOSE =REF(CLOSE,1) AND CLOSE =REF(CLOSE,2);
    VAR15:=REF(VAR14,1) AND CLOSE =REF(CLOSE,1) AND CLOSE =REF(CLOSE,2);
    VAR16:=REF(VAR15,1) AND CLOSE =REF(CLOSE,1) AND CLOSE =REF(CLOSE,2);
    VAR17:=REF(VAR16,1) AND CLOSE =REF(CLOSE,1) AND CLOSE =REF(CLOSE,2);
    VAR18:=REF(VAR17,1) AND CLOSE =REF(CLOSE,1) AND CLOSE =REF(CLOSE,2);
    VAR19:=REF(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR
    VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,1) AND VAR1;
    VAR1A:=REF(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR
    VAR8 OR VAR9 OR VARA OR VARB OR VARC,1) AND VARD;
    DRAWICON(VAR19 AND C 短期线,L*0.998,1);
    DRAWICON(VAR1A,H*1.002,2),NODRAW;
    TJ5:=REF( cci.CCI ,1) -100 AND CCI.CCI REF( CCI.CCI ,1);
    TJ6:=REF( kdj.J (9,3,3),1) 20 AND kdJ.J (9,3,3) REF( KDJ.J (9,3,3),1);
    TJ7:=REF( rsi.RSI1 ,1) 20 AND RSI.RSI1 REF( RSI.RSI1 ,1);
    TJ8:=COUNT(TJ5,5) AND COUNT(TJ6,5) AND COUNT(TJ7,5);
    大底:=CROSS(TJ8,0.5);
    DRAWICON(大底,L*0.991,11);
    T1:EMA(SLOPE(CLOSE,34)*20+CLOSE,75),COLORYELLOW,NODRAW;
    T2:MA(C,120),COLORCYAN,LINETHICK2,NODRAW;
    T3:MA(C,250),COLORGREEN,LINETHICK2,NODRAW;
    乖离线:=((C-REF(T1,1))/20+T1)*1.20;
    TT1:=CROSS(T1,T2) AND CROSS(T1,T3) AND V REF(V,1);
    TT2:=T1 REF(T1,2) AND V REF(V,1) AND CROSS(C,T1);
    DRAWICON((T2 =REF(T2,1) AND CROSS(C,T1) AND CROSS(C,T2) AND V REF(V,1)),L*0.997,9);
    DRAWICON(TT2,L*0.995,11);
    DRAWICON(CROSS(C,乖离线) AND L!=H,H*1.005,12);
    N1:=10;
    N2:=3;
    N3:=6;

    源码未粘贴完,请下载附件......通达信日月经天主图指标公式源码主图

    通达信日月经天主图指标公式源码主图

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信日月经天主图指标公式源码主图 加入收藏