X_1 := LLV(L,10);
走势线 := Ema((C-X_1)/(HHV(H,25)-X_1)*4,4),COLORFF9933,LINETHICK2;
X_2 := REF(C,1);
X_3 := C-X_2;
X_12 := (H+L+O+2*C)/5;
X_13 := X_12-REF(X_12,1);
X_14 := crOSS(走势线,0.3);
X_15 := X_3/X_2;
X_16 := IF(COUNT(SMA(MAX(X_13,0),10,1)/SMA(Abs(X_13),10,1)*100<20,5)>=1 AND COUNT(X_12=LLV(X_12,10),10)>=1 AND C>=O*1.038 AND V>MA(V,5)*1.2,1,0) AND 走势线<1 OR (X_14 AND MA(走势线,3)<0.35 AND X_15>0.005) OR (走势线<0.5 AND COUNT(CROSS(走势线,0.4),10)=2) AND X_15>0.02;
买入:X_16;