软件名称:[B]练习2[/B]
软件类型:国产软件
运行环境:Win9X/2000/XP/2003/
软件语言:简体中文
授权方式:解密版
软件大小:1.00 KB
官方主页:Home Page
更新时间:2009-04-09 07:46:51
软件简介:
试着练习做条件选股的第一个发现,请各位多多指教,
练习2原码:
DIFF := EMA(CLOSE,12) - EMA(CLOSE,26);
DEA :=EMA(DIFF,9);
MACD :=2*(DIFF-DEA);
DIFF<DEA AND MACD>REF(MACD,1) AND REF(MACD,1)<REF(MACD,2) ;
MACD是最常用的纯价系统之一,我的思路是看看能不能在这里弄一点简单的实用的东西,
请多多交流,提供意见,谢谢!
DIFF := EMA(CLOSE,12) - EMA(CLOSE,26);
DEA :=EMA(DIFF,9);
MACD :=2*(DIFF-DEA);
DIFF<DEA AND MACD>REF(MACD,1) AND REF(MACD,1)<REF(MACD,2) ;
加多一个AND L<REF(L,1)好像比较接近我的原意,请帮验证!
DIFF := EMA(CLOSE,12) - EMA(CLOSE,26);
DEA :=EMA(DIFF,9);
MACD :=2*(DIFF-DEA);
DIFF<DEA AND MACD>REF(MACD,1) AND REF(MACD,1)<REF(MACD,2) AND L<REF(L,1) ;
DEA :=EMA(DIFF,9);
MACD :=2*(DIFF-DEA);
DIFF<DEA AND MACD>REF(MACD,1) AND REF(MACD,1)<REF(MACD,2) AND L<REF(L,1) ;
[url=http://www.70822.com/soft/sort013/sort03/down-8144.html]练习2[/url]