a := **lastbar;k1:cost(99);drawtext(a and k1,k1,con2str(k1,2)),colorred;k2:cost(95);drawtext(a and k2,k2,con2str(k2,2)),coloryellow;k3:cost(80);drawtext(a and k3,k3,con2str(k3,2)),colorea91b5;k4:cost(...
mtm:=c-ref(c,1);dx:=100*ema(ema(mtm,6),6)/ema(ema(abs(mtm),6),6);买:=llv(dx,2)=llv(dx,7) and count(dx<0,2) and cross(dx,ma(dx,2));jrs:=filter(买=1,5);收盘价买入:cross(jrs,0.8);全年选股次数:sum(jrs,250),linethic...
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),25);var5:=sum(if(var3>0 and...