通达信涨跌停标注主图指标 自动变色 源码 贴图

2022-08-01 08:48:00来源:本站整理浏览:1506

适用于ST板块,科创板,创业板,主板,涨停跌停自动变色

通达信涨跌停标注主图指标 自动变色 源码 贴图

通达信涨跌停标注主图指标 自动变色 源码 贴图


NE:=IF(INBLOCK('科创板'),0.2,IF(INBLOCK('创业板'),0.2,IF(INBLOCK('ST板块'),0.05,0.1)));
{通用个股/ST股}
涨停:=C/REF(C,1)-1>=NE-0.01/REF(C,1) AND C=H AND PERIOD=5;
{仅在日线上变色}STICKLINE(涨停,C,O,-1,0),COLORYELLOW;
跌停:=REF(C,1)/C-1>=NE-0.01/REF(C,1) AND L=C AND PERIOD=5;
STICKLINE(跌停,C,O,-1,0),COLORLIGREEN;{公式网WWW.GPXIAZAI.COM}
{曾涨跌停 K线变色}曾涨停:=H/REF(C,1)-1>=NE-0.01/REF(C,1) AND C<H AND PERIOD=5;
STICKLINE(曾涨停,H-(H-MAX(O,C)),H,0,0),COLORYELLOW;
曾跌停:=REF(C,1)/L-1>=NE-0.01/REF(C,1) AND L<C AND PERIOD=5;
STICKLINE(曾跌停,L+(MIN(O,C)-L),L,0,0),COLOR00BB00;
{涨跌停开盘 K线变色}涨停开盘:=O/REF(C,1)-1>=NE-0.01/REF(C,1) AND O=H AND PERIOD=5;
{阴阳线的十分之一变色}STICKLINE(涨停开盘,C+(O-C)*0.9,O,-2,0),COLORFF00F5;
跌停开盘:=REF(C,1)/O-1>=NE-0.01/REF(C,1) AND L=O AND PERIOD=5;
STICKLINE(跌停开盘,C-(C-O)*0.9,O,-2,0),COLORLIGREEN;

 

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式