TYP := (HIGH + LOW + CLOSE)/3;
CCI1:=(TYP-MA(TYP,M))/(0.015*AVEDEV(TYP,M));
CCI2:=(TYP-MA(TYP,N))/(0.015*AVEDEV(TYP,N));
B:=BARSLAST(CCI1=LLV(CCI1,20));
一招鲜:=(C<REF(C,B) AND CCI1>REF(CCI1,B)) AND CROSS(CCI1,-100);
CCI抄底:=(C<REF(C,B) AND CCI2>REF(CCI2,B)) AND CCI2<-220 and c<ma(c,5)*0.85;
抄底:=一招鲜 OR CCI抄底; |