适用震荡市,行情不错的时候增加成功率,不适用近几天极端暴跌行情。
X_01:=5;
X_02:=EMA(CLOSE,X_01);
X_03:=EMA(X_02,X_01);
X_04:=X_02 - REF(X_02,1);
X_05:=X_03 - REF(X_03,1);
X_06:= ABS(X_02 - X_03);
X_07:= (X_04+X_05)/2;
X_08:= POW(X_06,1)*POW(X_07,3);
X_09:=X_08/HHV(ABS(X_08),X_01*3);
波段底:CROSS(X_09,-0.9),COLORGREEN;
X_10:=((MA(C,30)-L)/MA(C,60))*200;
X_11:=REF(CLOSE,1);
X_12:=SMA(MAX(CLOSE-X_11,0),7,1)/SMA(ABS(CLOSE-X_11),7,1)*100;
X_13:=FILTER(REF(X_12,1) 20 AND X_12 REF(X_12,1),5);
X_14:=CLOSE/MA(CLOSE,40) 0.74;
X_15:=(HIGH-LOW)/REF(CLOSE,1) 0.05;
X_16:=COUNT(X_15,5)
X_17:=X_14 AND X_15 AND X_16;
X_18:=FILTER((X_13 AND X_10 20 OR C REF(CLOSE,1)) AND REF(X_17,1),10);
X_19:=FILTER(REF(X_17,1) AND (波段底 OR CLOSE REF(C,1)) AND MACD.MACD -1.5,10);
王中王:COUNT(X_19,13) =1 AND X_18,COLORMAGENTA;