DYI:=(C-REF(C,1))/REF(C,1)*100<-6 ;
YYIC:=REF(C,1)>(REF(C,BArslAST(DY))+REF(C,BARSLAST(DY)+1))/2 AND C<(REF(C,BARSLAST(DY))+REF(C,BARSLAST(DY)+1))/2;
YIYC:=REF(C,1)<(REF(C,BARSLAST(DYI))+REF(C,BARSLAST(DYI)+1))/2 AND C>(REF(C,BARSLAST(DYI))+REF(C,BARSLAST(DYI)+1))/2;
锁阴阳: BARSLAST(DYI)<=7 AND DY AND YIYC AND COUNT(DY,BARSLAST(DYI))=1 AND NOT(H=L) AND REF(NOT(H=L),BARSLAST(DYI))=1;