优化“MACD改进,买入一周十个点”(附图,原码,说明)介绍
优化“MACD改进,买入一周十个点”(附图,原码,说明)
优化“MACD改进,买入一周十个点”(附图,原码,说明)
原码:
DIF1:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA1:=EMA(DIF1,9);
{柱状线}
AAA1:=(DIF1-DEA1)*2*60;
AAA上:IF(AAA1>REF(AAA1,1),AAA1,0),
STICK,COLORRED,LINETHICK1;
AAA下:IF(AAA1<REF(AAA1,1),AAA1,0),STICK,COLORYELLOW,LINETHICK1;
买入线:6;
房子:AAA1-REF(AAA1,1),COLORRED;
DRAWICON(CROSS(房子,买入线),买入线,7);
附图:
gd14349