LC:=REF(CLOSE,1);
RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100);
EMA3:=EMA(CLOSE,3);
EMA21:=EMA(CLOSE,21);
波动回调提示图:MA(CLOSE,10000);
STICKLINE((EMA21 > REF(EMA21,1)),EMA21,EMA21,9,6),LINETHICK2,COLOR0000FF;
STICKLINE((EMA21 < REF(EMA21,1)),EMA21,EMA21,9,6),LINETHICK2,COLORFF0000;
DRAWTEXT(CROSS(EMA3,EMA21),(LOW * 0.97),'上拐点'),COLOR00FFFF;
DRAWTEXT(CROSS(EMA21,EMA3),(HIGH * 1.03),'下拐点'),COLOR00FF00;
DRAWTEXT(CROSS(85,RSI),(HIGH * 1.03),'回调!'),COLORFFFFFF;
买线:=EMA(C,2);{股票指标网 整理}
卖线:=EMA(SLOPE(C,21)*20+C,42);
BU:=CROSS(买线,卖线);
SEL:=CROSS(卖线,买线);
STICKLINE(买线>=卖线,LOW,HIGH,1,0),COLORRED;
STICKLINE(买线>=卖线,CLOSE,OPEN,4.5,0),COLOR0000AA;
STICKLINE(买线>=卖线,CLOSE,OPEN,4,0),COLOR0000CC;
STICKLINE(买线>=卖线,CLOSE,OPEN,3,0),COLOR0000CC;
STICKLINE(买线>=卖线,CLOSE,OPEN,2,0),COLOR0000EE;
STICKLINE(买线<卖线,CLOSE,OPEN,4.5,0),COLORAAAA00;
STICKLINE(买线<卖线,CLOSE,OPEN,4,0),COLORBBBB00;
STICKLINE(买线<卖线,CLOSE,OPEN,3,0),COLORCCCC00;
STICKLINE(买线<卖线,CLOSE,OPEN,2,0),COLOREEEE00;
STICKLINE(买线<卖线,LOW,HIGH,1,0),COLORFFFF00;
STICKLINE(CROSS(买线,卖线) OR CROSS(卖线,买线),OPEN,CLOSE,3,0),COLOR00FFFF;
{指导线: EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4,2),LINETHICK1,COLORFFFFFF;}
{界: MA(CLOSE,27),LINETHICK1,COLOR00FFFF;}
{DRAWGBKLAST(C>0,STRIP(RGB(90,90,90),RGB(0,0,0),0));};