aa:cross(ma(close,5),ma(close,20));//表示5日均线与20日均线交金**b:cross(ma(close,10),ma(close,20));//表示10日均线与20日均线交金叉选股:aa and bb;或者直接选股:cross(ma(close,5),ma(close,20)) and cross(ma(close,10),ma(close,20));
boll:=ma(close,n);upper:=boll+2*std(close,n);lower:=boll-2*std(close,n);cross(ma(c,5),ma(c,10)) and upper<ref(upper,1) and lower>ref(lower,1) and ref(upper,1)<ref(upper,2) and ref(lower,1)>...