mv1:=ma(v,5);mv2:=ma(v,10);aa:=cross(mv1,mv2);xg:ref(aa and c>o,3) and ref(c<o and v<mv1 and v<mv2,2) and ref(c<o and v<mv1 and v<mv2,1) and c>o and v>mv1 and v>mv2;(信号少!) 20210311
参数 m {2 200 5}:=(3*close+low+open+high)/6;:=(20*+19*(,1)+18*(mid,2)+17*(mid,3)+16*ref(mid,4)+15*ref(mid,5)+14*ref(mid,6)+13*ref(mid,7)+12*ref(mid,8)+11*ref(mid,9)+10*ref(mid,10)+9*ref(mid,11)+8*r...
ma3:=ma(close,3);ma4:=ma(close,4);ma13:=ma(close,13);ma21:=ma(close,21);cross(ma3,ma4) and cross(ma13,ma21);你的要求中3日均线上穿4日均线同时还要满足13日均线上穿21日均线,写上上面这段就可以,但注意两个条件是同一天发生,如果允许两个条件前后天上穿,就不能这样写