xmacd及选股源码下载:
aj1:=0.211916*c+0.192951*ref(c,1)+0.158082*ref(c,2)+0.122217*ref(c,3)+0.091137*ref(c,4)+0.066337
*ref(c,5)+0.047475*ref(c,6)+0.033564*ref(c,7)+0.023519*ref(c,8)+0.016373*ref(c,9)+0.011344
*ref(c,10)+0.007832*ref(c,11)+0.005395*ref(c,12)+0.00371*ref(c,13)+0.002549*ref(c,14)+0.001751
*ref(c,15)+0.001203*ref(c,16)+0.000826*ref(c,17)+0.000568*ref(c,18)+0.000391*ref(c,19)+0.000269
*ref(c,20);
yyu:=aj1+0.000185*ref(c,21)+0.000128*ref(c,22)+0.000088*ref(c,23)+0.000061*ref(c,24)+0.000042
*ref(c,25)+0.000029*ref(c,26)+0.00002*ref(c,27)+0.000014*ref(c,28)+0.000009*ref(c,29)+0.000006
*ref(c,30)+0.000003*ref(c,31)+0.000002*ref(c,32)+0.000001*ref(c,33)+0.000001*ref(c,34);
x00:=c;
x01:=0.7522406533*x00+0.3609454219*ref(x00,1)-0.03309329629*ref(x00,2)-
0.04241822779*ref(x00,3)-0.026737249*ref(x00,4)-0.007010041271*ref(x00,5)-
0.002652859952*ref(x00,6)-0.0008415042966*ref(x00,7)-0.0002891931964*ref
(x00,8)-0.0000956265934*ref(x00,9)-0.0000321286052*ref(x00,10)-
0.0000106773454*ref(x00,11)-0.0000035457562*ref(x00,12)-0.0000011670713*ref
(x00,13);
x02:=0.7522406533*x01+0.3609454219*ref(x01,1)-0.03309329629*ref(x01,2)-
0.04241822779*ref(x01,3)-0.026737249*ref(x01,4)-0.007010041271*ref(x01,5)-
0.002652859952*ref(x01,6)-0.0008415042966*ref(x01,7)-0.0002891931964*ref
(x01,8)-0.0000956265934*ref(x01,9)-0.0000321286052*ref(x01,10)-
0.0000106773454*ref(x01,11)-0.0000035457562*ref(x01,12)-0.0000011670713*ref
(x01,13);
x03:=0.7522406533*x02+0.3609454219*ref(x02,1)-0.03309329629*ref(x02,2)-
0.04241822779*ref(x02,3)-0.026737249*ref(x02,4)-0.007010041271*ref(x02,5)-
0.002652859952*ref(x02,6)-0.0008415042966*ref(x02,7)-0.0002891931964*ref
(x02,8)-0.0000956265934*ref(x02,9)-0.0000321286052*ref(x02,10)-
0.0000106773454*ref(x02,11)-0.0000035457562*ref(x02,12)-0.0000011670713*ref
(x02,13);
aa:=((ema((((ema(x01,22)+ema(x01,23))+ema(x01,24))/3),2))+(ema((((ema
(x01,24)+ema(x01,25))+ema(x01,26))/3),2))+(ema((((ema(x01,26)+ema(x01,27))
+ema(x01,28))/3),2))+(ema((((ema(x01,28)+ema(x01,29))+ema(x01,30))/3),2))+
(ema((((ema(x01,30)+ema(x01,31))+ema(x01,32))/3),2))+(ema((((ema(x01,32)+ema
(x01,33))+ema(x01,34))/3),2)))/6;
bb1:=(x01*5+x02*3+x03*1)/9;
主升线:ema(aa,10)-ema(yyu,22);
dif:ema(bb1+slope(bb1,10),10)-ema(yyu+slope(yyu,22),22),colorwhite;
dea:ema(dif+slope(dif,6),6),colorgreen;
sdea:=ref(hhv(dea,barslast(cross(dea,dif))+1),1),colormagenta;
bdea:=ref(llv(dea,barslast(cross(dif,dea))+1),1),coloraaaa00;
xmacd1:2*(dif-dea),colorstick;
ri:=sma(max(close-ref(close,1),0),6,1)/sma(abs(close-ref(close,1)),6,1)*100;
选股:=count(cross(ri,20) and c/ref(c,1)>1.005,8)>=1 and cross(dif,dea) ;
drawicon(选股,dea,1);
rsi5:=((sma(max((close - ref(close,1)),0),5,1) / sma(abs((close - ref(close,1))),5,1)) * 100);
tr1:=sum(max(max((high - low),abs((high - ref(close,1)))),abs((low - ref(close,1)))),10);
hd:=(high - ref(high,1));
ld:=(ref(low,1) - low);
dmp:=sum(if(((hd > 0) and (hd > ld)),hd,0),10);
dmm:=sum(if(((ld > 0) and (ld > hd)),ld,0),10);
pdi:=((dmp * 100) / tr1);
mdi:=((dmm * 100) / tr1);
adx:=ma(((abs((mdi - pdi)) / (mdi + pdi)) * 100),5);
av:=(rsi5 + adx);
dxr:=(((adx + ref(adx,5)) / 2) + rsi5);
wr10:=((100 * (hhv(high,10) - close)) / (hhv(high,10) - llv(low,10)));
newvol:=(rsi5 - wr10);
回调买:=(av + newvol);
xgt:=cross(回调买,0) and dif>主升线;
bias1 :=(close-ma(close,5))/ma(close,5)*100;
bias2 :=(close-ma(close,1))/ma(close,1)*100;
drawicon(cross(bias1,bias2) and dif>主升线 and xmacd1>ref(xmacd1,1),dif,7);
drawicon(xgt,dea,1);
上一指标公式:见红有喜买入预警下载
下一指标公式:通达信公式筹码活跃条件选股指标下载
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文XMACD及选股下载仅供学习研究。