通达信买在爬点主图指标(源码)

2014-02-17 08:17:00来源:本站整理浏览:288

GG:=EXPMA(CLOSE,7);
HH:=EXPMA(CLOSE,50);
II:=VOL/REF(VOL,1)>2;
JJ:=CLOSE/REF(CLOSE,1)>1.02;
EE:=CLOSE>REF(CLOSE,1);
FF:=VOL/REF(VOL,1)>2;
EXP7:EXPMA(CLOSE,7),COLORWHITE,LINETHICK1;
EXP50:EXPMA(CLOSE,50),COLORYELLOW,LINETHICK1;
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
DRAWTEXT_FIX(1,0,6,0,'☆ 公式网 WWW.GPXIAZAI.COM ☆'),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;


 

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式