1第一步ctrl+f 左侧选择条件选股公式后,点击右侧的新建 如图,选择第二项条件选股公式2第二步写个只有一个逻辑输出的公式,按提示 编译保存公式如dtt:=c<ref(c,1)*0.92 and l=c;c<ref(c,1) and ref(c,1)<ref(c,2) and not(dtt)and not(ref(dtt,1)) and (c-l)/(h-l)>1/4 ...
{上面二公式是一样的,再不放心,你用这个公式对比验证一就知道了}rsv:=(close-llv(low,9))/(hhv(high,9)-llv(low,9))*100;k:=sma(rsv,3,1);d:=sma(k,3,1);j:=3*k-2*d;xg:cross(j,k) and j>k and k>d;
n:=9; m1:=3; m2:=3;rsv:=(close-llv(low,n))/(hhv(high,n)-llv(low,n))*100;k:=sma(rsv,m1,1);d:=sma(k,m2,1);j:=3*k-2*d;xg:k>ref(k,1) and ref(k,1)<ref(k,2);{已经测试,复制可直接使用,满意请给予采纳}
均价:=amount/vol/100,coloryellow;ll:=c<ref(c,1) and c/均价<(1-0.03);ll1:=cross(sum(ll,0),0.5);bb1:=sum(ll1,0)*cross(count(c>ref(c,1),barslast(ll1)),0.5);cb1:=const(sum(if(bb1,ref(c,1),draw**),0))...