飞狐千均DDE预警改编条件选股源码副图
-
相关简介:源码: jj:=(HIGH+LOW+CLOSE)/3; qj0:=vol/IF(HIGH=LOW,4,HIGH-LOW); qj1:=qj0*(MIN(OPEN,CLOSE)-LOW); qj2:=qj0*(jj-MIN(CLOSE,OPEN)); qj3:=qj0*(HIGH-MAX(OPEN,CLOSE)); qj4:=qj0*(MAX(CLOSE,OPEN)-jj); DDX:=IF(HIGH=LOW,4*qJ0,((qj1+qj2)-(qj3+qj4)))/sum(vol,10)*100
-
文章来源:股海网作者:股海网发布时间:2015-08-24浏览次数:
源码:
jj:=(HIGH+LOW+CLOSE)/3;
qj0:=vol/IF(HIGH=LOW,4,HIGH-LOW);
qj1:=qj0*(MIN(OPEN,CLOSE)-LOW);
qj2:=qj0*(jj-MIN(CLOSE,OPEN));
qj3:=qj0*(HIGH-MAX(OPEN,CLOSE));
qj4:=qj0*(MAX(CLOSE,OPEN)-jj);
DDX:=IF(HIGH=LOW,4*qJ0,((qj1+qj2)-(qj3+qj4)))/sum(vol,10)*100;
DDY:=((qj2+qj4)-(qj1+qj3))/sum(vol,10)*100;
DDZ:=((qj1+qj2)-(qj3+qj4))/((qj1+qj2)+(qj3+qj4))*100*17;
V1:=v/ma(ref(v,1),5);
V2:=indexv/ma(ref(indexv,1),5);
v0:=v1/v2;
ST:=STRFIND(stkname,'ST',1)>0;
S1:=STRFIND(stkname,'S',1)>0;
停牌:=(DYNAINFO(4)=0);
去除ST:=not(ST) and not(停牌) and not(S1);
预警:DDX>2 and DDZ>100 and DDY>3 and vol/CAPITAL*100>3 and V0>3.5 and CAPITAL/1000000<=10 and CAPITAL/1000000>=0.5 and 去除ST
今日改编,盘后选股,不知盘中效果如何,不过应该不错!