月线和周线都金叉用的是同一个公式,选的时候先选月线,再保存比方到a,然后再改变原来的选股范围利用a作范围,选出周线金叉的即可。金叉包括很多范围,有kdj金叉、macd金叉、均线金叉(也有很多)、rsi指标金叉。。。。。。比方5日均线刚金叉10日均线:cross(ma(c,5),ma(c,10));如果只要是金叉即可:count(cross(ma(c,5),ma(c,10),4)>=1 and ma(c,5)>ma(c,10); 20210311
y:=close/ref(close,1)>1.07;x:=vol>ma(vol,5);a1:=y and x;k1:=barslast(l>ref(h,1) and c/o>1.05);k2:=l<ref(h,k1+1) and count(l<ref(h,k1+1),k1)=1;攻击涨停:=if(a1,70,0);浮筹比例:=(winner(c*1.1)-w...
ma3:=ma(c,3); ma10:=ma(c,10); mv3:=ma(v,3); ma5:=ma(c,5); mv10:=ma(v,10); (close-open)>0.02*open and close>open and ref(close,1)<ref(open,1) and ref(close,2)>ref(open,2) and ma3&...