TYP := (HIGH + LOW + CLOSE)/3;
cci1:=(TYP-MA(TYP,6))/(0.015*AVEDEV(TYP,5));
CCI4:=(TYP-MA(TYP,30))/(0.015*AVEDEV(TYP,30));
差值4:=Abs(REF(CCI4,1)-CCI4);
TJ11:= CCI1<-差值4 ;
立桩量2:=FILTER(TJ11,0);
TJ:=IF(BArslAST(立桩量2)=1 AND CLOSE>REF(LOW,1),1,0);
成立2:=TJ=1;
条件成立2:=FILTER(成立2,5);
看涨:条件成立2,REF(LOW,BARSLAST(立桩量2));