通达信停复牌指标公式

通达信停复牌指标
 

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,'复牌');




未来函数检测结果如下:
该公式包含未来函数:REFX
解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图