当前位置:首页 > 免费资源 > 正文

「翔博精选指标」MACD周月线金叉死叉(通达信公式 副图 源码 测

2022-01-15原创 编 辑:翔博软件

MACD周月线金叉死叉

 

自用的通达信MACD周线指标

{MACD月周}
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; 

大家都爱看
查看更多热点新闻
点击进入翔博软件旗下掌上指标--自助下载指标