a1:=ma(c,5)>ref(ma(c,5),1) and ma(c,10)>ref(ma(c,10),1) and ma(c,20)>ref(ma(c,20),1) and ma(c,60)>ref(ma(c,60),1);vpt:=sum(vol*(close-ref(close,1))/ref(close,1),0);m**pt:=ma(vpt,6);a2:=vpt...
由于申万宏源钱龙版的软件不能编写指标,只能编写申万宏源通达信版的选股公式;公式如下:{量个股-选股-预警}{条件:自动筛选收盘价在5日均线下,成交量在5日成交量均线上,且收日阳线的指标}ma5:=ma(c,5);mv5:=ma(v,5);xg:c<ma5 and v>mv5 and c>ref(c,1) and c>o;