当(MACD强弱分界)出现第一条粉柱状做一个选股
2020/4/26 19:09:15
公式编写说明:
DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);DEA:=EMA(DIFF,9);MACD:=2*(DIFF-DEA), COLORSTICK;STICKLINE(MACD<REF(MACD,1)AND MACD>0,0,MACD,1,0),COLORGREEN;STICKLINE(MACD<REF(MACD,1)AND MACD<0,0,MACD,1,0),COLORFFCC33;STICKLINE(MACD>REF(MACD,1)AND MACD,0,MACD,1,0),COLORRED;STICKLINE(MACD>REF(MACD,1)AND MACD>0,0,MACD,1,0),COLORMAGENTA;强弱分界:0,COLORWHITE,LINETHICK1;
公式源码回答:
DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
MACD:=2*(DIFF-DEA);
REF(MACD,1)<REF(MACD,2)AND REF(MACD<0,1) AND MACD>REF(MACD,1)AND MACD>0;
投股 票网 www.tou18. cn
股市公式下载推荐