通达信分类持仓副图指标
2015-11-11 22:48:00来源:本站整理浏览:206
通达信分类持仓副图指标
源码
买线:=EMA(C,2);
卖线:=EMA(SLOPE(C,21)*20+C,42);
多空分界线:50,COLORRED;
SJTJ:=DATE<1590301;
HX:=买线>卖线 AND SJTJ ;
HZ:=买线>卖线 AND (C-O)/O>=0.002 AND SJTJ;
HD:=买线>卖线 AND (C-O)/O>=0.005 AND SJTJ;
DRAWICON(HX ,55,13);
DRAWTEXT(HX,58,"小"),COLORYELLOW;
DRAWICON(HZ OR HD ,65,13);
DRAWTEXT(HZ OR HD,68,"中"),COLORYELLOW;
DRAWICON(HD ,75,13);
DRAWTEXT(HD,78,"大"),COLORYELLOW;
LX:=卖线>买线 ;
LZ:=卖线>买线 AND (O-C)/O>=0.002;
LD:=卖线>买线 AND (O-C)/O>=0.005;
DRAWICON(LX ,45,14);
DRAWTEXT(LX,48,"小"),COLORYELLOW;
DRAWICON(LZ OR LD ,35,14);
DRAWTEXT(LZ OR LD,38,"中"),COLORYELLOW;
DRAWICON(LD ,25,14);
DRAWTEXT(LD,28,"大"),COLORYELLOW;
- 上一篇公式:通达信江南大 贝度 场老师的tdx涨停先锋公式
- 下一篇公式:通达信另类抄底副图指标