A:=-100;
TYP := (HIGH + LOW + CLOSE)/3;
CCI:(TYP-MA(TYP,34))/(0.015*AVEDEV(TYP,34));
AA2:=REF(CCI,5)=LLV(CCI,3*5+1);
BB2:=BACKSET(AA2,5+1);
CC2:=FILTER(BB2,9) AND CCI=LLV(CCI,9+1);
AA2A:=BARSLAST(REF(CC2,1));
底背离:(REF(C,AA2A+1)>CLOSE AND REF(CCI,AA2A+1) |