a:=((ref(c,3)-ref(c,1))/c)*100>6;a1:= close>ref(close,1)*1.03 ;a2:=cross(j,ma(j,2)) and c>o;a3:= ref(((h-o)/c)*100<2,1);a4:=ref(c<o,2) and ref(c<o,1);a5:=((h-c)/c)*100<2 and h>...
黄金坑的选股: var8:=ma(close,27);var9:=(close-var8)/var8*100;vara:=ma(var9,2);varb:=barslast(cross(-10,vara)=1);vard:=vara<-10 and varb>3;xg:if(vard,1,0);贪嘴乐: var8:=ma(close,27);var9:=(close-var8)/var...
ma5:=ma(c,5);ma10:=ma(c,10);ma20:=ma(c,20);zf:=(c-o)/o*100>4;bias20:=(close-ma(close,5))/ma(close,5)*100*vol;bias21:=(close-ma(close,5))/ma(close,5)*100*c;量:barslast(barslast(bias20>0 and ref(bi...
第一个公式------条件当机构买超过机构卖的10%以上时原码如下:成交额:=v*c/100;机构买:=sum((if(((成交额/8>20) and (close>(ref(close,1)))),成交额,0)),0);机构卖:=sum((if(((成交额/8>20) and (close<(ref(close,1)))),成交额,0)),0);条件a:机构买/机构卖&g...
以下是修改过的,按问题要求做的股票选股公式,用软件实际测试过能达到要求,可以使用: za1:=sma(close,2,1);za2:=ema(c,2);za3:=ema(slope(c,24)*20+c,42);bu:=cross(za2,ref(za2,1)*1.017);sel:=cross(za3,za2);zmin:bu and cross(za2,za3*1.008)and za1>...