通达信中短通吃副图/选股预警指标公式源码
X_1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
X_2:=SMA(X_1,3,1);
X_3:=SMA(X_2,3,1);
X_4:=3*X_2-2*X_3;
X_5:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
X_6:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
X_7:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
X_8:=(X_5+2*X_6+3*X_7)/6;
X_9:=MA(X_8,3);
X_10:=IF(X_9,20,0);
X_11:=EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3);
X_12:=X_11
中短通吃:CROSS(X_4,X_2) AND X_10 =20 AND X_12;