X_14:=CLOSE*VOL;
X_15:=EMA((EXPMA(X_14,23)/EXPMA(VOL,23)+EXPMA(X_14,54)/EXPMA(VOL,54)+EXPMA(X_14,108)/EXPMA(VOL,108)+EXPMA(X_14,316)/EXPMA(VOL,316))/4,34);
X_16:=1.0668*X_15;
X_17:=CROSS(CLOSE,X_16) AND REF(CLOSE,1)*1.05-CLOSE<0.005 AND CLOSE>OPEN*0.5;
X_18:=VOL;
X_19:=X_18>MA(VOL,89);
X_20:=EXPMA(CLOSE,5);
X_21:=EXPMA(CLOSE,29);
X_22:=X_20>X_21;
X_23:=REF(CLOSE,1);
X_24:=SMA(MAX(CLOSE-X_23,0),12,1)/SMA(ABS(CLOSE-X_23),12,1)*100;
X_25:=SMA(MAX(CLOSE-X_23,0),56,1)/SMA(ABS(CLOSE-X_23),56,1)*100;
X_26:=X_24>X_25 AND X_22 AND X_19 AND CLOSE>REF(HHV(HIGH,40),1);
黑马一号:X_17 AND X_26 AND X_9;
黑马1号选股指标公式;
X_1:=30;
X_2:=3;
X_3:=15;
X_4:=3;
UPPERL:=MA(HIGH,X_1)*(1+X_3/100),COLORWHITE;
UPPERS:=MA(HIGH,X_2)*(1+X_4/100),COLORYELLOW;
LOWERS:=MA(LOW,X_2)*(1-X_4/100),COLORMAGENTA;
LOWERL:=MA(LOW,X_1)*(1-X_3/100),COLORGREEN;
X_5:=REF(CLOSE,1)*1.1-CLOSE<0.01;
X_6:=CLOSE/REF(CLOSE,1)<0.913 AND CLOSE=LOW;
X_7:=HHV(HIGH,20);
X_8:=LLV(LOW,20);
X_9:=REF((X_7/X_8-1)*100<=30,1);
X_10:=REF(CLOSE,1);
X_11:=SMA(MAX(CLOSE-X_10,0),6,1)/SMA(ABS(CLOSE-X_10),6,1)*100;