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

通达信当前点位分析主图指标公式

2020/10/7 18:39:07

DRAWGBK(O>C,RGB(0,50,50),RGB(66,0,0),0,'01',0);
N:=13;DO:=150612;DA:=150826;DB:=151117;DC:=160108;
{黄金分割}
高:IF (HIGH>PEAK(1,N,1),HHV(HIGH,N),PEAK(1,N,1))LINETHICK2,COLORBLUE;{最高价}
低:IF (LOW<TROUGH(2,N,1),LLV(LOW,N),TROUGH(2,N,1))LINETHICK2,COLORMAGENTA;{最低价}
F0.191:(高-低)*0.191+低,DOTLINE,COLORMAGENTA;
F0.382:(高-低)*0.382+低,DOTLINE,COLORCYAN;
F0.500:(高-低)*0.500+低,DOTLINE,COLORWHITE;
F0.618:(高-低)*0.618+低,DOTLINE,COLORCYAN;
F0.809:(高-低)*0.809+低,DOTLINE,COLORYELLOW;
{三角背景}
趋势下:DRAWLINE(H=HHV(H,N),H,L=LLV(L,N),L,0)LINETHICK2,COLORGREEN;
SX:=REF(趋势下,1)<趋势下;
SS:=DRAWLINE(SX,趋势下,REF(SX,1),REF(趋势下,1),1);
DRAWBAND(SS,RGB(0,0,160),趋势下,RGB(0,0,0));
趋势上:DRAWLINE(L=LLV(L,N),L,H=HHV(H,N),H,0)LINETHICK2,COLORMAGENTA;
JX:=REF(趋势上,1)>趋势上;
JJ:=DRAWLINE(JX,趋势上,REF(JX,1),REF(趋势上,1),1);
DRAWBAND(JJ,RGB(0,0,0),趋势上,RGB(180,0,180));
DRAWKLINE(HIGH,OPEN,LOW,CLOSE) ;
{大资金流向}
超B:=L2_AMO(0,2)/10000.0;
大B:=L2_AMO(1,2)/10000.0;
中B:=L2_AMO(2,2)/10000.0;
小B:=L2_AMO(3,2)/10000.0;
超S:=L2_AMO(0,3)/10000.0;
大S:=L2_AMO(1,3)/10000.0;
中S:=L2_AMO(2,3)/10000.0;
小S:=L2_AMO(3,3)/10000.0;
大资金流向:(超B+大B)-(超S+大S)COLORYELLOW,NODRAW;
DRAWKLINE(HIGH,OPEN,LOW,CLOSE) ;
STICKLINE(大资金流向<0,O,C,2,0),COLORFF3300;
STICKLINE(大资金流向<0,O,C,1.2,0),COLORFF6600;
STICKLINE(大资金流向<0,O,C,0.5,0),COLORFF9900;
STICKLINE(大资金流向>0,O,C,2,0),COLOR0066FF;
STICKLINE(大资金流向>0,O,C,1.2,0),COLOR099FFF;
STICKLINE(大资金流向>0,O,C,0.5,0),COLOR00FFFF;
TL:=1000000+DA;
TH:=1000000+DB;
TC:=1000000+DC;
TO:=1000000+DO;
AL:=IF(REFDATE(CLOSE,TL)>REFDATE(CLOSE,TH),REFDATE(HIGH,TL),REFDATE(LOW,TL));
BH:=IF(REFDATE(CLOSE,TL)>REFDATE(CLOSE,TH),REFDATE(LOW,TH),REFDATE(HIGH,TH));
CZF:=IF(REFDATE(CLOSE,TL)>REFDATE(CLOSE,TH),REFDATE(HIGH,TC),REFDATE(LOW,TC));
DJB:=IF(REFDATE(CLOSE,TL)>REFDATE(CLOSE,TH),REFDATE(LOW,TO),REFDATE(HIGH,TO));
OP:=BH-AL+CZF;
COP:=0.618*(BH-AL)+CZF;
XOP:=IF((1.618*(BH-AL)+CZF)<0,OP,1.618*(BH-AL)+CZF);
TODAY:=DATE;
STICKLINE(DATE=TC,CZF,XOP,0,-1),COLORYELLOW;
DRAWLINE(DATE=TC,COP,DATE=TODAY,COP,1),DOTLINE,COLORYELLOW;
DRAWLINE(DATE=TC,OP,DATE=TODAY,OP,1),DOTLINE,COLORYELLOW;
DRAWLINE(DATE=TC,XOP,DATE=TODAY,XOP,1),DOTLINE,COLORYELLOW;
DRAWTEXT(DATE=TC,COP*1.003,'(COP=0.618)'),COLORYELLOW;
DRAWTEXT(DATE=TC,OP*1.003,'(OP=1.000)'),COLORYELLOW;
DRAWTEXT(DATE=TC,XOP*1.003,'(XOP=1.618)'),COLORYELLOW;
DRAWNUMBER(DATE=TC,COP,COP),COLORYELLOW;
DRAWNUMBER(DATE=TC,OP,OP),COLORYELLOW;
DRAWNUMBER(DATE=TC,XOP,XOP),COLORYELLOW;
DRAWLINE(DATE=TO,DJB,DATE=TL,AL,0)CIRCLEDOT,COLORGREEN;
DRAWLINE(DATE=TL,AL,DATE=TH,BH,0)LINETHICK2,COLORYELLOW;
DRAWLINE(DATE=TH,BH,DATE=TC,CZF,0)LINETHICK2,COLORCYAN;
{区间涨跌}
↑:=TROUGHBARS(2,N,1);
↓:=PEAKBARS(1,N,1);
涨%:=IF(↑<↓,(C/低-1)*100,REF((C/低-1)*100,↓));
跌%:=IF(↓<↑,(C/高-1)*100,REF((C/高-1)*100,↑));
DRAWNUMBER(↑=0,低*0.99,ABS(高-低)),COLORGREEN;
DRAWNUMBER(↓=0,高*1.02,ABS(高-低)),COLORRED;
ZHSJ:=IF(↓<↑,BACKSET(ISLASTBAR,↓),IF(↑<↓,BACKSET(ISLASTBAR,↑),0));
DRAWTEXT(↓<↑ AND CROSS(ZHSJ,0.1),高*1.004,'本 高'),COLORGREEN;
DRAWTEXT(↓<↑ AND CROSS(ZHSJ,0.1),低*1.004,'本 低'),COLORRED;
DRAWTEXT(↓<↑ AND CROSS(ZHSJ,0.1),F0.191*1.003,'80.9%'),COLORYELLOW;
DRAWTEXT(↓<↑ AND CROSS(ZHSJ,0.1),F0.382*1.003,'61.8%'),COLORCYAN;
DRAWTEXT(↓<↑ AND CROSS(ZHSJ,0.1),F0.500*1.003,'50.0%'),COLORWHITE;
DRAWTEXT(↓<↑ AND CROSS(ZHSJ,0.1),F0.618*1.003,'38.2%'),COLORGREEN;
DRAWTEXT(↓<↑ AND CROSS(ZHSJ,0.1),F0.809*1.003,'19.1%'),COLORRED;
DRAWNUMBER(↓<↑ AND CROSS(ZHSJ,0.1),高,高)COLORGREEN;
DRAWNUMBER(↓<↑ AND CROSS(ZHSJ,0.1),F0.191,F0.191)COLORYELLOW;
DRAWNUMBER(↓<↑ AND CROSS(ZHSJ,0.1),F0.382,F0.382)COLORCYAN;
DRAWNUMBER(↓<↑ AND CROSS(ZHSJ,0.1),F0.500,F0.500)COLORGREEN;
DRAWNUMBER(↓<↑ AND CROSS(ZHSJ,0.1),F0.618,F0.618)COLORCYAN;
DRAWNUMBER(↓<↑ AND CROSS(ZHSJ,0.1),F0.809,F0.809)COLORMAGENTA;
DRAWNUMBER(↓<↑ AND CROSS(ZHSJ,0.1),低,低)COLORRED;
DRAWTEXT(↓>↑ AND CROSS(ZHSJ,0.1),高*1.003,'前 高'),COLORGREEN;
DRAWTEXT(↓>↑ AND CROSS(ZHSJ,0.1),低*1.003,'前 低'),COLORRED;
DRAWTEXT(↓>↑ AND CROSS(ZHSJ,0.1),F0.191*1.003,'19.1%'),COLORRED;
DRAWTEXT(↓>↑ AND CROSS(ZHSJ,0.1),F0.382*1.003,'38.2%'),COLORGREEN;
DRAWTEXT(↓>↑ AND CROSS(ZHSJ,0.1),F0.500*1.003,'50.0%'),COLORWHITE;
DRAWTEXT(↓>↑ AND CROSS(ZHSJ,0.1),F0.618*1.003,'61.8%'),COLORCYAN;
DRAWTEXT(↓>↑ AND CROSS(ZHSJ,0.1),F0.809*1.003,'80.9%'),COLORYELLOW;
DRAWNUMBER(↓>↑ AND CROSS(ZHSJ,0.1),高,高)COLORGREEN;
DRAWNUMBER(↓>↑ AND CROSS(ZHSJ,0.1),F0.809,F0.809)COLORYELLOW;
DRAWNUMBER(↓>↑ AND CROSS(ZHSJ,0.1),F0.618,F0.618)COLORCYAN;
DRAWNUMBER(↓>↑ AND CROSS(ZHSJ,0.1),F0.500,F0.500)COLORGREEN;
DRAWNUMBER(↓>↑ AND CROSS(ZHSJ,0.1),F0.382,F0.382)COLORCYAN;
DRAWNUMBER(↓>↑ AND CROSS(ZHSJ,0.1),F0.191,F0.191)COLORMAGENTA;
DRAWNUMBER(↓>↑ AND CROSS(ZHSJ,0.1),低,低)COLORRED;

投股 票网 www.tou1 8.cn

股市公式下载推荐
投股票网股市查询:资金行情查询 实时DDX查询 大智慧超赢 千股千评 最新提示 股票公告 投资要点 评级查询 股东查询 增发配股查询 股权结构查询
聆达股份 300125+4.57% 评股 实时DDX 大智慧 最新消息 题材分析 股权
湘佳股份 002982+4.53% 评股 实时DDX 大智慧 最新消息 题材分析 股权
阿尔特 300825+4.53% 评股 实时DDX 大智慧 最新消息 题材分析 股权
泰格医药 300347+4.51% 评股 实时DDX 大智慧 最新消息 题材分析 股权
格林达 603931+4.50% 评股 实时DDX 大智慧 最新消息 题材分析 股权
丽珠集团 000513+4.46% 评股 实时DDX 大智慧 最新消息 题材分析 股权
新集能源 601918+4.44% 评股 实时DDX 大智慧 最新消息 题材分析 股权
立昂微 605358+4.43% 评股 实时DDX 大智慧 最新消息 题材分析 股权
渝三峡A 000565+4.41% 评股 实时DDX 大智慧 最新消息 题材分析 股权
中能电气 300062+4.39% 评股 实时DDX 大智慧 最新消息 题材分析 股权
联系我们:nmsy8@hotmail.com 友情链接 要求相关的财经股票网站 今日股市行情在线查询
本站不推荐任何股票,站内广告不代表投股票网的观点,由此引起的一切法律责任均与本站无关,请网民自行判断真假,谨防网上股票预测诈骗!
本站所有内容仅供参考,不构成投资建议,据此操作,风险自担。本站不为所提供数据的错误或因依此信息所采取的任何行为负责。
手机版(手机访问当前页面) | 手机APP下载 | 电脑端(适合电脑或大屏用户) | 备案号:沪ICP备2024045114号-120