D:expma(CLOSE,18),LINETHICK2,COLORRED;
IF(EXPMA(CLOSE,18)<REF(EXPMA(CLOSE,18),1),EXPMA(CLOSE,18),DRAWNULL),LINETHICK2,COLORGREEN;
买线:=EMA(C,2);
卖线:=EMA(SLOPE(C,21)*20+C,42);
BU:=crOSS(买线,卖线);
SEL:=CROSS(卖线,买线);
DRAWTEXT(BU,LOW*0.98,'B'),COLOR00FFFF,LINETHICK3;
DRAWTEXT(SEL,HIGH*1.02,'S'),COLORGREEN,LINETHICK3;
STICKLINE(买线>=卖线,CLOSE,OPEN,4,1),COLORRED;
STICKLINE(买线>=卖线,LOW,HIGH,0,1),COLORRED;
{ _最新股票指标公式}
STICKLINE(买线<卖线,CLOSE,OPEN,4,0),COLORAAAA00;
STICKLINE(买线<卖线,LOW,HIGH,0,0),COLORFFFF00;
STICKLINE(CROSS(买线,卖线) OR CROSS(卖线,买线),OPEN,CLOSE,4,0),COLORYELLOW;
STICKLINE(CROSS(买线,卖线) OR CROSS(卖线,买线),LOW,HIGH,0,0),COLORYELLOW;