当(MACD强弱分界)出现第一条粉柱状做一个选股
2020/4/26 18:37:59
公式编写说明:
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.kang uba.com
其它股票公式列表