千均DDE预警改编(条件选股、源码、副图、贴图)
2011-02-16 11:35:00来源:本站整理浏览:153
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
- 上一篇公式:最赚钱的公式
- 下一篇公式:波段极限(改名天堂柱与我的地狱底相匹配 大智慧极准的买卖指标)