mtr:=max(max((high-low),abs(ref(close,1)-high)),abs(ref(close,1)-low));atr:=ma(mtr,14);m**:=ma(ref(v,1),5);t1:=(atr/llv(atr,30))>3;t2:=(m**/llv(m**,30))>3;t3:=ma(c,10)>ma(c,30);xg:t1 and t2 and t3;{已测试通过,你测试不通过的原因:语句后面空格太多} 20210311
rsv:=(close-llv(low,9))/(hhv(high,9)-llv(low,9))*100; k:=sma(rsv,3,1); d:=sma(k,3,1); bias1:=(close-ma(close,24))/ma(close,24)*100; a1:cross(k,d) and cross(k,d)<16 and bias1<-6;
down3:=dow**ay(close,2) and (count(dow**ay(close,2),5)>=1 or count(dow**ay(close,3),5)>=1 or count(dow**ay(close,4),5)>=1 or count(dow**ay(close,5),5)>=1);xg1:=count(every(c/ref(c,1)<1,...
上面这个公式完全可以在通达信行情软件中使用。出现上穿买入选股公式如下:sk5:="skdj.k#week"(13,3);k5:=ema(sk5,3),colorff6a86;上买下卖:=atan((k5/ref(k5,1)-1)*100)*180/3.1416;xg:cross(上买下卖,0) and 上买下卖>5;说明:“上买下卖>5”与“上买下卖>20”效...