优化后,出票多了。可,成功率略有下降。不过,比绝大部分的金钻还是强太多的了。这里,就少说了。免得有人说我太张狂
MA3:=EMA(C,3);
MA10:=EMA(C,10);
Y1:=LLV(L,BARSLAST(CROSS(MA10,MA3))+1);
Y2:=HHV(H,BARSLAST(CROSS(MA3,MA10))+1);
Y3:=HHV(H,BARSLAST(CROSS(MA10,MA3))+1);
Y4:=LLV(L,BARSLAST(CROSS(MA3,MA10))+1);
E1:=EVERY(RANGE(MA(Y3,3)/MA(Y1,3),0.93,1.5),1);
E2:=EVERY(RANGE(MA(Y3,10)/MA(Y1,10),0.93,1.5),1);
E3:=EVERY(RANGE(MA(Y4,3)/MA(Y3,3),0.93,1.5),1);
E4:=EVERY(RANGE(MA(Y4,10)/MA(Y3,10),0.93,1.5),1);
VAR1:=C-REF(C,1);
VAR2:=100*EMA(EMA(VAR1,6),6)/EMA(EMA(ABS(VAR1),6),6);
BT:=(LLV(VAR2,2)=LLV(VAR2,7) AND COUNT(VAR2<0,2) AND CROSS(VAR2,MA(VAR2,2))) AND
E1 AND E2 AND E3 AND E4;
XG: COUNT(BT,1)=1;