好像写过了。下载最新的5分钟数据,选股周期设为5分钟进行选股。ma(c,5)>ref(ma(c,5),1) and ma(c,10)>ref(ma(c,10),1) and ma(c,20)>ref(ma(c,20),1) and ma(c,30)>ref(ma(c,30),1) and ma(c,40)>ref(ma(c,40),1) and ma(c,50)>...
我能编出来。不难。只是有疑问。你对于第一根k线的中阳线或大阳线的涨幅是要求多少%? st:=ref(close,1)/ref(open,1);w1:=st>1.03 and close/open>1 and close/openref(open,1) and close>ref(close,1);w3:=highref(low,1);w4:=vol
首先先把条件明确,是要昨天今天同时满足条件还是,两天中一天满足即可. 如果两天都满足条件可以按下面公式这么写 鸣:count((f2=100 and c>ref(c,1)and filter(m1 and m2,3))*120,2)=2;或者 鸣:=(f2=100 and c>ref(c,1)and filter(m1 and m2,3))*120;xg:鸣 and ref(鸣,1);...