大智慧macd日周月金叉死叉多周期指標公式
- 指標類別: 大智慧指標公式
- 授權方式: 免費版
- 指標評級: ★★★★★
- 指標分類: 趨勢
- 畫線方法: 副圖
- 日期:2019-02-23 來源:互聯(lián)網
大智慧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日周月金叉死叉多周期指標公式