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

    正文概述    2024-04-13 14:49:11  

    MA3:MA(C,3),COLORRED,LINETHICK3;
    MA5:MA(C,5),COLORWHITE;
    MA10:MA(C,10),COLORGREEN;
    MA20:MA(C,20),COLORYELLOW,LINETHICK3;
    NOTEXT1:IF(SAR.sar =H,SAR.SAR,DRAWNULL),CIRCLEDOT,COLORGREEN;
    NOTEXT2:IF(SAR.SAR =L,SAR.SAR,DRAWNULL),CIRCLEDOT,COLORRED;
    DIF:=EMA(C,12)-EMA(C,26);
    DEA:=EMA(DIF,9);
    macd:=2*(DIF-DEA);
    UB:=REF(MA(C,20)+2*SQRT(MA(POW((C-MA(C,20)),2),20)),1);
    ZP:=topRANGE(MacD);
    BP:=TOPRANGE(DIF);
    JP:=TOPRANGE(C);
    突破:=MACD REF(MACD,1) AND (ZP-REF(ZP,1) 100 OR BP-REF(BP,1) 100 OR JP-REF(JP,1) 100)
    AND (HOD(DIF,10)=1 OR (crOSS(DIF,DEA) AND HOD(DIF,10) =2 AND JP 100))
    AND (EXIST(CROSS(DIF,DEA) OR CROSS(DIF,0),3) OR (REF(EVERY(BP 20,5),1) AND BP 100))
    AND DIF -0.01 AND (C EMA(C,250) OR C UB) AND C/REF(C,1) 1.08 AND C/HHV(C,120)
    CG:=MA(C,10);
    FL:=HHV(CG,5);
    FS:=CG-(FL-CG);
    MA60:=MA(CLOSE,60);
    {CG:=MA(C,10);
    FL:=HHV(CG,5);
    FS:=CG-(FL-CG);
    MA60:=MA(CLOSE,60);}
    常:=-110*(HHV(HIGH,600)-CLOSE)/(HHV(HIGH,600)-LLV(LOW,600))+110,COLOR00FF00,LINETHICK2;
    XG:=C REF(C,1) AND MA(C,5) MA(C,10) AND MA(C,20) MA(C,60) AND REF(MA(C,20),1) REF(MA(C,60),1) AND MA(C,60) REF(MA(C,60),1) AND FL MA(C,60) AND FS MA(C,60) AND FL=FS AND REF(FL,1) REF(FS,1) AND C/REF(C,1) 1.080 AND (HOD(MACD.MACD,20) =2 OR HOD(MACD.DIF,20) =2) ;
    DRAWTEXT(XG,L*0.98,' 强'),COLORYELLOW;
    XG2:=C REF(C,1) AND MA(C,5) MA(C,10) AND MA(C,20) MA(C,60) AND REF(MA(C,20),1) REF(MA(C,60),1) AND MA(C,60) REF(MA(C,60),1) AND FL MA(C,60) AND FS MA(C,60) AND FL=FS AND REF(FL,1) REF(FS,1) AND C/REF(C,1) 1.080 AND (HOD(MACD.MACD,20) =2 OR HOD(MACD.DIF,20) =2) AND 常
    DRAWTEXT(XG2,L*1.02,'△wr强')COLORYELLOW;
    {DIF:=EMA(C,12)-EMA(C,26);
    DEA:=EMA(DIF,9);
    MACD:=2*(DIF-DEA);
    UB:=REF(MA(C,20)+2*SQRT(MA(POW((C-MA(C,20)),2),20)),1);
    ZP:=TOPRANGE(MACD);
    BP:=TOPRANGE(DIF);
    JP:=TOPRANGE(C);}
    突破1:=MACD REF(MACD,1) AND (ZP-REF(ZP,1) 100 OR BP-REF(BP,1) 100 OR JP-REF(JP,1) 100)
    AND (HOD(DIF,10)=1 OR (CROSS(DIF,DEA) AND HOD(DIF,10) =2 AND JP 100))
    AND (EXIST(CROSS(DIF,DEA) OR CROSS(DIF,0),3) OR (REF(EVERY(BP 20,5),1) AND BP 100))
    AND DIF -0.01 AND (C EMA(C,250) OR C UB) AND C/REF(C,1) 1.08 AND C/HHV(C,120)
    DRAWTEXT(突破1,L*0.96,'↙突破1'),COLORFF00FF;
    突破2:=MACD REF(MACD,1) AND (ZP-REF(ZP,1) 100 OR BP-REF(BP,1) 100 OR JP-REF(JP,1) 100)
    AND (HOD(DIF,10)=1 OR (CROSS(DIF,DEA) AND HOD(DIF,10) =2 AND JP 100))
    AND (EXIST(CROSS(DIF,DEA) OR CROSS(DIF,0),4) OR (REF(EVERY(BP 20,5),1) AND BP 100))
    AND (C EMA(C,250) OR C UB) AND C/REF(C,1) 1.08 AND C/HHV(C,120) 0.9 AND L H
    AND REF(EXIST(H/REF(C,1) 1.09,2),1) AND C/EMA(C,250) 1.7 AND FINANCE(46)/100000000
    DRAWTEXT(突破2,L*0.94,'▲突破2'),COLORCYAN;
    常WR:=突破1 AND 常
    DRAWTEXT(常WR,L*1.01,'●WR突破'),COLORFF00FF;
    {黄绿信号}
    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;
    STICKLINE(VAR19,L,L*0.997,2,0),COLORYELLOW;
    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;
    STICKLINE(VAR1A,H*1.003,H,2,0),COLOR00FF00{98FD};
    X1:=(LOW+HIGH+CLOSE*2)/4;
    上:=EMA(X1,14)*1.1382;
    涨停:=C/REF(C,1) 1.098 AND H=C;
    涨幅:=(C/REF(C,1)-1)*100;
    三日涨幅:=IF(REF(C REF(C,1),2),SUM(涨幅,3) =20,COUNT(涨停,2)=2);
    二板:=CROSS(C,上) AND REF(涨停,1) AND 三日涨幅 AND BARSCOUNT(C)
    DRAWTEXT(二板,H*1.02,'★二板'),COLORFF00FF;

    通达信波段低位主图指标公式源码

    通达信波段低位主图指标公式源码

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信波段低位主图指标公式源码 加入收藏