a:=ma(c,5);a1:=ma(c,10);a2:=ma(c,20);a6:=ma(c,60);xg:a>a6 and ref(c,3)<ref(o,3) and ref(c,1)<ref(o,1) and cross(c,a) or a>a6 and ref(c,2)<ref(o,2) and ref(c,1)<ref(o,1) and cross(c,a) ;{个人看法,仅供参考} 20210311
a1:=ref(c,1)>ref(o,1);a2:=1-o/ref(c,1)>0.01;{开盘价低于前一日收盘价大于1%} 去st:=if(namelike('s'),0,1)and if(namelike('*'),0,1);去停牌:=dyna**(17)>0;创业板:=if(codelike('300'),1,0);xg:a1 and a2 and 去st and 去停牌 a...