设为首页加入收藏

微信关注
官方微信号:71712643
加关注获取每日精选资讯
股票入门欢迎您加入
广告服务联系我们网站地图

三个MACD底背离选股公式

2011-10-10 23:17:18 股票入门 http://rumen.southmoney.com

发现三个MACD背离选股公式,选择出的票子不统一,发给大家看看,讨论一下哪个才是最好的版本。

选股一:(注意包含了DCLOSE函数,是个移动函数,但是和普通的未来函数有区别,陆老师用的三合一选股用的就是这款)
DIFF:=EMA(DCLOSE,12)-EMA(DCLOSE,26);
DEA:=EMA(DIFF,9),COLORFFFF00;
MACD:=(DIFF-DEA)*2;
A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));
A2:=BARSLAST(REF(CROSS(DEA,DIFF),1));
底背离:REF(CLOSE,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1) AND CROSS(DIFF,DEA);

选股二:(其实就是把第一个选股公式的DCLOSE改为了CLOSE)
DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
MACD:=2*(DIFF-DEA);
A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));
B1:=REF(C,A1+1)>C AND REF(DIFF,A1+1)<DIFF AND CROSS(DIFF,DEA);

FILTER(B1>0,5)

选股三:
DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
AB:=REF(DEA,20);
BB:=REF(CLOSE,30);
低值:=LLV(DEA,25);
选股:CROSS("KDJ.J","KDJ.D")AND "KDJ.D"<30 AND DEA>AB AND DEA>低值 AND CLOSE<BB AND 低值<-0.2;

股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。