您的位置:查股网 > 查股公式 > 通达信分时走势(分时主图指标 源码 简单说明)[查股公式]
股票行情消息查询:

通达信分时走势(分时主图指标 源码 简单说明)[查股公式]

2022/6/16 10:11:04

通达信分时走势(分时主图指标 源码 贴图 简单说明)

通达信实时分时最高与最低价的比例分割作为【阻力 支撑】研判买卖。
{通达信分时主图用}
ZSR:=DYNAINFO( 3);
GDK:=(SMA(C,2,1)-SMA(C,6,1))*2.1;
STICKLINE(GDK>0,ZSR,ZSR+GDK,0,-1) ,COLOR5151A2;
STICKLINE(GDK<=0,ZSR,ZSR+GDK,0,-1) ,COLOR74743A;
STICKLINE(GDK>0 ,ZSR+GDK*0.05,ZSR+GDK*0.15,0,-1) ,COLOR0077FF;
STICKLINE(GDK>0 ,ZSR+GDK*0.2,ZSR+GDK*0.35,0,-1) ,COLOR0088FF;
STICKLINE(GDK>0 ,ZSR+GDK*0.4,ZSR+GDK*0.55,0,-1) ,COLOR0099FF;
STICKLINE(GDK>0 ,ZSR+GDK*0.6,ZSR+GDK*0.75,0,-1) ,COLOR00CCFF;
STICKLINE(GDK>0 ,ZSR+GDK*0.8,ZSR+GDK*0.95,0,-1) ,COLOR00DDDD;
STICKLINE(GDK>0 ,ZSR+GDK*0.86,ZSR+GDK*0.999,0,-1) ,COLOR00FFFF;
STICKLINE(GDK<=0 ,(ZSR+GDK*0.05),(ZSR+GDK*0.15),0,-1) ,COLOR006600;
STICKLINE(GDK<=0 ,(ZSR+GDK*0.2),(ZSR+GDK*0.35),0,-1) ,COLOR009900;
STICKLINE(GDK<=0 ,(ZSR+GDK*0.4),(ZSR+GDK*0.55),0,-1) ,COLOR00CC00;
STICKLINE(GDK<=0 ,(ZSR+GDK*0.6),(ZSR+GDK*0.75),0,-1) ,COLOR00FF00;
STICKLINE(GDK<=0 ,(ZSR+GDK*0.8),(ZSR+GDK*0.95),0,-1) ,COLOR55FF00;
STICKLINE(GDK<=0 ,(ZSR+GDK*0.86),(ZSR+GDK*0.999),0,-1) ,COLOR99FF00;
DRAWTEXT_FIX(1,0.09,0,0,'所属行业:')COLOR0080FF;
DRAWTEXT_FIX(1,0.15,0,0,HYBLOCK)COLOR0080FF;
DRAWTEXT_FIX(1,0.21,0,0,'所属地区:')COLOR00FFFF;
DRAWTEXT_FIX(1,0.27,0,0,DYBLOCK)COLOR00FFFF;
AAA:DYNAINFO(5),COLORDDAADD,LINETHICK1;{最高} BBB:DYNAINFO(6),COLOR888800,LINETHICK1;{最低} CCC:=AAA-BBB;中G:(AAA+BBB)/2,COLOR999999,LINETHICK1;{中}
上顶:BBB+CCC*7/8,COLOR008800,DOTLINE;
阻力:BBB+CCC*2/3,COLOR777700,DOTLINE;
支撑:BBB+CCC/3,COLOR777700,DOTLINE;
下底:BBB+CCC*1/8,COLOR447777,DOTLINE;
JJA:C,COLOR999999,LINETHICK2;
DRAWNUMBER(CURRBARSCOUNT=12,AAA*0.9995,AAA),COLORFFAAFF;
DRAWNUMBER(CURRBARSCOUNT=12,BBB,BBB),COLORDDDD00;
DRAWNUMBER(CURRBARSCOUNT=12,中G,中G),COLORDDDDDD;
DRAWNUMBER(CURRBARSCOUNT=12,上顶,上顶),COLOR00FFFF;
DRAWNUMBER(CURRBARSCOUNT=12,阻力,阻力),COLOR00FFFF;
DRAWNUMBER(CURRBARSCOUNT=12,支撑,支撑),COLOR00FFFF;
DRAWNUMBER(CURRBARSCOUNT=12,下底,下底),COLOR00FFFF;
DRAWTEXT(CURRBARSCOUNT=20,AAA*0.9995,'最高:'),COLORFFAAFF;
DRAWTEXT(CURRBARSCOUNT=20,BBB,'最低:'),COLORFFFF00;
DRAWTEXT(CURRBARSCOUNT=20,上顶,'上顶:'),COLOR00FF00;
DRAWTEXT(CURRBARSCOUNT=20,阻力,'阻力:'),COLORFFFF00;
DRAWTEXT(CURRBARSCOUNT=20,支撑,'支撑:'),COLORFFFF00;
DRAWTEXT(CURRBARSCOUNT=20,下底,'下底:'),COLOR00FFFF;
DRAWTEXT(CURRBARSCOUNT=20,中G,'平衡:'),COLOREEEEEE;
JJ:SUM(C*V,0)/SUM(V,0),COLOR00FFFF;
LC := REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
GB:IF(RSI1>80,H*1.0005,DRAWNULL),CIRCLEDOT,LINETHICK5,COLORFFFF00;
GBB:IF(RSI1>84,H*1.0008,DRAWNULL),CROSSDOT,LINETHICK3,COLOR0000FF;

相关文章列表
天天查股公式列表

股票公式分类

天天查股:股票行情消息 实时DDX在线 资金流向 千股千评 业绩报告 十大股东 最新消息 超赢数据 大小非解禁 停牌复牌 股票分红查询 股票评级报告
广告客服:315126368   843010021
天天查股网免费查股,本站内容与数据仅供参考,不构成投资建议,据此操作,风险自担,股市有风险,投资需谨慎。 沪ICP备15043930号-29