MA1:MA(CLOSE,M1);
MA2:MA(CLOSE,M2);
MA3:MA(CLOSE,M3);
MA4:MA(CLOSE,M4);买线:EMA(CLOSE,2),COLOR0000FF;
卖线:EMA(((SLOPE(CLOSE,21) * 20) + CLOSE),42),POINTDOT,COLOR00FF00;
BBUY:=CROSS(买线,卖线);
SEL:=CROSS(卖线,买线);
STICKLINE((买线 = 卖线),LOW,HIGH,0.4,0),COLOR0000FF;
STICKLINE((买线 = 卖线),CLOSE,OPEN,3,1),COLOR000077;
STICKLINE((买线 = 卖线),CLOSE,OPEN,2.6,1),COLOR000099;
STICKLINE((买线 = 卖线),CLOSE,OPEN,2,1),COLOR0000BB;
STICKLINE((买线 = 卖线),CLOSE,OPEN,1.3,1),COLOR0000DD;
STICKLINE((买线 = 卖线),CLOSE,OPEN,0.4,1),COLOR0000FF;
STICKLINE((买线 卖线),LOW,HIGH,0.4,0),COLORFFFF00;
STICKLINE((买线 卖线),CLOSE,OPEN,3,1),COLOR777700;
STICKLINE((买线 卖线),CLOSE,OPEN,2.6,1),COLOR999900;
STICKLINE((买线 卖线),CLOSE,OPEN,2,1),COLORBBBB00;
STICKLINE((买线 卖线),CLOSE,OPEN,1.3,1),COLORDDDD00;
STICKLINE((买线 卖线),CLOSE,OPEN,0.4,1),COLORFFFF00;
STICKLINE((CROSS(买线,卖线) OR CROSS(卖线,买线)),OPEN,CLOSE,5,0),COLOR0055FF;
STICKLINE((CROSS(买线,卖线) OR CROSS(卖线,买线)),OPEN,CLOSE,4.2,0),COLOR0077FF;
STICKLINE((CROSS(买线,卖线) OR CROSS(卖线,买线)),OPEN,CLOSE,3,0),COLOR0099FF;
STICKLINE((CROSS(买线,卖线) OR CROSS(卖线,买线)),OPEN,CLOSE,2.2,0),COLOR00BBFF;
STICKLINE((CROSS(买线,卖线) OR CROSS(卖线,买线)),OPEN,CLOSE,1.5,0),COLOR00DDFF;
STICKLINE((CROSS(买线,卖线) OR CROSS(卖线,买线)),OPEN,CLOSE,0.4,0),COLOR00FFFF;
DRAWICON(BBUY,(LOW * 0.99),5);
DRAWICON(SEL,(HIGH * 1.01),6);