精品持仓比例指标 (源码)
2012-04-12 08:22:00来源:本站整理浏览:282
通达信精品持仓比例指标公式股票软件源码如下:
买线:=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;
{www.gpxiazai.com 股票软件下载网_通达信股票指标公式}
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;
- 上一篇公式:惊天霹雳主图指标 (源码)
- 下一篇公式:四线判底指标 (源码)