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

    正文概述    2024-04-13 09:48:35  

    NOTEXT顶部标线:180,COLORBROWN,LINETHICK3;
    NOTEXT底部标线:(-40),COLORBROWN,LINETHICK2;
    X_1:= SH999999$ADVANCE + SZ399001$ADVANCE
    X_2:= SH999999$DECLINE + SZ399001$DECLINE
    X_3:=X_1/(X_2+X_1)*100;
    X_4:= 880006$CLOSE
    X_5:= 880006$OPEN
    X_6:=X_4/(X_4+X_5)*100;
    X_7:=X_6
    X_8:=X_6 90 AND X_6
    X_9:=X_6 =20 AND X_6
    X_10:=X_6
    STICKLINE(X_8,153,155,3,0),COLORRED;
    STICKLINE(X_7,153,155,3,0),COLORMAGENTA;
    STICKLINE(X_9,153,155,3,0),COLORWHITE;
    STICKLINE(X_10,153,155,3,0),COLORGREEN;
    X_11:=X_3
    X_12:=X_3 80 AND X_3
    X_13:=X_3 50 AND X_3
    X_14:=X_3
    STICKLINE(X_11,148,150,3,0),COLORMAGENTA;
    STICKLINE(X_12,148,150,3,0),COLORRED;
    STICKLINE(X_13,148,150,3,0),COLORWHITE;
    STICKLINE(X_14,148,150,3,0),COLORGREEN;
    DRAWTEXT(ISLASTBAR,175,18),COLORGREEN;
    DRAWTEXT(ISLASTBAR,155,19),COLORGREEN;
    X_15:=(X_7 OR X_8)+(X_11 OR X_12)
    X_16:=X_8 AND X_13 OR (X_12 AND X_9);
    X_17:=(X_10 OR X_9)+(X_14 OR X_13)
    DRAWTEXT(X_15,170,20),COLORLIRED;
    DRAWTEXT(X_17,170,21),COLOR80FF00;
    X_18:=LLV(LOW,21);
    X_19:=HHV(HIGH,21);
    X_20:=EMA((CLOSE-X_18)/(X_19-X_18)*100,6);
    X_21:=EMA(0.667*REF(X_20,1)+0.333*X_20,2);
    X_22:=LLV(LOW,55);
    X_23:=HHV(HIGH,34);
    X_24:=EMA((CLOSE-X_22)/(X_23-X_22)*100,3);
    X_25:=(X_20+X_24)/2;
    X_26:=EMA(0.667*REF(X_24,1)+0.333*X_20,2);
    X_27:=EMA(X_25,5);
    X_28:=EMA(0.667*REF(X_27,1)+0.333*X_27,2);
    X_29:=LONGcrOSS(X_21,X_20,0.1);
    X_30:=LONGCROSS(X_20,X_21,0.1);
    X_31:=X_20 X_21;
    STICKLINE(X_20 X_21,99,100,3,0),COLORGREEN;
    STICKLINE(X_20 X_21,99,100,3,0),COLORMAGENTA;
    DRAWTEXT(ISLASTBAR,100,22),COLORGREEN;
    X_32:=(MA(CLOSE,13)+MA(CLOSE,20))/2;
    X_33:=(MA(CLOSE,80)+MA(CLOSE,100))/2;
    X_34:=X_33+2*STD(CLOSE,80);
    X_35:=(X_32+X_34)/2;
    STICKLINE(CLOSE =X_35,84,85,3,0),COLORMAGENTA;
    STICKLINE(CLOSE X_35,84,85,3,0),COLORGREEN;
    DRAWTEXT(ISLASTBAR,85,23),COLORGREEN;
    X_36:=CLOSE =X_35;
    X_37:=25;
    X_38:=6;
    X_39:=6;
    X_40:=(1+X_38/100)*MA(CLOSE,X_37);
    X_41:=(1-X_39/100)*MA(CLOSE,X_37);
    X_42:=(X_40+X_41)/2;
    X_43:=CLOSE =X_40;
    STICKLINE(CLOSE =X_40,69,70,3,0),COLORMAGENTA;
    STICKLINE(CLOSE X_40 AND CLOSE =X_42,69,70,3,0),COLORRED;
    STICKLINE(CLOSE X_42,69,70,3,0),COLORGREEN;
    DRAWTEXT(ISLASTBAR,70,24),COLORGREEN;
    X_44:=X_43;
    X_45:=EMA(EMA(CLOSE,13),13);
    X_46:=(X_45-REF(X_45,1))/REF(X_45,1)*1500;
    X_47:=X_46 REF(X_46,1) AND X_46
    X_48:=100*WINNER(CLOSE*0.95);
    X_49:=X_46 REF(X_46,1) AND X_46
    X_50:=X_48 50 AND COST(85) CLOSE AND X_46
    X_51:=BArslAST(CROSS(X_46,50));
    STICKLINE(X_47,54,55,3,0),COLORRED;
    STICKLINE(X_49,54,55,3,0),COLORGREEN;
    STICKLINE(X_50,54,55,3,0),COLORMAGENTA;
    STICKLINE(NOT(X_49) AND NOT(X_47) AND NOT(X_50),54,55,3,0),COLORGREEN;
    DRAWTEXT(ISLASTBAR,55,25),COLORGREEN;
    X_52:=X_50;
    X_53:=(HHV(HIGH,35)-CLOSE)/(HHV(HIGH,35)-LLV(LOW,35))*100-35;
    X_54:=SMA(X_53,35,1)+100;
    X_55:=(CLOSE-LLV(LOW,35))/(HHV(HIGH,35)-LLV(LOW,35))*100;
    X_56:=SMA(X_55,3,1);
    X_57:=SMA(X_56,3,1)+100;
    X_58:=X_57-X_54;
    X_59:=(X_58-1)*2.5;
    STICKLINE(X_59 =REF(X_59,1),38.5,40,3,0),COLORRED;
    STICKLINE(X_59 REF(X_59,1),38.5,40,3,0),COLORGREEN;
    STICKLINE(X_59 REF(X_59,1) AND X_59 100,38.5,40,3,0),COLORMAGENTA;
    DRAWTEXT(ISLASTBAR,40,26),COLORGREEN;
    X_60:=X_59 REF(X_59,1) AND X_59
    X_61:=(3*CLOSE+OPEN+HIGH+LOW)/6;
    X_62:=EMA(X_61,12);
    X_63:=EMA(X_61,36);
    X_64:=EMA(X_61,108);
    X_65:=EMA(X_61,250);
    X_66:=(EMA(X_61,12)-REF(EMA(X_61,36),1))/REF(EMA(X_61,36),1)*150+50;
    STICKLINE(X_66 50,24,25,3,0),COLORGREEN;
    STICKLINE(X_66 =50 AND X_66 53,24,25,3,0),COLORRED;
    STICKLINE(X_66 =53,24,25,3,0),COLORMAGENTA;
    DRAWTEXT(ISLASTBAR,25,27),COLORGREEN;
    X_67:=X_66
    X_68:=AMOUNT/vol/100;
    X_69:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;
    X_70:=SUM(AMOUNT,40)/X_68/100;
    X_71:=SUM(AMOUNT,80)/X_68/100;
    X_72:=DMA(X_69,VOL/X_70);
    X_73:=DMA(X_69,VOL/X_71);
    X_74:=(CLOSE-X_72)/X_72*100+3;
    X_75:=(CLOSE-X_73)/X_73*100+3;
    X_76:=MAX(X_74,X_75);
    X_77:=EMA(X_76,3);
    STICKLINE(X_77 =0 AND X_77 5,9,10,3,0),COLORRED;
    STICKLINE(X_77 =5,9,10,3,0),COLORMAGENTA;
    STICKLINE(X_77 0,9,10,3,0),COLOR00FF80;
    DRAWTEXT(ISLASTBAR,10,28),COLORGREEN;
    X_78:=X_77
    X_79:=42;

    源码有点长,未粘贴完,下载源码......

    通达信支撑压力突破指标公式源码副图

    通达信支撑压力突破指标公式源码副图

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信支撑压力突破指标公式源码副图 加入收藏