t1:=close>open andma(close,5)>open and ma(close,5)<close andma(close,10)>open and ma(close,10)<close andma(close,30)>open and ma(close,30)<close andma(close,60)>open and ma(close,60)<close andma(close,120)>open and ma(close,120)<close;t2:=close>open andma(close,5)>open and ma(close,5)<close andma(close,10)>open and ma(close,10)<close andma(close,30)>open and ma(close,30)<close andma(close,60)>open and ma(close,60)<close andma(close,250)>open and ma(close,250)<close;tj1:=count(t1 or t2,n)>=1;tj1;{注:n为时间参数,设为10即表示十天}先试试,希望能帮到你。 20210311