HP:=COUNT((HHV(H,400)-LLV(L,400))/LLV(L,400)<0.5,400)>0;{500日内,曾经有连续横盘达100天,(上下振幅小于0.3)} HH:=BARSLAST(C<MA(C,110))>60; DD:=(C-REF(C,250))/REF(C,250)*100<300; XG:HP AND HH AND DD;