MACD改进后无未来,买入一周十个点(附图 源码 贴图)介绍
MACD改进后无未来,买入一周十个点(附图 源码 贴图)
{SHORT 2 200 6
LONG 2 200 13
MID 2 200 5}
DIF:=EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);
DEA:=EMA(DIF,MID);
MACD:=(DIF-DEA)*2,COLORSTICK;
{柱状线}
AAA1:=(DIF-DEA)*2*60;
AAA上:IF(AAA1>REF(AAA1,1),AAA1,DRAWNULL),
STICK,COLORRED,LINETHICK1;
AAA下:IF(AAA1<REF(AAA1,1),AAA1,DRAWNULL),STICK,COLORYELLOW,LINETHICK1;
买入线:15;
房子:AAA1-REF(AAA1,1),COLORRED;
DRAWICON(CROSS(房子,买入线),买入线,1);
gd18758