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

    正文概述    2024-04-14 21:13:18  

    A := REF(CLOSE,1);

    X:=SMA(MAX(CLOSE-A,0),3,1)/SMA(ABS(CLOSE-A),3,1)*100;

    Y:=SMA(MAX(CLOSE-A,0),5,1)/SMA(ABS(CLOSE-A),5,1)*100;

    Z:=SMA(MAX(CLOSE-A,0),8,1)/SMA(ABS(CLOSE-A),8,1)*100;

    ABC:=0.5*X+0.31*Y+0.19*Z;

    X1:=SMA(100*(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8)),3,1);

    Y2:=SMA(100*(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8)),5,1);

    Z3:=SMA(100*(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8)),8,1);

    XYZ:=0.5*X1+0.31*Y2+0.19*Z3;

    :(0.5*ABC+0.5*XYZ );

    绝:=(CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100;

    顶:=SMA(绝,3,1);

    波: MA(MACD,2),COLORRED;

    段:SMA(顶,3,1);

    DRAWICON(CROSS(波,段),段,15);

    CD2:=IF(MACD 20 AND LOW =REF(LOW,1) AND CLOSE LOW ,1,0);

    CD3:=IF(REF(MACD,1) 20 AND MACD REF(MACD,1),1,0);

    DRAWICON(X,70,15);

    VAR31:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);

    VAR32:=SMA(ABS(LOW-VAR31),13,1)/SMA(MAX(LOW-VAR31,0),10,1);

    VAR33:=EMA(VAR32,10);

    VAR34:=LLV(LOW,33);

    VAR35:=EMA(IF(LOW =VAR34,VAR33,0),3);

    进场:=VAR35 REF(VAR35,1);

    STICKLINE(主力进场,85,105,5,0),COLORCYAN;

    CS:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;

    主力线:=(EMA(CS,3)-50)*2;

    DRAWICON(CROSS(主力线,-80),60,15) ;

    VAR1:=(CLOSE-LLV(LOW,80))/(HHV(HIGH,80)-LLV(LOW,80))*200;

    VAR2:=SMA(VAR1,3,1);

    VAR3:=SMA(VAR2,3,1);

    VAR4:=3*VAR2-2*VAR3;

    VAR5:=LLV(LOW,5);

    VAR6:=HHV(HIGH,5);

    VAR7:=EMA((CLOSE-VAR5)/(VAR6-VAR5)*100,4)*2;

    VAR8:=EMA(0.667*REF(VAR7,1)+0.333*VAR7,2);

    VAR9:=3*VAR7-2*VAR8;

    VARA:=POW(MA(CLOSE,5),2)+MA(CLOSE,5);

    VARB:=POW(MA(LOW,5),2)+MA(LOW,5);

    VARC:=POW(MA(HIGH,5),2)+MA(HIGH,5);

    VARD:=(VARA-LLV(VARB,64))/(HHV(VARC,64)-LLV(VARB,64))*150+65-10;

    VARE:=SMA(VARD,3,1)*1.5-100;

    VARF:=SMA(VARE,3,1);

    VAR10:=3*VARE-2*VARF;

    VAR11:=(HIGH+LOW+CLOSE*2)/4;

    VAR12:=EMA(VAR11,13);

    VAR13:=STD(VAR11,13);

    VAR14:=(VAR11-VAR12)*100/VAR13;

    VAR15:=EMA(VAR14,5);

    VAR17:=EMA(VAR15,13)+200-100;

    VAR18:=EMA(VAR17,10);

    VAR19:=3*VAR17-2*VAR18;

    VAR1A:=VAR2+VAR7+VARE+VAR17;

    VAR1B:=VAR3+VAR8+VARF+VAR18;

    VAR1C:=VAR4+VAR9+VAR10+VAR19;

    VAR1D:=(HIGH+LOW+CLOSE)/3;

    VAR20:=(VAR1D-MA(VAR1D,34))/(0.015*AVEDEV(VAR1D,34));

    VAR22:=(HIGH+LOW+CLOSE+VAR1D)/4;

    VAR23:=EMA(VAR22,24);

    VAR24:=STD(VAR22,24);

    VAR25:=(VAR22-VAR23)/VAR24*100;

    VAR26:=(VAR1D-MA(VAR1D,24))/(0.015*AVEDEV(VAR1D,24));

    VAR27:=EMA(VAR25,5);

    VAR2A:=((VAR27+VAR26+VAR20)/3+165)/4;

    VAR2B:=(EMA(EMA(EMA(VAR2A,15),10),5)-25)*2;

    VAR2C:=(VAR1A+VAR1B+VAR1C*30)/32/5-15;

    VAR2D:=EMA(VAR2C,7);

    VAR2E:=(VAR2A+VAR2C)/2/1.1;

    超短:=EMA(VAR2E,3),COLORRED ;

    短线:=EMA(超短,5),COLORWHITE;

    线:=EMA((VAR2B+VAR2D)/2,2) ,COLORYELLOW;

    DRAWICON(CROSS(趋势线,0),100,15);

    DRAWICON(CROSS(100,超短),50,15);

    DRAWICON(趋势线 REF(趋势线,1)AND REF(趋势线,1) REF(趋势线,2)AND COUNT(CROSS(超短,短线),3)=1 AND 短线 30,10,15);

    很好:=CROSS(波,段) AND 波

    STICKLINE(FILTER(很好,10)=1,-5,25,5,0),COLORYELLOW , ;

    很棒:=CROSS(段,波) AND 波

    STICKLINE(FILTER(很棒,5)=1,85,105,5,0),COLORGREEN , ;

    VA2:=LLV(LOW,10);

    VA3:=HHV(HIGH,25);

    中期:=100*(C-LLV(L,34))/(HHV(C,34)-LLV(L,34));

    持股:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);

    支撑:=LLV(持股,3);

    短期线:=EMA((CLOSE-VA2)/(VA3-VA2)*4,4)*1*30,LINETHICK2,COLORGREEN;

    中期线:=MA(持股,12),COLORWHITE,LINETHICK2;

    STICKLINE(支撑 中期线,支撑,中期线,2,0),COLOR6B8E23;

    STICKLINE(持股 0,支撑,持股,2,0),COLORRED;

    STICKLINE(支撑 中期线,中期线,支撑,2,0),COLOR38B0DE;

    STICKLINE(支撑=持股 AND 持股 中期线,中期线,支撑,2,0),COLORFF00FF;

    STICKLINE(REF(中期,1) 1 AND 中期 1,-5,25,5,0),COLORCYAN;

    W1:=C=HHV(C,20);

    W2:=BARSLAST(W1);

    W3:=IF(W2 0,REF(C,W2),REF(C,W2));

    W4:=CROSS(C,REF(W3,1));

    STICKLINE(W4 AND COUNT(W4,5)=1,85,105,5,0),COLORYELLOW;

    {中期波段副图公式源码}

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 中期波段副图公式源码 加入收藏