ma5:=ma(c,5);ma10:=ma(c,10);ma30:=ma(c,30);ma60:=ma(c,60);xg:cross(ma5,ma30) and cross(ma5,ma60) and cross(ma10,ma30) and cross(ma10,ma60) and ma60>ma30 and ma5>ma10 and ma10>ma30;
{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)))<=6...