V1:EMA(COST(5),3)-EMA(COST(5),7);
V2:EMA(V1,9);
macdV:(V1-V2)*2,COLORSTICK;
DK:=MacDV;
STICKLINE(DK0,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;