在线检测未来函数

大智慧提前MACD指标公式

来源:Internet,编辑:股旁网,2016-05-16

LONG:=26;
SHORT:=5;
M:=4;
DRAWGBK((CLOSE > 0),STRIP(RGB(4,1,28),RGB(4,1,35),0));
DIFF : EMA(CLOSE,SHORT) - EMA(CLOSE,LONG);
DEA : EMA(DIFF,M);
MACD : 2*(DIFF-DEA), COLORSTICK;
partline(diff,diff>=ref(diff,1),rgb(255,0,0),diff<ref(diff,1),rgb(0,255,0)),linethick2;
DRAWTEXTABS(3,1,'DIFF翻红,结合增仓及均线多头抓主升。'),linethick1,Colorred;
DRAWTEXTABS(3,16,'DIFF泛绿时持币,宁缺毋滥。'),linethick1,Colorred;

大智慧提前MACD指标公式

 

相关文章