投股票网 www.tou18.cn [今日股市行情 股市在线查询 股票大盘行情] 股市有风险 投资需谨慎 手机APP下载 | 手机访问 | 加入收藏 | 保存到桌面
投股票网
今日股市行情 股市在线查询 股票大盘行情
个股查询: 资金行情 DDX查询 大智慧超赢 同花顺DDE 千股千评 最新提示 股票公告 投资要点 评级查询 大小非 股东 增发配股 股权 高管 股票概况
当前位置: 投股票网 > 股市公式下载 > 通达信公式
股市公式查询:

通达信一带箱路主图指标公式

2020/8/22 19:00:39

AA:MA(CLOSE,3.1415926535*MA(C,5))COLOR4080FF,NODRAW;
AC:=REF(AA,1);
TY:=C;
HD:=FILTER(BACKSET(FILTER(REF(TY,10)=HHV(TY,2*10+1),10),10+1),10)*3.1415926535;
LD:=FILTER(BACKSET(FILTER(REF(TY,10)=LLV(TY,2*10+1),10),10+1),10)*3.1415926535;
A1:=REF(C,BARSLAST(HD));
B1:=REF(C,BARSLAST(LD));
T1:=BARSLAST(HD)<BARSLAST(LD) AND NOT(HD);
T2:=BARSLAST(HD)>BARSLAST(LD) AND NOT(LD);
前高:REF(H,BARSLAST(HD))COLORGREEN,NODRAW;
浪顶:IF(T1,A1,A1)COLORGREEN,NODRAW;
浪底:IF(T2,B1,B1)COLORFF00FF,NODRAW;
前低:REF(L,BARSLAST(LD))COLORFF00FF,NODRAW;
GA:MA(HIGH,3.1415926535*MA(H,5))COLORYELLOW,DOTLINE,NODRAW;
GH:IF((GA<=REF(GA,1)),GA,DRAWNULL),COLORCYAN,LINETHICK1,NODRAW;
DA:MA(LOW,3.1415926535*MA(L,5))COLORYELLOW,DOTLINE,NODRAW;
DL:IF((DA<=REF(DA,1)),DA,DRAWNULL),COLORCYAN,LINETHICK1,NODRAW;
DRAWBAND(GA,RGB(80,00,80),DA,DRAWNULL);
DRAWBAND(GH,RGB(43,83,78),DL,DRAWNULL);
DRAWBAND(浪底,RGB(225,0,0),前低,DRAWNULL);
STICKLINE(LOW<前低,前低,浪底,4,1)COLOR9F9F00;
STICKLINE(LOW>前低,前低,浪底,4,-1)COLORB400B4;
STICKLINE(AC<AA,(浪底-0.0001),(DA-0.017),4,0)COLOR000081;
STICKLINE(LOW>=前高,C,前高,2,-1){COLORB400B4}COLOR408080;
DRAWBAND(前高,RGB(225,0,0),浪顶,DRAWNULL);
STICKLINE(C<=前高,前高,浪顶,4,1)COLORGREEN;
STICKLINE(C>=前高,前高,浪顶,4,1)COLOR0000FF;
STICKLINE((AC>AA),(AC*1.001),(AC+0.018),2,1),COLORCYAN;
STICKLINE((AC<AA),(AC*1.001),(AC+0.018),2,1),COLOR4080FF;
DRAWRECTREL(0,5,1000,1,RGB(200,800,00));
DRAWRECTREL(0,202,1000,195,RGB(0,80,80));
DRAWRECTREL(0,498,1000,495,RGB(100,500,300));
DRAWRECTREL(0,808,1000,800,RGB(00,80,80));
DRAWRECTREL(0,1000,1000,995,RGB(200,800,00));
ZD:=DATE#WEEK;
ZH:=H#WEEK;
ZL:=L#WEEK;
K0:=ZD>REF(ZD,1) OR BARSSINCE(C)=0;
K1:=REFX(K0,1) OR ISLASTBAR;
S1:=MOD(SUM(K0,0),2);
N1:=20;
S2:=BACKSET(ISLASTBAR,SUMBARS(K0,N1));
STICKLINE((K0 OR K1) AND S2,ZH,ZL,0,-1),COLORFFFFFF;
DRAWLINE(K0 AND S1=1 AND S2,ZH,K1 AND S1=1 AND S2,ZH,0),COLORFFFFFF;
DRAWLINE(K0 AND S1=1 AND S2,ZL,K1 AND S1=1 AND S2,ZL,0),COLORFFFFFF;
DRAWLINE(K0 AND S1=0 AND S2,ZH,K1 AND S1=0 AND S2,ZH,0),COLORFFFFFF;
DRAWLINE(K0 AND S1=0 AND S2,ZL,K1 AND S1=0 AND S2,ZL,0),COLORFFFFFF;
IF((GA>=REF(GA,1)),GA,DRAWNULL)COLORYELLOW,DOTLINE;
IF((GA<=REF(GA,1)),GA,DRAWNULL),COLORCYAN,LINETHICK1;
IF((GA>=REF(GA,1)),DA,DRAWNULL)COLORYELLOW,DOTLINE;
IF((DA<=REF(DA,1)),DA,DRAWNULL),COLORCYAN,LINETHICK1;
日:=150;昨前:=3;
高1:=REF(HHV(H,日),昨前);
顶3:REFDATE(高1,DATE),COLORBLACK;
绝顶:=REFDATE(顶3,DATE),NODRAW;
跑:=绝顶=H AND ((C-L)<(O-C) OR (O-L)<(C-O)),NODRAW;
DRAWTEXT(跑,L*0.995,'逃命')COLORCYAN;
STICKLINE(跑,L,H,3.8,1),COLORFFFFFF;
DRAWKLINE(H,O,L,C);
STICKLINE(C<O,H,L,0,1)COLORFF9900;
STICKLINE(C<O,O,C,2.9,1)COLORFF9900;
STICKLINE(CLOSE>=OPEN AND CLOSE>=AA,H,L,0,1),COLORRED;
STICKLINE(CLOSE>=OPEN AND CLOSE>=AA,OPEN,CLOSE,3.0,0 ),COLOR000033;
STICKLINE(CLOSE>=OPEN AND CLOSE>=AA,OPEN,CLOSE,2.7,0 ),COLOR000066;
STICKLINE(CLOSE>=OPEN AND CLOSE>=AA,OPEN,CLOSE,2.1,0),COLOR000099;
STICKLINE(CLOSE>=OPEN AND CLOSE>=AA,OPEN,CLOSE,1.5,0 ),COLOR0000CC;
STICKLINE(CLOSE>=OPEN AND CLOSE>=AA,OPEN,CLOSE,0.9,0 ),COLOR0000FF;
STICKLINE(CLOSE>=OPEN AND CLOSE>=AA,OPEN,CLOSE,0.3,0 ),COLORCC66FF;
STICKLINE(OPEN>CLOSE AND CLOSE>AA,H,L,0,1),COLORFF9900;
STICKLINE(OPEN>CLOSE AND CLOSE>AA,OPEN,CLOSE,3.0,0 ),COLOR990000;
STICKLINE(OPEN>CLOSE AND CLOSE>AA,OPEN,CLOSE,3,0 ),COLORCC0000;
STICKLINE(OPEN>CLOSE AND CLOSE>AA,OPEN,CLOSE,2.1,0),COLORFF4400;
STICKLINE(OPEN>CLOSE AND CLOSE>AA,OPEN,CLOSE,1.5,0 ),COLORFF8800;
STICKLINE(OPEN>CLOSE AND CLOSE>AA,OPEN,CLOSE,0.9,0 ),COLORFFCC00;
STICKLINE(OPEN>CLOSE AND CLOSE>AA,OPEN,CLOSE,0.3,0 ),COLORCYAN;
A:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>=9.8/100;
STICKLINE(A AND CLOSE=OPEN AND HIGH=LOW,REF(CLOSE,1),H,0,0),COLORYELLOW,LINETHICK1;
B:=(REF(CLOSE,1)-CLOSE)/CLOSE>=9.8/100;
STICKLINE(B AND CLOSE=OPEN AND HIGH=LOW,REF(CLOSE,1),H,0,0),COLORGREEN,LINETHICK1;
STICKLINE(A,H,L,0,1),COLORRED;
STICKLINE(A,O,C,2.5,0),COLOR008888;
STICKLINE(A,O,C,2,0),COLOR00AAAA;
STICKLINE(A,O,C,1,0),COLOR00CCCC;
STICKLINE(A,O,C,0.2,0),COLOR00FFFF;
STICKLINE(B,H,L,0,1),COLORGREEN;
STICKLINE(B,O,C,2.5,0),COLOR008800;
STICKLINE(B,O,C,2,0),COLOR00AA00;
STICKLINE(B,O,C,1,0),COLOR00CC00;
STICKLINE(B,O,C,0.2,0),COLOR00FF00;
STICKLINE(跑,C,O,3.0,0),COLOR777777;
STICKLINE(跑,C,O,2.7,0),COLORAAAAAA;
STICKLINE(跑,C,O,2.1,0),COLORCCCCCC;
STICKLINE(跑,C,O,0.9,0),,COLOR000000;
STICKLINE(跑,C,O,0.3,0),COLOR000000;

投股 票网 www.tou 18.cn

股市公式下载推荐
投股票网股市查询:资金行情查询 实时DDX查询 大智慧超赢 千股千评 最新提示 股票公告 投资要点 评级查询 股东查询 增发配股查询 股权结构查询
信息发展 300469+5.94% 评股 实时DDX 大智慧 最新消息 题材分析 股权
杭州柯林 688611+5.90% 评股 实时DDX 大智慧 最新消息 题材分析 股权
拱东医疗 605369+5.87% 评股 实时DDX 大智慧 最新消息 题材分析 股权
丰元股份 002805+5.85% 评股 实时DDX 大智慧 最新消息 题材分析 股权
XD新安股 600596+5.80% 评股 实时DDX 大智慧 最新消息 题材分析 股权
三安光电 600703+5.77% 评股 实时DDX 大智慧 最新消息 题材分析 股权
雅化集团 002497+5.74% 评股 实时DDX 大智慧 最新消息 题材分析 股权
红星发展 600367+5.72% 评股 实时DDX 大智慧 最新消息 题材分析 股权
莱克电气 603355+5.58% 评股 实时DDX 大智慧 最新消息 题材分析 股权
亿华通 688339+5.56% 评股 实时DDX 大智慧 最新消息 题材分析 股权
联系我们:nmsy8@hotmail.com 友情链接 要求相关的财经股票网站 今日股市行情在线查询
本站不推荐任何股票,站内广告不代表投股票网的观点,由此引起的一切法律责任均与本站无关,请网民自行判断真假,谨防网上股票预测诈骗!
本站所有内容仅供参考,不构成投资建议,据此操作,风险自担。本站不为所提供数据的错误或因依此信息所采取的任何行为负责。
手机版(手机访问当前页面) | 手机APP下载 | 电脑端(适合电脑或大屏用户) | 备案号:沪ICP备2024045114号-120