MA5:MA(CLOSE,5),LINETHICK1,colorFFFFFF;MA10:MA(CLOSE,10),LINETHICK1,color00FFFF;
MA21:MA(CLOSE,21),LINETHICK1,color00FF00;MA30:MA(CLOSE,30),LINETHICK1,colorFF00FF;
MA60:MA(CLOSE,60),LINETHICK1,color0000FF;MA120:MA(CLOSE,120),LINETHICK1,colorFFFF00;
买线:EMA(CLOSE,2),color000001;卖线:EMA(((SLOPE(CLOSE,21)*20)+CLOSE),42),POINTDOT,color000001;
bBUY:=CROSS(买线,卖线);SEL:=CROSS(卖线,买线);DRAWTEXT(bBUY,(LOW * 0.99),' '),LINETHICK3,colorF00FF0;
DRAWTEXT(SEL,(HIGH * 1.01),'◎'),LINETHICK3,colorFFFFFF;
STICKLINE((买线 = 卖线),LOW,HIGH,0.1,0),color0000FF;
STICKLINE((买线 = 卖线),CLOSE,OPEN,8,0),color0000AA;
STICKLINE((买线 = 卖线),CLOSE,OPEN,3,0),color0000CC;
STICKLINE((买线 = 卖线),CLOSE,OPEN,2,0),color0000DD;
STICKLINE((买线 = 卖线),CLOSE,OPEN,1,0),color0000FF;
STICKLINE((买线 卖线),CLOSE,OPEN,1,0),colorFFFF00;
STICKLINE((买线 卖线),CLOSE,OPEN,2,0),colorDDDD00;
STICKLINE((买线 卖线),CLOSE,OPEN,3,0),colorCCCC00;
STICKLINE((买线 卖线),CLOSE,OPEN,8,0),colorAAAA00;
STICKLINE((买线 卖线),LOW,HIGH,0.1,0),colorFFFF00;
STICKLINE((CROSS(买线,卖线) OR CROSS(卖线,买线)),LOW,HIGH,0.1,0),color00FFFF;
STICKLINE((CROSS(买线,卖线) OR CROSS(卖线,买线)),OPEN,CLOSE,8,0),color00AAAA;
STICKLINE((CROSS(买线,卖线) OR CROSS(卖线,买线)),OPEN,CLOSE,3,0),color00CCCC;
STICKLINE((CROSS(买线,卖线) OR CROSS(卖线,买线)),OPEN,CLOSE,2,0),color00DDDD;
STICKLINE((CROSS(买线,卖线) OR CROSS(卖线,买线)),OPEN,CLOSE,1,0),color00FFFF;