UID64340
积分91
学分
推广 个
预报后涨停 支
阅读权限20
在线时间 小时
注册时间2010-4-29
最后登录1970-1-1
|
班长小气 我发个源码 P设置为3 就好
tj1:=ref(vol,p)>ma(vol,5) and ref(vol,p)/ref(vol,p+1)>1.9 and ref(close,P)>ref(open,P);
tj6:=((REF(CLOSE,P)-REF(OPEN,P))/(REF(HIGH,P)-REF(LOW,P))>=0.5)
OR REF(CLOSE,P+1)*1.1=REF(CLOSE,P) or (ref(open,p)>ref(close,p) and ref(close,p)>ref(close,p+1));
tj2:=ref(OPEN,P)<=llv(low,p);
tj3:=count(tj1>0,p);
tj4:=max(ma(close,5),ma(close,10),ma(close,20),ma(close,60),
ma(close,120));
tj5:=ref(close,p)>=tj4 and close>tj4;
tj1 and tj2 and tj3 and tj5 AND TJ6; |
|