公式可直接用于同花顺,不用做修改。改为同花顺选股指标如下var1:=((close - llv(low,15))/(hhv(high,15) - llv(low,15)))*(100);var2:=reverse(var1);var3:=sma(var1,5,1);k:=sma(var3,3,1);d:=sma(k,3,1);xg:cross(k,d) and d
var1:=(2*close+high+low)/4;var2:=llv(low,34);var3:=hhv(high,34);xx:=ema((var1-var2)/(var3-var2)*100,13);yy:=ema(0.667*ref(xx,1)+0.333*xx,2);cross(xx,yy) and xx<20 ;
tr:=sum(max(max(high-low,abs(high-ref(close,1))),abs(low-ref(close,1))),7);hd:=high-ref(high,1);ld:=ref(low,1)-low;dmp:=sum(if(hd>0 and hd>ld,hd,0),7);dmm:=sum(if(ld>0 and ld>hd,ld,0),7);d...