您现在的位置:好股网 >> 股票公式 >> 通达信公式 >> 一键转帖:自用主图 显示停牌 通达信主图指标

自用主图 显示停牌 通达信主图指标


指标功能:[B]国产软件[/B]
指标类型:简体中文
所需积分:0
推荐星级:
授权方式:共享版
公式大小:2.00 KB
更新时间:2015-12-15 21:19:00
公式简介:

我看别人发一堆
花里呼哨的主图
我真的不晓得他们真的能看出什么东西来
还是来点简单实用的
一眼能看出这股票停牌时间 等等信息


MA55:MA(C,55),COLORMAGENTA,LINETHICK2;

ZTB:=C/REF(C,1)>=1.098 AND C=H;
STICKLINE(ZTB,OPEN,CLOSE,1.5,0),COLORYELLOW;
FZTB:=C/REF(C,1)>=1.098 AND C<H;
STICKLINE(FZTB,OPEN,CLOSE,1.5,0),COLOR0099FF;
DTB:=C/REF(C,1)<=0.902 AND C=L;
STICKLINE(DTB,OPEN,CLOSE,1.5,0),COLORBLUE;

DRAWTEXT_FIX(1,0.00,0,0,'所属行业:'),COLORWHITE;
DRAWTEXT_FIX(1,0.08,0,0,HYBLOCK),COLORYELLOW;
DRAWTEXT_FIX(1,0.15,0,0,'所属地区:'),COLORWHITE;
DRAWTEXT_FIX(1,0.25,0,0,DYBLOCK),COLORYELLOW;
DRAWTEXT_FIX(1,0.00,0.05,0,'主题投资:'),COLORWHITE;
DRAWTEXT_FIX(1,0.07,0.05,0,EXTERNSTR(0,1)),COLORYELLOW;
DRAWTEXT_FIX(1,0.00,0.10,0,'业绩报告:'),COLORYELLOW;
DRAWTEXT_FIX(1,0.08,0.10,0,EXTERNSTR(0,2)),COLORWHITE;

复牌:=DAY-IF(WEEKOFYEAR=REF(WEEKOFYEAR,1),1,3)>REF(DAY,1) OR WEEKOFYEAR-1>REF(WEEKOFYEAR,1);
FT:=BARSLAST(复牌);
停牌:=REFX(复牌,1);
TT:=BARSLAST(停牌);
TJ:=DATETODAY(REF(DATE,FT))-DATETODAY(REF(DATE,TT));
DRAWNUMBER(FT=0,H*1.05,TJ)COLORYELLOW;
DRAWTEXT(停牌,H,'停牌')COLORYELLOW;
DRAWTEXT(复牌,L,'复牌');





[url=http://www.goodgupiao.com/gupiaogongshi/39401.html][B]自用主图 显示停牌 通达信主图指标[/B][/url]