f:=100*(c-ref(c,1))/ref(c,1); 今小昨:=if(c<ref(o,1) and f<0,1,0); s1:=今小昨; 今小前:=if(c<ref(o,2) and f<0,1,0),linethick0; s2:=今小前; a3:=s1=0 and ref(s1,1)=1 and s2=0 and ref(s2,1)=1 and cross(zig(3,10) ,ref(zig(3 ,10),1));全仓杀入:a3=1;智勇出击: zig(3,6)>ref(zig(3,6),1)and ref(zig(3,6),1)<ref(zig(3,6),2);突袭:智勇出击=1; 20210311
var1:=sum(max(max(high-low,abs(high-ref(close,1))),abs(low-ref(close,1))),25);var2:=high-ref(high,1);var3:=ref(low,1)-low;var4:=sum(if(var2>0 and var2>var3,var2,0),...
神仙大趋势h1:=ema(close,6),colorwhite; h2:=ema(神仙大趋势h1,18),colorgreen; h3:=ema(close,108),coloryellow;cross(神仙大趋势h1,max(h2,h3)) or (神仙大趋势h1>max(h2,h3) and ref(c,1)<ref(c,2) and c>ref(max(c,o),1));
以下是修改过的,按问题要求做的股票选股公式,用软件实际测试过能达到要求,可以使用: 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>...