{多头选股公式}{一、各均}ma5:ma(c,5);ma10:ma(c,10);ma20:ma(c,20); ma60;ma(c,60);ma120:ma(c,120);{二、多头趋势即各周期均价线趋势向上(各均价线大于昨日均价线且收盘价破10日均价线)}dt:ma5>ref(ma5,1) and ma5>ma10 and ma10>ref(ma10,1) and ma10>...
aa:=ma(close,5);bb:=ma(close,10);cc:=ref(l,1)>bb;ee:=open>ma(close,10);ff:=close>ma(close,10);ll:=low<ref(close,1)*0.95;lly:=low<bb;aa>bb and (cc and ee and ff and ll and lly);加进限制条件...
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;