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

    正文概述    2024-05-04 14:06:38  

    M:=7;

    EMA13:=EMA(C,13);

    EMA30:=EMA(C,30),COLORFFCCCC;

    HJ_1:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;

    HJ_2:=SMA(SMA(HJ_1,3,1),3,1)/28.57;

    HJ_3:=EMA(HJ_2,5);

    :=3*HJ_2-2*HJ_3;

    HJ_5:=CROSS(HJ_4,HJ_2) AND HJ_2 2.1 AND CLOSE OPEN;

    EMA60:=EMA(C,60),COLORFF00FF;

    EMA90:=EMA(C,90),COLORYELLOW;

    EMA120:=EMA(C,120),COLORFFCC66;

    EMA250:=EMA(C,250),COLORBLUE;

    HJ_6:=CROSS(HJ_4,HJ_2) AND HJ_2 2.1 AND CLOSE OPEN;

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

    HJ_8:=LLV(LOW,13);

    A1:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,

    1)-2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1);

    黑马线:=EMA(A1,5),LINETHICK2,COLOR6600FF;

    HJ_9:=HHV(HIGH,13);

    HJ_10:=EMA((HJ_7-HJ_8)/(HJ_9-HJ_8)*100,13);

    F1:=EMA30-EMA60 130/1000 AND EMA30-EMA90 230/1000 AND EMA30-EMA120 330/1000;

    F2:=EMA60-EMA30 130/1000 AND EMA60-EMA90 230/1000 AND EMA60-EMA120 330/1000;

    HJ_11:=EMA(0.667*REF(HJ_10,1)+0.333*HJ_10,2);

    HJ_12:=HJ_10;

    F3:=EMA90-EMA30 130/1000 AND EMA90-EMA60 230/1000 AND EMA90-EMA120 330/1000;

    F4:=EMA120-EMA30 130/1000 AND EMA120-EMA60 230/1000 AND EMA120-EMA90 330/1000;

    F5:=EMA30-EMA60 100/1000 AND EMA30-EMA90 200/1000;

    A2:=(黑马线-REF(黑马线,1))/REF(黑马线,1)*100;

    A3:=EMA(C,5);

    FF1:=F1 AND F2 AND F3 AND F4 AND CROSS(EMA30,EMA60);

    FF2:=F1 AND F2 AND F3 AND F4 AND CROSS(EMA(C,13),EMA30);

    FF3:=F5 AND C EMA250 AND CROSS(EMA30,EMA60);

    G1:=EMA60-EMA90 220/1000 AND EMA60-EMA120 320/1000 AND EMA60-EMA250 420/1000;

    G2:=EMA90-EMA30 220/1000 AND EMA90-EMA60 320/1000 AND EMA90-EMA250 420/1000;

    G3:=EMA120-EMA60 220/1000 AND EMA120-EMA90 320/1000 AND EMA120-EMA250 420/1000;

    G4:=EMA250-EMA60 220/1000 AND EMA250-EMA90 320/1000 AND EMA250-EMA120 420/1000;

    HJ_13:=10;

    GG1:=G1 AND G2 AND G3 AND G4 AND CROSS(EMA13,EMA30);

    GG2:=G1 AND G2 AND G3 AND G4 AND CROSS(EMA30,EMA60);

    启动:=EMA(0.382*REF(HJ_10,2)+0.618*HJ_10,6),COLORRED;

    A4:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100;

    趋势线:=(MA(3*SMA(A4,6,1)-2*SMA(SMA(A4,5,1),5,1),2)),LINETHICK2,COLORYELLOW;

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

    买入:=IF(CROSS(4*SMA((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100,5,1),3,1),8),58,0),STICK,COLORYELLOW,LINETHICK3;

    A5:=(HHV(H,60)-C)/(HHV(H,60)-LLV(L,60))*100;

    WWWCOM:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;

    VAR3:=LLV(HIGH,240);

    VAR4:=100*(CLOSE-VAR3)/VAR3;

    VAR5:=(CLOSE-LLV(LOW,528))/(HHV(HIGH,528)-LLV(LOW,528))*100;

    VAR6:=(CLOSE-LLV(CLOSE,530))/(HHV(CLOSE,530)-LLV(CLOSE,530))*100;

    VAR8:=SMA(MAX(CLOSE-REF(CLOSE,1),0),34,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),7,1)*100;

    VAR9:=SMA(MAX(CLOSE-REF(CLOSE,1),0),13,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),13,1)*100;

    VARA:=BARSCOUNT(CLOSE);

    VARB:=VAR8 20 AND VAR9 23 AND VARA

    VARC:=VARB AND COUNT(VARB,1)=1;

    VARD:=EMA(CLOSE,21)-EMA(CLOSE,8);

    VARE:=EMA(VARD,5);

    VARF:=TROUGHBARS(C,6,1,0) 4 AND CROSS(VARD,VARE);

    VAR10:=IF(TROUGHBARS(C,16,1,0)=0 AND HIGH LOW+0.04,4,0);

    VAR11:=ZIGZAG(C,6,1) REF(ZIGZAG(C,6,1),1) AND REF(ZIGZAG(C,6,1),1) =REF(ZIGZAG(C,6,1),2) AND REF(ZIGZAG(C,6,1),2) =REF(ZIGZAG(C,6,1),3);

    VAR12:=ZIGZAG(C,6,1) REF(ZIGZAG(C,6,1),1) AND REF(ZIGZAG(C,6,1),1) =REF(ZIGZAG(C,6,1),2) AND REF(ZIGZAG(C,6,1),2) =REF(ZIGZAG(C,6,1),3);

    VAR13:=ZIGZAG(C,22,1) REF(ZIGZAG(C,22,1),1) AND REF(ZIGZAG(C,22,1),1) =REF(ZIGZAG(C,22,1),2) AND REF(ZIGZAG(C,22,1),2) =REF(ZIGZAG(C,22,1),3);

    VAR14:=ZIGZAG(C,22,1) REF(ZIGZAG(C,22,1),1) AND REF(ZIGZAG(C,22,1),1) =REF(ZIGZAG(C,22,1),2) AND REF(ZIGZAG(C,22,1),2) =REF(ZIGZAG(C,22,1),3);

    VAR15:=ZIGZAG(C,51,1) REF(ZIGZAG(C,51,1),1) AND REF(ZIGZAG(C,51,1),1) =REF(ZIGZAG(C,51,1),2) AND REF(ZIGZAG(C,51,1),2) =REF(ZIGZAG(C,51,1),3);

    VAR16:=ZIGZAG(C,51,1) REF(ZIGZAG(C,51,1),1) AND REF(ZIGZAG(C,51,1),1) =REF(ZIGZAG(C,51,1),2) AND REF(ZIGZAG(C,51,1),2) =REF(ZIGZAG(C,51,1),3);

    VAR17:=ZIGZAG(C,72,1) REF(ZIGZAG(C,72,1),1) AND REF(ZIGZAG(C,72,1),1) =REF(ZIGZAG(C,72,1),2) AND REF(ZIGZAG(C,72,1),2) =REF(ZIGZAG(C,72,1),3);

    VAR18:=ZIGZAG(C,72,1) REF(ZIGZAG(C,72,1),1) AND REF(ZIGZAG(C,72,1),1) =REF(ZIGZAG(C,72,1),2) AND REF(ZIGZAG(C,72,1),2) =REF(ZIGZAG(C,72,1),3);

    VAR19:=EMA(CLOSE,2)-EMA(CLOSE,150);

    VAR1A:=EMA(VAR19,100);

    VAR1B:=2*(VAR19-VAR1A);

    VAR1C:=POW(VAR1B,3)*0.1+POW(VAR1B,1);

    VAR1D:=SQRT(SQRT(LOW*HIGH*OPEN*CLOSE));

    VAR1E:=EMA(VAR1D*0.97,3);

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

    VAR20:=(VAR1F-MA(VAR1F,14))/(0.015*AVEDEV(VAR1F,14));

    VAR21:=CROSS(VAR1E,LOW);

    大底:= VAR10*16,COLORBLACK;

    组合买:= (VAR11+VAR13+VAR15+VAR17)*20,  COLORFF00FF;

    组合卖:=(VAR12+VAR14+VAR16+VAR18)*17,  COLORGREEN;

    DRAWTEXT(VAR14,38, 小頂卖 ), COLORGREEN;

    DRAWTEXT(VAR16,50, 中頂卖 ), COLORGREEN;

    DRAWTEXT(VAR18,65, 大欧尼頂卖 ), COLORGREEN;

    DRAWTEXT(VAR20 AND 大底 0,38, 大底买 ),COLORYELLOW;

    X5:=EMA(CLOSE,3);

    X10:=EMA(CLOSE,7);

    X20:=EMA(CLOSE,20);

    五日斜率:=(X5-REF(X5,1))*100/REF(X5,1),LINETHICK2,COLORYELLOW;

    十日斜率:=(X10-REF(X10,1))*100/REF(X10,1),LINETHICK2,COLORBLUE;

    二十斜率:=(X20-REF(X20,1))*100/REF(X20,1),LINETHICK2,COLORWHITE;

    XX5:=REFX1(五日斜率,4),LINETHICK2,COLORYELLOW;

    XX10:=REFX1(十日斜率,7),LINETHICK2,COLORBLUE;

    XX200:=REFX1(二十斜率,20);

    AA1:=XX200 =0.7 AND REF(XX200,1) XX200 AND XX5 XX10 AND  XX10 XX200 AND  REF(XX5,2) REF(XX10,2) AND REF(XX10,2) REF(XX200,2) ;

    XX202:=EMA(二十斜率,22);

    AA2:=XX202 =0.7 AND REF(XX200,1) XX200  AND XX5 XX10 AND  XX10 XX202 AND  REF(XX5,2) REF(XX10,2) AND REF(XX10,2) REF(XX202,2) ;

    XX204:=EMA(二十斜率,24);

    AA3:=XX204 =0.7  AND REF(XX200,1) XX200 AND XX5 XX10 AND  XX10 XX204 AND  REF(XX5,2) REF(XX10,2) AND REF(XX10,2) REF(XX204,2) ;

    XX206:=EMA(二十斜率,26);

    AA4:=XX206 =0.7  AND REF(XX200,1) XX200 AND XX5 XX10 AND  XX10 XX206 AND  REF(XX5,2) REF(XX10,2) AND REF(XX10,2) REF(XX206,2) ;

    XX207:=EMA(二十斜率,20);

    AA7:=XX207 =0.7 AND REF(XX207,1) XX207 AND CROSS(XX10,XX207) AND CROSS(REF(XX5,1),REF(XX207,1));

    XX2071:=EMA(二十斜率,23);

    AA71:=XX2071 =0.7 AND REF(XX2071,1) XX2071 AND CROSS(XX10,XX2071) AND CROSS(REF(XX5,1),REF(XX2071,1));

    XX2072:=EMA(二十斜率,26);

    AA72:=XX2072 =0.7 AND REF(XX2072,1) XX2072 AND CROSS(XX10,XX2072) AND CROSS(REF(XX5,1),REF(XX2072,1));

    XX208:=EMA(二十斜率,20);

    AA8:=XX208 =0.7 AND REF(XX208,1) XX208 AND CROSS(XX10,XX208) AND CROSS(XX5,XX208);

    XX2081:=EMA(二十斜率,23);

    AA81:=XX2081 =0.7 AND REF(XX2081,1) XX2081 AND CROSS(XX10,XX2081) AND CROSS(XX5,XX2081);

    XX2082:=EMA(二十斜率,26);

    AA82:=XX2082 =0.7 AND REF(XX2082,1) XX2082 AND CROSS(XX10,XX2082) AND CROSS(XX5,XX2082);

    DRAWTEXT(AA1=1,10, ★AA1 ),COLORRED;

    DRAWTEXT(AA2=1,15, ★AA2 ),COLORRED;

    DRAWTEXT(AA3=1,20, ★AA3 ),COLORRED;

    DRAWTEXT(AA4=1,25, ★AA4 ),COLORRED;

    DRAWTEXT(AA7=1,30, ★AA7 ),COLORRED;

    DRAWTEXT(AA71=1,35, ★AA71 ),COLORRED;

    DRAWTEXT(AA72=1,40, ★AA72 ),COLORRED;

    DRAWTEXT(AA8=1,45, ★AA8 ),COLORRED;

    DRAWTEXT(AA81=1,50, ★AA81 ),COLORRED;

    DRAWTEXT(AA82=1,55, ★AA82 ),COLORRED;

    VARR3:=LLV(HIGH,240);

    VARR4:=100*(CLOSE-VARR3)/VARR3;

    VARR5:=(CLOSE-LLV(LOW,528))/(HHV(HIGH,528)-LLV(LOW,528))*100;

    VARR6:=(CLOSE-LLV(CLOSE,530))/(HHV(CLOSE,530)-LLV(CLOSE,530))*100;

    VARR8:=SMA(MAX(CLOSE-REF(CLOSE,1),0),34,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),7,1)*100;

    VARR9:=SMA(MAX(CLOSE-REF(CLOSE,1),0),13,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),13,1)*100;

    VARRA:=BARSCOUNT(CLOSE);

    VARRB:=VARR8 20 AND VARR9 23 AND VARRA

    VARRC:=VARRB AND COUNT(VARRB,1)=1;

    VARRD:=EMA(CLOSE,21)-EMA(CLOSE,8);

    VARRE:=EMA(VARRD,5);

    VARRF:=TROUGHBARS(C,6,1,1) 4 AND CROSS(VARRD,VARRE);

    VARR10:=IF(TROUGHBARS(C,16,1,1)=0 AND HIGH LOW+0.04,4,0);

    VARR11:=ZIGZAG(C,6,1) REF(ZIGZAG(C,6,1),1) AND REF(ZIGZAG(C,6,1),1) =REF(ZIGZAG(C,6,1),2) AND REF(ZIGZAG(C,6,1),2) =REF(ZIGZAG(C,6,1),3);

    VARR12:=ZIGZAG(C,6,1) REF(ZIGZAG(C,6,1),1) AND REF(ZIGZAG(C,6,1),1) =REF(ZIGZAG(C,6,1),2) AND REF(ZIGZAG(C,6,1),2) =REF(ZIGZAG(C,6,1),3);

    VARR13:=ZIGZAG(C,22,1) REF(ZIGZAG(C,22,1),1) AND REF(ZIGZAG(C,22,1),1) =REF(ZIGZAG(C,22,1),2) AND REF(ZIGZAG(C,22,1),2) =REF(ZIGZAG(C,22,1),3);

    VARR14:=ZIGZAG(C,22,1) REF(ZIGZAG(C,22,1),1) AND REF(ZIGZAG(C,22,1),1) =REF(ZIGZAG(C,22,1),2) AND REF(ZIGZAG(C,22,1),2) =REF(ZIGZAG(C,22,1),3);

    VARR15:=ZIGZAG(C,51,1) REF(ZIGZAG(C,51,1),1) AND REF(ZIGZAG(C,51,1),1) =REF(ZIGZAG(C,51,1),2) AND REF(ZIGZAG(C,51,1),2) =REF(ZIGZAG(C,51,1),3);

    VARR16:=ZIGZAG(C,51,1) REF(ZIGZAG(C,51,1),1) AND REF(ZIGZAG(C,51,1),1) =REF(ZIGZAG(C,51,1),2) AND REF(ZIGZAG(C,51,1),2) =REF(ZIGZAG(C,51,1),3);

    VARR17:=ZIGZAG(C,72,1) REF(ZIGZAG(C,72,1),1) AND REF(ZIGZAG(C,72,1),1) =REF(ZIGZAG(C,72,1),2) AND REF(ZIGZAG(C,72,1),2) =REF(ZIGZAG(C,72,1),3);

    VARR18:=ZIGZAG(C,72,1) REF(ZIGZAG(C,72,1),1) AND REF(ZIGZAG(C,72,1),1) =REF(ZIGZAG(C,72,1),2) AND REF(ZIGZAG(C,72,1),2) =REF(ZIGZAG(C,72,1),3);

    VARR19:=EMA(CLOSE,2)-EMA(CLOSE,150);

    VARR1A:=EMA(VARR19,100);

    VARR1B:=2*(VARR19-VARR1A);

    VARR1C:=POW(VARR1B,3)*0.1+POW(VARR1B,1);

    VARR1D:=SQRT(SQRT(LOW*HIGH*OPEN*CLOSE));

    VARR1E:=EMA(VARR1D*0.97,3);

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

    VARR20:=(VARR1F-MA(VARR1F,14))/(0.015*AVEDEV(VARR1F,14));

    VARR21:=CROSS(VARR1E,LOW);

    选股买点:=VARR10;

    IF((VARR11+VARR13+VARR15+VARR17)=1,38,00),COLORSTICK,COLORMAGENTA,LINETHICK5;

    DRAWLINE((VARR12+VARR14+VARR16+VARR18)=1,0,1,38,COLORGREEN);

    DRAWLINE((VARR12+VARR14+VARR16+VARR18)=2,0,1,48,COLORGREEN);

    DRAWLINE((VARR12+VARR14+VARR16+VARR18)=3,0,1,58,COLORGREEN);

    DRAWLINE((VARR12+VARR14+VARR16+VARR18)=4,0,1,68,COLORGREEN);

    NN:VALUEWHEN(组合买 0||组合卖 0,组合买 0),NODRAW;

    NNX:VALUEWHEN(组合买 0||组合卖 0,组合卖 0),NODRAW;

    STICKLINE(NN,0,10,COLORRED,0);

    STICKLINE(NNX,0,10,COLORGREEN,0);


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 文华财经多空波段画线幅图指标公式源码 加入收藏