【资料名称】:牛市追张2( 选股公式 源码 测试图)介绍【资料描述】:
牛市追张2( 选股公式 源码 测试图)
本公式对牛市追涨1,加入KD金叉并加入千钧DDX大单连续翻红。我认为大盘在60天均线上运行就算是牛市。
我对自己发表的所有公式均不满意,只是脑力游戏而已,各位不要认真。
{牛市追涨2}
input:m(2,1,10);
N:=22;jj:=(HIGH+LOW+CLOSE)/3;qj0:=vol/IF(HIGH=LOW,4,HIGH-LOW);
qj1:=IF(CAPITAL=0,qj0*(jj-MIN(CLOSE,OPEN)),qj0*IF(HIGH=LOW,1,(MIN(OPEN,CLOSE)-LOW)));
qj2:=IF(CAPITAL=0,qj0*(MIN(OPEN,CLOSE)-LOW),qj0*IF(HIGH=LOW,1,(jj-MIN(CLOSE,OPEN))));
qj3:=IF(CAPITAL=0,qj0*(HIGH-MAX(OPEN,CLOSE)),qj0*IF(HIGH=LOW,1,(HIGH-MAX(OPEN,CLOSE))));
qj4:=IF(CAPITAL=0,qj0*(MAX(CLOSE,OPEN)-jj),qj0*IF(HIGH=LOW,1,(MAX(CLOSE,OPEN)-jj)));
DDX:=((qj1+qj2)-(qj3+qj4))/sum(vol,60);
not(STRFIND(stkname,'ST',1)>0) and c>ref(c,1)*1.025
and CROSS("DMI.PDI","DMI.MDI")
and count("DMI.PDI">"DMI.MDI",8)=1
and cross(v/240,ma(v,5)/240)
and cross("kd.k","kd.d")
and all(ddx>0,m);
gd11032
【下载地址隐藏】: 点:回复可见地址