EXP50:EXPMA(CLOSE,50),COLORYELLOW,LINETHICK1;
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
DRAWTEXT_FIX(1,0,6,0,'☆ 股票下载网 www.9m8.cn 九毛八公式指标网 ☆'),COLOR00FFFF;
MACD:=(DIF-DEA)*2,COLORSTICK;
DRAWTEXT((GG HH AND II AND EE),L,'★一爬点'),COLORYELLOW;
DRAWTEXT(((CROSS(DIF,DEA)) AND GG HH AND II AND EE),L,'★一爬点'),COLORRED;
DRAWTEXT((CROSS(GG,HH) AND JJ),L,'★三爬点'),COLORBLUE;
G1:=CLOSE REF(CLOSE,1);
G2:=REF(CLOSE,1) REF(CLOSE,2);
G3:=REF(CLOSE,2) REF(CLOSE,3);
G4:=G1 AND G2 AND G3;
DRAWTEXT(((GG HH) AND JJ AND G4 AND FF),L,'★三爬点'),COLORRED;
STICKLINE(C 0.905*REF(C,1),C,O,1.5,0),COLORWHITE;
STICKLINE(C 1.095*REF(C,1),C,O,1.5,0),COLORFFCCFF;
止损:=C-(MAX(MAX((HIGH-LOW),ABS(REF(CLOSE,1)-HIGH)),ABS(REF(CLOSE,1)-LOW))),NODRAW;
止:=DRAWTEXT(DYNAINFO(7) 止损 AND ISLASTBAR,止损,'----------------') COLORWHITE;