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)>...
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;