当前位置:首页 > 免费资源 > 正文

「翔博精选指标」养家系列副图(通达信公式 副图 源码 测试图)

2022-04-18原创 编 辑:翔博软件

 X_1:=MA(CLOSE,10);

X_2:=MA(CLOSE,54);
X_3:=(REF(CLOSE,3)-CLOSE)/REF(CLOSE,3)*100>5;
X_4:=FILTER(X_3,10);
X_5:=BARSLAST(X_4);
X_6:=REF(HIGH,X_5+2);
X_7:=REF(HIGH,X_5+1);
X_8:=REF(HIGH,X_5);
X_9:=MAX(X_6,X_7);
X_10:=MAX(X_9,X_8);
X_11:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>5;
X_12:=X_5<150;
X_13:=(OPEN-X_10)/X_10*100<30;
X_14:=(CLOSE-LLV(LOW,X_5))/LLV(LOW,X_5)*100<50;
X_15:=(CLOSE-REF(OPEN,5))/REF(OPEN,5)*100<30;
X_16:=VOL/MA(VOL,5)<3.5;
X_17:=(CLOSE-REF(CLOSE,89))/REF(CLOSE,89)*100<80;
X_18:=X_11 AND X_12 AND X_13 AND X_14 AND X_15 AND X_16 AND X_17;
X_19:=FILTER(X_18,15);
X_20:=(CLOSE-X_2)/X_2<0.1;
X_21:=(CLOSE-X_1)/X_1<0.3;
X_22:=(X_20=1 AND X_21=1)*0.2;
X_23:=(X_22=0 AND REF(X_22,1)=0.2 AND REF(COUNT(X_22=0.2,10)=10,1)=1)*(-0.1);
X_24:=X_23=(-0.1);
X_25:=X_19 OR X_24;
X_26:=DMA(AMOUNT/VOL/100,VOL/CAPITAL);
X_27:=DYNAINFO(7)/REF(CLOSE,1)>1.05 AND DYNAINFO(7)/OPEN>1.05;
X_28:=VOL/REF(VOL,1)>1.2 AND COUNT(CLOSE>OPEN,1) OR (LOW>REF(HIGH,1) AND COUNT(OPEN>CLOSE,1) AND VOL/REF(VOL,1)>1.2);
X_29:=VOL/CAPITAL*100;
X_30:=VOL>=1.9*REF(VOL,1) AND X_29>4;
X_31:=SUMBARS(X_30,1);
X_32:=STICKLINE(X_31,REF(CLOSE,X_31-1),REF(CLOSE,X_31-1),10,0);
X_33:=STICKLINE(X_31,REF(OPEN,X_31-1),REF(OPEN,X_31-1),10,0);
X_34:=IF(NAMELIKE(7),0,1);
X_35:=DYNAINFO(8)>0;
X_36:=IF(NAMELIKE(8),0,1);
X_37:=X_34 AND X_35 AND X_36;
X_38:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
X_39:=SMA(X_38,9,1);
X_40:=SMA(X_39,9,1);
X_41:=CROSS(X_39,X_40);
X_42:=(CLOSE-MA(CLOSE,5))/MA(CLOSE,5)*100;
X_43:=COUNT(X_41,21)>=2;
X_44:=X_39<20;
X_45:=MA(CLOSE,10)>REF(MA(CLOSE,10),1);
X_46:=COUNT(X_42<(-8),20)>=1 AND X_42<=0 AND COUNT(X_42<=0,4)>=2;
X_47:=X_43 AND X_44 AND X_45 AND X_46;
X_48:=X_47 AND COUNT(X_47,10)=1;
X_49:=REF(CLOSE,1);
X_50:=SMA(MAX(CLOSE-X_49,0),7,1)/SMA(ABS(CLOSE-X_49),7,1)*100;
X_51:=SMA(MAX(CLOSE-X_49,0),13,1)/SMA(ABS(CLOSE-X_49),13,1)*100;
X_52:=BARSLAST(X_51<20)<=3 AND CROSS(X_50,X_51);
X_53:=(CLOSE-MA(CLOSE,20))/MA(CLOSE,20)*100<(-12.5);
X_54:=LLV(LOW,5);
X_55:=HHV(HIGH,5);
X_56:=EMA((CLOSE-X_54)/(X_55-X_54)*100,4);
X_57:=EMA(0.667*REF(X_56,1)+0.333*X_56,2);
X_58:=X_52 AND X_53 AND CROSS(X_56,X_57) AND X_56<=25;
X_59:=DMA(EMA(CLOSE,14),SUM(VOL,5)/3/CAPITAL);
X_60:=(CLOSE-X_59)/X_59*100;
X_61:=X_60<(-38);
X_62:=DMA(EMA(CLOSE,12),SUM(VOL,5)/3/CAPITAL);
X_63:=(CLOSE-X_62)/X_62*100;
X_64:=REF(X_63,1)<(-37) AND X_63>REF(X_63,1) AND REF(X_63,1)1;
X_65:=X_61 OR X_64 AND VOL/CAPITAL*100<6;
X_66:=X_65 AND COUNT(X_65,10)=1;
X_67:=(HIGH-LOW)/HIGH*100+(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
X_68:=EMA(MA(X_67,50),5);
X_69:=X_68>LLV(X_68,5)*1.01 AND REF(X_68,1)
X_70:=LLV(LOW,5)=LLV(LOW,50) AND LLV(LOW,5)
X_71:=X_69 AND X_70;
X_72:=X_48 OR X_58 OR X_66 OR X_71 AND X_37;
X_73:=CLOSE/REF(CLOSE,1)>1.05 AND CLOSE=HIGH AND BETWEEN(FORCAST(VOL,4),0.2*FORCAST(VOL,12),2.1*FORCAST(VOL,12));
X_74:=FILTER(X_73,28)*100;
X_75:=IF(CLOSE/REF(CLOSE,1)>1.05 AND HIGH/CLOSE<1.01 AND CLOSE>REF(CLOSE,1),91,0);
X_76:=FILTER(X_75>90,45) AND FILTER(X_75>90,35) AND X_74>0;
X_77:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);
X_78:=SUM(IF(CLOSE=REF(CLOSE,1),0,X_77),0);
X_79:=HHV(X_78,0);
X_80:=20;
X_81:=MA(CLOSE,55);
X_82:=(CLOSE-X_81)/X_81*100;
X_83:=55;
X_84:=X_80+X_83;
X_85:=(CONST(REF(HHV(X_82,X_83),X_80))/100+1)*X_81;
X_86:=(CONST(LLV(X_82,X_84))/100+1)*X_81;
X_87:=(X_86+X_85)/2;
X_88:=CLOSE/REF(CLOSE,1)>=1.094 AND CLOSE=HIGH AND HIGH>LOW;
妖股:X_25 AND CLOSE/REF(CLOSE,1)>1.095 AND X_28 AND NOT(OPEN>=REF(CLOSE,1)*1.096) AND X_78=X_79 AND REF(X_79,1)>REF(X_78,1) AND CROSS(CLOSE,X_32) AND CROSS(CLOSE,X_33)
 AND CLOSE/REF(CLOSE,1)>1.095 AND CLOSE=HIGH AND X_76 AND COUNT(X_76,60)=1,COLORRED;
抄底:LOW<=X_86 AND COUNT(LOW<=X_86,BARSLAST(妖股))=1 AND BARSLAST(妖股)>2,COLORCYAN;
加仓:X_88 AND COUNT(X_88,BARSLAST(妖股))=1 AND LOW<=X_87 AND BARSLAST(妖股)>5,COLORMAGENTA;
STICKLINE(妖股,0.2,0.45,8,0),COLORRED;
STICKLINE(妖股,0.45,0.72,8,0),COLORYELLOW;
STICKLINE(妖股,0.72,1,8,0),COLORMAGENTA;
DRAWTEXT(妖股,0.4,'←妖股'),COLORYELLOW;
STICKLINE(抄底,0.2,0.45,8,0),COLORCYAN;
STICKLINE(抄底,0.45,0.72,8,0),COLORYELLOW;
STICKLINE(抄底,0.72,1,8,0),COLORRED;
DRAWTEXT(抄底,0.67,'←抄底'),COLORCYAN;
STICKLINE(加仓,0.2,0.45,8,0),COLORMAGENTA;
STICKLINE(加仓,0.45,0.72,8,0),COLORRED;
STICKLINE(加仓,0.72,1,8,0),COLORYELLOW;

DRAWTEXT(加仓,0.95,'←加仓'),COLORMAGENTA;


大家都爱看
查看更多热点新闻
点击进入翔博软件旗下掌上指标--自助下载指标