N1:9;
N2:15;
龙1:EMA(C,N1),coloryellow,LINETHICK1;
龙2:EMA(C,N2),coloryellow,LINETHICK1;
STICKLINE(龙1>龙2,龙1,龙2,1,0),colormagenta;
STICKLINE(龙1<龙2,龙1,龙2,1,0),colorgreen;
DRAWTEXT(crOSS(龙1,龙2),龙1,'买'),colorred;
DRAWTEXT(CROSS(龙2,龙1),龙1,'卖'),color00ff00;