通达信红多绿空指标公式通达信公式
2017-08-29 来源:网络 编辑:翔博软件
买线:=EMA(C,2); 卖线:=EMA(SLOPE(C,21)*20+C,42); BU:=CROSS(买线,卖线); SEL:=CROSS(卖线,买线); DRAWICON(BU,L-0.1,1); DRAWICON(SEL,H+0.1,2); STICKLINE(买线=卖线,LOW,HI
买线:=EMA(C,2);
卖线:=EMA(SLOPE(C,21)*20+C,42);
BU:=CROSS(买线,卖线);
SEL:=CROSS(卖线,买线);
DRAWICON(BU,L-0.1,1);
DRAWICON(SEL,H+0.1,2);
STICKLINE(买线>=卖线,LOW,HIGH,0.0,1),COLORRED;
STICKLINE(买线>=卖线,CLOSE,OPEN,2,1),COLORRED;
STICKLINE(买线<卖线,LOW,HIGH,0.0,1),COLORGREEN;
STICKLINE(买线<卖线,CLOSE,OPEN,2,1),COLORGREEN;
STICKLINE(BU,OPEN,CLOSE,2,0),COLORYELLOW;
STICKLINE(SEL,OPEN,CLOSE,2,0),COLORBLUE;
主力:=EMA(CLOSE,10),COLORCYAN LINETHICK1;
散户:=EMA(CLOSE,5),COLORWHITE LINETHICK1;
绿降:(46.18*EMA(CLOSE,10)-31.82*EMA(CLOSE,4))/14.36,COLORGREEN,LINETHICK1;
操盘:MA(CLOSE,9),COLORRED,LINETHICK2;
界点:MA(CLOSE,20),LINETHICK2 COLORYELLOW;
LC:=REF(CLOSE,1);
FF:=EMA(CLOSE,3);
MA15:=EMA(CLOSE,21);
DRAWTEXT(CROSS(FF,MA15),(LOW * 0.998),'底背'),COLOR0000FF;
地量颈线:REF(L,BARSLAST(VOL<LLV(VOL,30)*1.001)),COLORMAGENTA,POINTDOT,LINETHICK3;
STICKLINE(L,地量颈线,地量颈线,8,0),COLORMAGENTA,LINETHICK3;