xg1:=dyna**(7)<30 and between(dyna**(39),0,50) and finance(40)<20*10000*10000 and dyna**(37)*100 >1;xg2:=every(c>ref(c,1),3) and every(v<ref(v,1),3) ;xg:xg1 and xg2 ;刚才筛选了一下,没有股票满足,主要是第二个条件太苛刻,只有600843一只股票满足第二个条件; 20210311
a:=ref(high,10)=hhv(high,2*10+1); a1:=filter(a,10); a2:=backset(a1,10+1); a3:=filter(a2,10); 前高:=ref(h,barslast(a3));放量:=vol/ref(vol,1)>=2 and count(close>open,1) or low>ref(high,1) and count...
通达信的:a:=dmi.pdi>dmi.mdi and dmi.pdi>dmi.adx and dmi.pdi>dmi.adxr;b:=every(a,5);b and count(b,30)=1;测试通过,希望能够帮助你!我给你的公式pdi全部在30日内了,怎么又出来一个“第5日pdi能小于30内大于其他3线就选出”第5日已经包含在30日之内了,严格的说它都小于2日内了,还不小...
p:=(high + low + close)/3;cci:=(p-ma(p,n))*100/(1.5***edev(p,n)),colorwhite;-100,pointdot,color00aa00;100,pointdot,color00aa00;select:count(c<ref(c,1),5) and ref(count(cci<-100,3),3) and cross...
我能编出来。不难。只是有疑问。你对于第一根k线的中阳线或大阳线的涨幅是要求多少%? st:=ref(close,1)/ref(open,1);w1:=st>1.03 and close/open>1 and close/open<st;w2:=open>ref(open,1) and close>ref(close,1);w3:=high<ref(high,1)...