据说在这个MACD指标出现黄色和紫色的柱子的时候买入会有比较好的收益。
只是这个指标有加密和时限。不知哪里有类似的指标或者是相同的指标?
我觉得这个指标应该不是简单的变色MACD而已,应该是附加了一些其他的条件的。
{PARAM}
SHORT:=12;
LONG:=26;
MID:=9;
{周MACD}
WEEK_JC:="MACD.DIF#WEEK"(SHORT,LONG,MID)>"MACD.DEA#WEEK"(SHORT,LONG,MID);
WEEK_SC:="MACD.DIF#WEEK"(SHORT,LONG,MID)<"MACD.DEA#WEEK"(SHORT,LONG,MID);
{月MACD}
MONTH_JC:="MACD.DIF#MONTH"(SHORT,LONG,MID)>"MACD.DEA#MONTH"(SHORT,LONG,MID);
MONTH_SC:="MACD.DIF#MONTH"(SHORT,LONG,MID)<"MACD.DEA#MONTH"(SHORT,LONG,MID);
银:WEEK_JC,NODRAW;
金:MONTH_JC,NODRAW;
_WIDTH:=-1; STICKLINE((_MACD<0) AND (WEEK_JC),_MACD,0,_WIDTH,0),COLORGREEN;
VAR1:=EMA(EMA(CLOSE,9),9);
主力:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000,COLORRED,LINETHICK2;
VAR2:=100*WINNER(CLOSE*0.95);
加速:VAR2>50 AND COST(85)
_DIF:=EMA(CLOSE,12)-EMA(CLOSE,26),COLORWHITE,LINETHICK1;
_DEA:=EMA(_DIF,9),COLORYELLOW,LINETHICK1;
_MACD:=(_DIF-_DEA)*2,COLORWHITE,COLORSTICK;
A1:=_MACD0;
A2:=_MACD
STICKLINE((_MACD>=0) AND (WEEK_JC),_MACD,0,_WIDTH,0),COLORRED;
STICKLINE((_MACD>=0) AND (WEEK_JC) AND 加速,_MACD,0,_WIDTH,0),COLORMAGENTA;
STICKLINE((_MACD>=0) AND (WEEK_SC),_MACD,0,_WIDTH,1),COLORRED;
STICKLINE((_MACD>=0) AND (MONTH_JC),_MACD/2,0,_WIDTH,0),COLORYELLOW;
STICKLINE((_MACD>=0) AND (MONTH_SC AND WEEK_JC),_MACD/2,0,_WIDTH,0),COLORGREEN;
STICKLINE((_MACD<0) AND (WEEK_SC),_MACD,0,_WIDTH,1),COLORLIGREEN;
STICKLINE((_MACD<0) AND (MONTH_JC),_MACD/2,0,_WIDTH,0),COLORYELLOW;
STICKLINE((_MACD<0) AND (MONTH_SC AND WEEK_JC),_MACD/2,0,_WIDTH,0),COLORGREEN;
强弱分界:0,COLORWHITE,LINETHICK1;
值:_MACD,COLORRED,NODRAW;
白:_DIF,COLORWHITE;
黄:_DEA,COLORYELLOW;