{60天内五日均线大于20日均线}last(ma(c,5)>ma(c,20),59,0);==================={60天内股票首次回踩20日线}cross(count(l<ma(c,20) and c>ma(c,20),barslast(cross(c,ma(c,20)))+1),0.5) and barslast(cross(c,ma(c,20)))<=60; 20210311
a:=ma(c,20)>ma(c,10) and ma(c,10)>ma(c,5) and ma(c,5)>ma(c,60);a:=c<ma(c,5) and c>ma(c,60) and ma(c,60)>ref(ma(c,60),1);xg:a and a1;股票公式专家团为你解答,希望能帮到你,祝投资顺利。