a11:=3*sma((c-llv(l,55))/(hhv(h,55)-llv(l,55))*100,5,1)-2*sma((c-llv(l,55))/(hhv(h,55)-llv(l,55))*100,5,1);黑马线:=ema(a11,5);a41:=((c-llv(l,21))/(hhv(h,21)-llv(l,21)))*100;趋势线:=(ma(3*sma(a41,6,1)-2*sma(sma(a41,5,1),5,1),2));{下面可以单独成立 砸锅卖田买}趋势线1:=(close-ma(close,40))/ma(close,40)*130;aaa:=((ref(趋势线1,1)=ref(趋势线1,1))or (ref(cross(-30,趋势线1),1) and cross(趋势线1,-30)) or 趋势线1=-30;买:if(aaa,75,0);{小黑马}a:=v*100/capital;小黑马:=ma(a,180);diff0:=(ema(dclose,12)-ema(dclose,26))*100;dea0:=ema(diff0,9);macd0:=2*(diff0-dea0);黑马:(macd0>ref(macd0,1)*2.5 and macd0>15); 20210311
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>...
进场选股:z:=ma(c,120);var4:=ma((close-llv(low,10))/(hhv(high,10)-llv(low,10))*100,3);进场:if(close>z and ref(var4,1)<30 and var4>ref(var4,1) and ref(var4,1)<ref(var4,2),80,50);反弹进场选股:z:=ma(c,120...
方法一:varc:=(zig(3,5)>ref(zig(3,5),1)) and (ref(zig(3,5),1)<=ref(zig(3,5),2)) and (ref(zig(3,5),2)<=ref(zig(3,5),3));xg:varc#min5;方法二:varc:(zig(3,5)>ref(zig(3,5),1)) and (ref(zig(3,5),1)<...