通达信最新k线叠加概念涨跌主图指标 涨跌停 炸板 翘板改色 短线看盘一目了然

M1:=5;
M2:=10;
M3:=20;
M4:=60;
M5:=0;
M6:=0;
MA5:MA(CLOSE,M1);
MA10:MA(CLOSE,M2);
MA20:MA(CLOSE,M3);
MA60:MA(CLOSE,M4);
MA120:MA(CLOSE,M5);
DRAWKLINE(H,O,L,C);
DRAWTEXT_FIX(ISLASTBAR,0,0.1,0,GNBLOCK),COLORWHITE;
DRAWTEXT_FIX(1,0.00,0,0,' '),COLORFF60FF;
DRAWTEXT_FIX(1,0.03,0,0,HYBLOCK),COLORWHITE;
DRAWTEXT_FIX(1,0.05,0,0,' '),COLOR6F59FF;
DRAWTEXT_FIX(1,0.08,0,0,DYBLOCK),COLORWHITE;
AAA1:=STRCAT(' ',CON2STR(DYNAINFO(60),0));
AAA2:=STRCAT(' ',CON2STR(DYNAINFO(61),0));
DRAWTEXT_FIX(ISLASTBAR,0,0,0,AAA1),COLORRED;
DRAWTEXT_FIX(ISLASTBAR,0,0.06,0,AAA2),COLORGREEN;
BK:=IF(INBLOCK('科创板'),0.2,IF(INBLOCK('创业板'),0.2,IF(INBLOCK('ST板块'),0.05,0.1)));
XA_1:=IF(DATE<=1200823,1,1);CHAGULA:SMA(MAX(CLOSE-C,0),7,1)/SMA(ABS(CLOSE-C),7,1)*100,NODRAW;
旧涨停:=(C>=ZTPRICE(REF(CLOSE,1),0.1) AND C=H) AND XA_1=1;
旧跌停:=(C<=DTPRICE(REF(CLOSE,1),0.1) AND C=L) AND XA_1=1;
涨停:=C>=ZTPRICE(REF(C,1),BK) AND C=H;
跌停:=C<=DTPRICE(REF(C,1),BK) AND C=L;
曾涨停:=(H>=ZTPRICE(REF(C,1),BK) AND C<H) OR (H>=ZTPRICE(REF(CLOSE,1),0.1) AND C<H AND XA_1=1);
曾跌停:=(L<=DTPRICE(REF(C,1),BK) AND C>L) OR (L<=DTPRICE(REF(CLOSE,1),0.1) AND C>L AND XA_1=1);
STICKLINE(旧涨停 AND PERIOD=5,O,C,4,0),COLORYELLOW;
STICKLINE(旧跌停 AND PERIOD=5,O,C,4,0),COLORGREEN;
STICKLINE(涨停 AND PERIOD=5,C,O,2.7,0),COLORYELLOW;
STICKLINE(跌停 AND PERIOD=5,C,O,2.7,0),COLORGREEN;
STICKLINE(曾涨停 AND PERIOD=5,H,L,0.1,0),COLORYELLOW;{涨停后回落}
STICKLINE(曾跌停 AND PERIOD=5,L,H,0.1,0),COLORGREEN;{跌停后回升}
DRAWTEXT(旧涨停 AND PERIOD=5,L-0.1,''),COLORYELLOW;
DRAWTEXT(旧跌停 AND PERIOD=5,H+0.2,''),COLORGREEN;
DRAWTEXT(涨停 AND PERIOD=5,L-0.1,''),COLORYELLOW;
DRAWTEXT(跌停 AND PERIOD=5,H+0.2,''),COLORGREEN;
DRAWTEXT(曾涨停 AND PERIOD=5,H+0.2,''),COLORGREEN;
DRAWTEXT(曾跌停 AND PERIOD=5,L-0.08,' '),COLORYELLOW;




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

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

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