价创30日新低:l<=llv(l,30);当日macd(那个红绿柱子)值昨日:"macd.macd”>ref("macd.macd",1);当日diff线) 没创新低:"macd.dif">=ref("macd.dif",1);选股1:l<=llv(l,30) and "macd.macd&qu...
你要的选来股公式代码如下源 n:=9;m1:=3;m2:=3;var1:=(high+low+close)/3;var2:=(var1-ma(var1,14))/(0.015***edev(var1,14));var3:=if(trou**ars(3,16,1)=0 and high>low+0.04,80,0);var4:=if(zig(3,22)>ref(zig(3,22),1)a...
typ:=(high+low+close)/3;cci:=(typ-ma(typ,n))/(0.015***edev(typ,n));tj:=cross(cci,100);周期数:=barslast(ref(tj,1))+1;上次金叉:=(ref(cci,周期数)+ref(cci,周期数+1))/2;今天金叉:=(cci+ref(cci,1))/2;xg:count(tj,30)>=2 and t...
count(ref(c,1)/ref(c,2)>1.07 and ref(c,1)/ref(o,1)>1.07,5)>=1 and every(ref(c,1)>ma(c,20),5) and ref((l,h),1)<>ref((c,o),1) and abs(ref(c,1)/ref(o,1)-1)<0.005 and c>ref(h,1);