{买进总能赚}
X1:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100);
X2:=SMA(X1,3,1);
X3:=SMA(X2,3,1);
X4:=3*X2-2*X3;
Y1:=CROSS(X4,REF(X4+0.01,1)) AND X4
X6:=(CLOSE-MA(CLOSE,5))/MA(CLOSE,5)*100;
X7:=CROSS(X6,-5);
X8:=CROSS(X6,-8);
X9:=X7 OR X8;
Z1:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
Z2:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
Z3:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
Z4:=(Z1+2*Z2+3*Z3)/6;
MA(Z4,3) -12 AND X9 AND FILTER(X9,5) AND Y1;