大智慧macd日周月金叉死叉多周期指标公式
- 指标类别: 大智慧指标公式
- 授权方式: 免费版
- 指标评级: ★★★★★
- 指标分类: 趋势
- 画线方法: 副图
- 日期:2019-02-23 来源:互联网
大智慧macd日周月金叉死叉多周期指标公式:
DIFF : EMA(CLOSE,12) - EMA(CLOSE,26);
DEA : EMA(DIFF,9);
MACD : 2*(DIFF-DEA), COLORSTICK;
周DIFF:=("MACD.DIFF#WEEK"(26,12,9));
周DEA:=("MACD.DEA#WEEK"(26,12,9));
周金:drawtext(cross("MACD.DIFF#WEEK"(26,12,9) ,"MACD.DEA#WEEK"(26,12,9)),0,'周金'),COLORred;
周死:drawtext(cross("MACD.DEA#WEEK"(26,12,9) ,"MACD.DIFF#WEEK"(26,12,9)),0,'周死'),COLORgreen;
月金个:drawtext(cross("MACD.DIFF#MONTH"(26,12,9) ,"MACD.DEA#MONTH"(26,12,9)),0,'个月'),COLORMAGENTA;
月死丫:drawtext(cross("MACD.DEA#MONTH"(26,12,9) ,"MACD.DIFF#MONTH"(26,12,9)),0,'丫月'),COLORYELLOW;
STICKLINE(MACD>=0,MACD,0,1.9,2),COLOR0000FF;
STICKLINE(MACD<0,MACD,0,1.9,2),COLORffFF00;
PARTLINE(DIFF,DIFF>=REF(DIFF,1),RGB(255,0,0),DIFF<REF(DIFF,1),RGB(0,255,0)),Linethick2;
DRAWTEXTABS(500,1,'DIFF翻红,结合增仓及均线多头抓主升。'),linethick1,Color00ffff;
DRAWTEXTABS(750,1,'DIFF泛绿时持币,宁缺毋滥。'),linethick1,Color00ff00;
大智慧macd日周月金叉死叉多周期指标公式实例图解:
大智慧macd日周月金叉死叉多周期指标公式