买线:=EMA(C,2);卖线:=EMA(SLOPE(C,21)*20+C,42);STICKLINE(买线>=卖线,REFDATE(HHV(H,0),DATE),REFDATE(LLV(L,0),DATE),6,0),COLOR001050;STICKLINE(买线<卖线,REFDATE(HHV(H,0),DATE),REFDATE(LLV(L,0),DATE),6,0),COLOR404050;DRAWKLINE(H,O,L,C);指导:=EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4,2);界:=MA(CLOSE,27);B买:IF(OSS(指导,界) OR CROSS(买线,卖线),C,DRAWNULL),COLORMAGENTA,NODRAW;:IF(买线>=卖线,C,DRAWNULL),COLORRED,NODRAW;S卖:IF(CROSS(界,指导) OR CROSS(卖线,买线),C,DRAWNULL),COLORLIGRAY,NODRAW;:IF(买线<卖线,C,DRAWNULL)