通达信MACD周月线金叉死叉指标公式
2021/4/3 18:53:36
本文公式指标的选股公式如下:
MACD周月线金叉死叉之M周金叉选股指标公式
MACD周月线金叉死叉之M月金叉选股指标公式
DIF:=(EMA(CLOSE,12)-EMA(CLOSE,26))*100,COLOR0000FF,LINETHICK2;
DEA:=EMA(DIF,9),COLORFFFFFF,LINETHICK2;
MACD:=(DIF-DEA)*2,COLORSTICK;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
DIFW:="MACD.DIF#WEEK";
DEAW:="MACD.DEA#WEEK";
FCA:=FILTER(CROSS(DIFW,DEAW),0);
SCA:=FILTER(CROSS(DEAW,DIFW),0);
M周金叉:IF(CROSS("MACD.DIF#WEEK","MACD.DEA#WEEK"),50,0),COLOR0000FF,LINETHICK2;
DIFM:="MACD.DIF#MONTH"; DEAM:="MACD.DEA#MONTH";
FCB:=FILTER(CROSS(DIFM,DEAM),0);
SCB:=FILTER(CROSS(DEAM,DIFM),0);
M月金叉:IF(CROSS("MACD.DIF#MONTH","MACD.DEA#MONTH"),60,0),COLOR00FFFF,LINETHICK2;
M周死叉:IF(CROSS("MACD.DEA#WEEK","MACD.DIF#WEEK"),-50,0),COLOR0000FF,LINETHICK2;
M月死叉:IF(CROSS("MACD.DEA#MONTH","MACD.DIF#MONTH"),-60,0),COLOR00FFFF,LINETHICK2;
投股票 网 ww w.tou18.cn
股市公式下载推荐