「翔博精选指标」养家系列副图(通达信公式 副图 源码 测试图)
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);