通达信买在爬点主图指标公式
2020/6/30 18:37:29
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);
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;
投 股票网 www.to u18.cn
股市公式下载推荐