飞狐MACD周叉副图指标
-
相关简介:飞狐MACD周叉副图指标 源码 {MACD周叉 LONG 26 SHORT 12 MID 9 日线、周线、周月金叉、死叉同一图} DIFF:EMA(CLOSE,SHORT)-EMA(CLOSE,LONG),COLORWHITE; DEA:EMA(DIFF,MID),COLORYELLOW; MACD:(DIFF-DEA)*2,COLORSTICK; 周DIFF:MA(MACD.DIFF#WEEK(LONG,SHORT,MID),5),POINTDOT,LINETHICK1,COLORWHITE;
-
文章来源:股海网作者:股海网发布时间:2016-03-19浏览次数:
飞狐MACD周叉副图指标
源码
{MACD周叉 LONG 26 SHORT 12 MID 9
DIFF:EMA(CLOSE,SHORT)-EMA(CLOSE,LONG),COLORWHITE;
DEA:EMA(DIFF,MID),COLORYELLOW;
MACD:(DIFF-DEA)*2,COLORSTICK;
周DIFF:MA("MACD.DIFF#WEEK"(LONG,SHORT,MID),5),POINTDOT,LINETHICK1,COLORWHITE;
周DEA:MA("MACD.DEA#WEEK"(LONG,SHORT,MID),5),POINTDOT,LINETHICK1,COLOR33FF99;
周金▲:DRAWTEXT(CROSS("MACD.DIFF#WEEK"(LONG,SHORT,MID) ,"MACD.DEA#WEEK"(LONG,SHORT,MID)),0,'▲'),COLORred;
周死▼:DRAWTEXT(CROSS("MACD.DEA#WEEK"(LONG,SHORT,MID) ,"MACD.DIFF#WEEK"(LONG,SHORT,MID)),0,'▼')COLORgreen;
月金个:DRAWTEXT(CROSS("MACD.DIFF#MONTH"(LONG,SHORT,MID) ,"MACD.DEA#MONTH"(LONG,SHORT,MID)),0,'个'),COLORMAGENTA;
月死丫:DRAWTEXT(CROSS("MACD.DEA#MONTH"(LONG,SHORT,MID) ,"MACD.DIFF#MONTH"(LONG,SHORT,MID)),0,'丫'),COLORYELLOW;