V1:EMA(V,12)-EMA(V,26);
V2:EMA(V1,9);
macdV:(V1-V2)*2,COLORSTICK;
DK:=MacDV;
STICKLINE(DK<REF(DK,1)AND DK>0,0,DK,1,0 ),COLOR00BBFF;
STICKLINE(DK>=REF(DK,1)AND DK>0,0,DK,1,0 ),COLOR0011BB;
STICKLINE(DK>REF(DK,1)AND DK<0,0,DK,1,0),COLORBB11BB;
{-股票公式网站 }
STICKLINE(DK<=REF(DK,1)AND DK<0,0,DK,1,0),COLORFFBB11;
DRAWICON(crOSS(V2,V1) ,V1,1);
DRAWICON(CROSS(V1,V2) ,V2,1);