{MACD长中短}
diff中:"macd.diff"(11,28,5);
stickline(diff中>ref(diff中,1),diff中,ref(diff中,1),7,0),
COLOR00ffff,linethick3;
stickline(diff中<ref(diff中,1),diff中,ref(diff中,1),7,0),
COLOR4080ff,linethick3;
dea中:="macd.dea"(11,28,5),color0000ff;
diff短:"macd.diff"(3,8,3);
stickline(diff短>ref(diff短,1),diff短,ref(diff短,1),9,0),
COLORffff00,linethick3;
stickline(diff短<ref(diff短,1),diff短,ref(diff短,1),9,0),
COLORff9900,linethick3;
dea短:="macd.dea"(3,8,3),colorff9900;
diff长:ema("macd.diff"(12,150,9),20);
stickline(diff长>ref(diff长,1),diff长,ref(diff长,1),7,0),
COLORff99ff,linethick3;
stickline(diff长<ref(diff长,1),diff长,ref(diff长,1),7,0),
COLOR0000ff,linethick3;
dea长:="macd.dea"(2,150,9),color00ff00;
DRAWICON(CROSS(ZIG(3,10) ,REF(ZIG(3 ,10),1)) ,0,1);
DRAWICON(CROSS(REF(ZIG(3,10),1),ZIG(3,10)) ,0,2);
v0:0,colorffa2af;
{
顶尖财经网www.58188.com整理}