公式指标论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

千均DDE预警改编(条件选股、源码、副图、贴图)

2021-8-28 18:17| 发布者: admin| 查看: 20| 评论: 0

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


鲜花

握手

雷人

路过

鸡蛋
返回顶部