{向上拐点 副图}
SD:=(EMA(C,13)/REF(EMA(C,13),1)-1)*100;
TJ:=EXIST(CROSS(SD,0),10) AND CROSS(MACD.MACD,0) AND (MACD.MACD>REF(MACD.MACD,1)) AND C>REF(C,1)AND EMA(C,13)>REF(EMA(C,13),1);
XG:=FILTER(TJ,10);
{----------------------------------------------------------------}
STICKLINE(XG=1,0.5,1,4.0,0),COLORFFBBFF;
STICKLINE(XG=1,0.5,1,3.5,0),COLORFF00FF;
STICKLINE(XG=1,0.5,1,3.0,0),COLORFF22FF;
STICKLINE(XG=1,0.5,1,2.5,0),COLORFF44FF;
STICKLINE(XG=1,0.5,1,2.0,0),COLORFF66FF;
STICKLINE(XG=1,0.5,1,1.5,0),COLORFF88FF;
STICKLINE(XG=1,0.5,1,1.0,0),COLORFF99FF;
STICKLINE(XG=1,0.5,1,0.5,0),COLORFFAAFF;
STICKLINE(XG=1,0,0.5,4.0,0),COLOR00FF00;
STICKLINE(XG=1,0,0.5,3.5,0),COLOR008800;
STICKLINE(XG=1,0,0.5,3.0,0),COLOR009900;
STICKLINE(XG=1,0,0.5,2.5,0),COLOR00AA00;
STICKLINE(XG=1,0,0.5,2.0,0),COLOR00BB00;
STICKLINE(XG=1,0,0.5,1.5,0),COLOR00CC00;
STICKLINE(XG=1,0,0.2,1.0,0),COLOR00DD00;
STICKLINE(XG=1,0,0.5,0.5,0),COLOR00EE00;
{---------------------------------------------------------------}
DRAWTEXT(XG=1,0.8,' 向上拐点'),COLORYELLOW;