{牛熊界限}
MA20:MA(C,20),COLORMAGENTA;
牛熊界限:EMA(C,60),LINETHICK2;
买线:EMA(CLOSE,2),COLORBLUE;
卖线:EMA(((SLOPE(CLOSE,12) * 20) + CLOSE),43),DOTLINE,COLOR0099CC;
BBUY:=CROSS(买线,卖线);
SEL:=CROSS(卖线,买线);
STICKLINE((买线 >= 卖线),LOW,HIGH,0.4,0),COLORRED;
STICKLINE((买线 >= 卖线),CLOSE,OPEN,3,1),COLORRED;
STICKLINE((买线 >= 卖线),CLOSE,OPEN,2.6,1),COLORRED;
STICKLINE((买线 >= 卖线),CLOSE,OPEN,2,1),COLORRED;
STICKLINE((买线 >= 卖线),CLOSE,OPEN,1.3,1),COLORRED;
STICKLINE((买线 >= 卖线),CLOSE,OPEN,0.4,1),COLORRED;
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(买线,卖线)),OPEN,CLOSE,1.5,0),COLORYELLOW;
STICKLINE((CROSS(卖线,买线)),OPEN,CLOSE,1.5,0),COLORBLUE;
DRAWICON(BBUY,(LOW * 0.99),1);
DRAWICON(SEL,(HIGH * 1.01),2);