d:=ma(close,80)-ma(close,10)/3;{收盘价的80日简单移动平均-收盘价的10日简单移动平均/3} xg:if(close<d and vol/240>ma(vol,5)/240 and close>ref(close,1)*1.08 and close(close,13)*1.3,1,0);{如果符合抄底则选股,否则返回0} 狂飙蚂蚁博客编写,还有一个...
{1.}var2:=(2*close+high+low)/4;var3:=if(year>=2099 and month>2,0,1);var4:=llv(low,5);var5:=hhv(high,4);散户:=ema((var2-var4)/(var5-var4)*100,4)*var3;**:=ema(0.667*ref(散户,1)+0.333*散户,2)*var3;短快进:cr...
分开二个公式去选股var0:=vol/close/2;var1:=sum(if(var0 > 100 and close > ref(close,1),var0,0),0);var2:=sum(if(var0 > 100 and close < ref(close,1),var0,0),0);var3:=sum(if(var0 < 100 and close >...