股票论坛

标题: MACD顶底背离选股公式源码检测不起 [打印本页]

作者: 飞翔    时间: 2015-12-26 18:21
标题: MACD顶底背离选股公式源码检测不起
DIF:=EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);
DEA:=EMA(DIF,MID);
MACD:=(DIF-DEA)*2,COLORSTICK;
AA:=CROSS(DIF,DEA);
BB:=BARSLAST(AA);
CC:=REF(BB,1)+1;
C<REF(C,CC) AND DIF>REF(DIF,CC) AND AA;
作者: 新朝阳    时间: 2015-12-28 21:13
DIF:EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:EMA(DIF,9);
MACD:(DIF-DEA)*2,COLORSTICK;
AA:=CROSS(DIF,DEA);
BB:=BARSLAST(AA);
CC:=REF(BB,1)+1;
C<REF(C,CC) AND DIF>REF(DIF,CC) AND AA;




欢迎光临 股票论坛 (http://100000w.com/) Powered by Discuz! X3.2