DRAWGBK((DATE 0),COLORRGB(0,33,0),COLORRGB(0,33,0),1);
买线:=EMA(CLOSE,2);
卖线:=EMA(((SLOPE(CLOSE,21) * 20) + CLOSE),42);
BU:=CROSS(买线,卖线);
SEL:=CROSS(卖线,买线);
DRAWTEXT(BU,(LOW - 0.1),'B☆买入'),LINETHICK3,colorFF00FF;
DRAWTEXT(BU,(LOW - 0.1),' ̄ ̄'),LINETHICK3,colorFFFFFF;
DRAWTEXT(SEL,(HIGH + 0.1),' ̄ ̄'),LINETHICK3,colorFFF000;
DRAWTEXT(SEL,(HIGH + 0.1),'S★卖出'),LINETHICK3,colorFFFF;
STICKLINE((买线 = 卖线),LOW,HIGH,0.1,1),colorFF;
STICKLINE((买线 = 卖线),CLOSE,OPEN,8,1),colorFF;
STICKLINE((买线 卖线),CLOSE,OPEN,8,0),colorFF00;
STICKLINE((买线 卖线),LOW,HIGH,0.1,1),colorFF00;