通达信 【芈月剑】条件选股公式——某宝...
通达信 【芈月剑】条件选股公式——某宝曾卖8000大洋的指标,分享给大家!
X_1:=MA(CLOSE,5);
X_2:=MA(CLOSE,10);
X_3:=REF(HHV((HIGH+CLOSE+LOW+HIGH)/4,7),BARSLAST(CROSS(X_2,X_1)));
X_4:=REF(HHV(MAX(CLOSE,OPEN),7),BARSLAST(CROSS(MA(CLOSE,10),MA(CLOSE,5))));
X_5:=IF(CLOSE>500,X_4,X_3);
X_6:=IF(X_5=CONST(X_5),CONST(X_5),DRAWNULL);
X_7:=REF(CLOSE,2)/REF(CLOSE,3)>1.09 AND CROSS(REF(CLOSE,2),REF(X_6,2)) AND REF(CLOSE,2)>=REF(OPEN,2);
X_8:=HIGH/REF(CLOSE,1)>1.031 AND REF(OPEN,1)/REF(CLOSE,1)>1.035 AND REF(OPEN,1)/REF(CLOSE,1)<0.97;
X_9:=X_7 AND X_8;
X_10:=REF(CLOSE,3)/REF(CLOSE,4)>1.09 AND CROSS(REF(CLOSE,3),REF(X_6,3)) AND REF(CLOSE,3)>=REF(OPEN,3);
X_11:=HIGH/REF(CLOSE,1)>1.031 AND OPEN<REF(CLOSE,3);
X_12:=X_10 AND X_11;
X_13:=REF(CLOSE,4)/REF(CLOSE,5)>1.09 AND REF(CLOSE,4)>=REF(OPEN,4) AND CROSS(REF(CLOSE,4),REF(X_6,4));
X_14:=HIGH/REF(CLOSE,1)>1.031 AND OPEN<REF(CLOSE,4);
X_15:=X_13 AND X_14;
X_16:=REF(CLOSE,5)/REF(CLOSE,6)>1.09 AND REF(CLOSE,5)>=REF(OPEN,5) AND CROSS(REF(CLOSE,5),REF(X_6,5));
X_17:=HIGH/REF(CLOSE,1)>1.031 AND OPEN<REF(CLOSE,5);
X_18:=X_16 AND X_17;
X_19:=REF(CLOSE,6)/REF(CLOSE,7)>1.09 AND CROSS(REF(CLOSE,6),REF(X_6,6));
X_20:=HIGH/REF(CLOSE,1)>1.031 AND OPEN<REF(CLOSE,6);
X_21:=X_19 AND X_20;
X_22:=REF(CLOSE,7)/REF(CLOSE,8)>1.09 AND CROSS(REF(CLOSE,7),REF(X_6,7));
X_23:=HIGH/REF(CLOSE,1)>1.031 AND OPEN<REF(CLOSE,7);
X_24:=X_22 AND X_23;
X_25:=REF(CLOSE,8)/REF(CLOSE,9)>1.09 AND CROSS(REF(CLOSE,8),REF(X_6,8));
X_26:=HIGH/REF(CLOSE,1)>1.031 AND OPEN<REF(CLOSE,8);
X_27:=X_25 AND X_26;
X_28:=IF(NAMELIKE(3),0,1) AND IF(NAMELIKE(4),0,1);
X_29:=DYNAINFO(4)>0;
X_30:=X_28 AND X_29;
X_31:=REF(LOW,1)<X_6 OR OPEN<X_6 AND HIGH>X_6 AND REF(CLOSE,1)/REF(CLOSE,2)<1.04;
XG:X_9 OR X_12 OR X_15 OR X_18 OR X_21 OR X_24 OR X_27 AND X_31 AND X_30;