N1:=EMA(C,12);
N2:=EMA(N1,12);
N3:=EMA(N2,12);
SPEED:(N3-REF(N3,1))/REF(N3,1)*100,DOTLINE;
MASPEED:MA(SPEED,9),NODRAW;
{ _通达信股票指标公式}
DRAWBAND(SPEED,RGB(255,255,0),MASPEED,RGB(50,50,50));
DRAWTEXT(crOSS(SPEED,MASPEED),MASPEED,'做饭');
DRAWTEXT(CROSS(MASPEED,SPEED),SPEED,'吃饭');