通达信布林BOLL金主图/副图指标
{BOLL-金Z}
DRAWGBK(C>0,RGB(80,0,80),RGB(0,0,80),1,0,0);
{1.重心线}
HH:=HHV(H,3);LL:=LLV(L,3);
ZXC:=WMA((2*C+HH+LL)/4,4);
ZXO:=REF(ZXC,1);
ZXC,COLOR00FF00,LINETHICK2;
IF(ZXC,ZXC>REF(ZXC,1),RGB(255,80,0)),LINETHICK3;
{3.BOLL-金}
MID:MA(ZXC,18),COLOR00FFFF,DOTLINE;
UPPER:MID + 1.8*STD(ZXC,18),COLORFF66FF;
LOWER:MID - 1.8*STD(ZXC,18),COLORFF9900;
{4.高抛.低吸}
RC:=(H+L+C*2)/4;
R2D:=WMA(RC,27);
R2E:=STD(RC,27);
R3F:=(RC-R2D)/R2E*100;
R40:=WMA(R3F,3);
R41:=WMA(R40,3);
JD:=WMA(R41,2);
AJ:=3*R41-2*JD;
DRAWTEXT(CROSS(AJ,JD) ,L-0.2,'←买呗'),COLOR00FFFF,LINETHICK2;
DRAWTEXT(CROSS(JD,AJ) ,H+0.2,'←跑哇'),COLOR00FFFF,LINETHICK2;
{5.K线}
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,8.5,0) ,COLOR000011;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,7,0) ,COLOR000033;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,6,0) ,COLOR000055;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,5,0) ,COLOR000077;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,4,0) ,COLOR000099;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3,0) ,COLOR0000BB;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2,0) ,COLOR0000DD;
STICKLINE((CLOSE >= OPEN),HIGH,LOW,0,0),COLOR0000FF;
STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,8.5,0),COLOR906600;
STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,7,0),COLOR908800;
STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,6,0),COLOR90AA00;
STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,5,0),COLOR90BB00;
STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,4,0),COLOR90CC00;
STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,3,0),COLOR90DD00;
STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,2,0),COLOR90EE00;
STICKLINE((OPEN > CLOSE),HIGH,LOW,0,0),COLOR90FF00;
- 上一篇:适合于单边极端牛熊的指标 牛熊波段 副图 2016/10/21
- 下一篇:每天一个点优化 通达信副图/选股指标 2016/10/21