分析家公式网,提供指标公式,股票软件 用户登录  |  用户 注册

软件名称:[B]通达信原创时空上下限指标(主图)[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/
软件语言:简体中文
授权方式:解密版
软件大小:4.00 KB
官方主页:Home Page
更新时间:2009-08-26 07:05:09
软件简介:

看到好多人要通达信时空上下限制指标,本人是通达信指标高手,先把该指标进行公布,该指标的核心理念加了本人的理解:
(1):用时空法则来判断一个股上涨下跌的空间,进而对其判断受到的支撑或者阻力;
(2):加入时间变盘理论,进而对其时间窗口影响股价的涨跌有了很细致的表现;
原码如下:
{1}
HH:=HHV(H,200);
LL:=LLV(L,200);
上涨:BARSSINCE(BACKSET(ISLASTBAR,BARSLAST(L=LL)+1)),COLOR0000FF,NODRAW;
↑空间%:(C/REF(L,上涨)-1)*100,COLOR00FFFF,NODRAW;
最高%:(HH/REF(L,上涨)-1)*100,COLORFF00FF,NODRAW;
下跌:BARSSINCE(BACKSET(ISLASTBAR,BARSLAST(H=HH)+1)),COLOR00FF00,NODRAW;
↓空间%:(C/REF(H,下跌)-1)*100,COLOR888899,NODRAW;
最低%:(LL/REF(H,下跌)-1)*100,COLORFF0000,NODRAW;
天线:REFDATE(REF(H,下跌),DATE),POINTDOT,LINETHICK3,COLORYELLOW;
地线:REFDATE(REF(L,上涨),DATE),POINTDOT,LINETHICK3,COLOR00FF00;
中线:REFDATE((天线-地线)*0.5+地线,DATE),POINTDOT,LINETHICK3,COLOR00FF00;
STICKLINE(上涨=0,天线,地线,0,-1),COLORYELLOW;
STICKLINE(下跌=0,天线,地线,0,-1),COLORGREEN;
DRAWTEXT(下跌=0,地线*1.01,'-最低'),COLOR00FF00;
DRAWTEXT(上涨=0,天线*0.99,'-最高'),COLOR0000FF;
{2}
高:=天线;
低:=地线;
H1:=高-(高-低)*0.191;
H2:=高-(高-低)*0.382;
H3:=高-(高-低)*0.5;
H4:=高-(高-低)*0.618;
H5:=高-(高-低)*0.809;
DRAWTEXT(下跌=0,高,'高'),COLORGREEN;
DRAWTEXT(下跌=0,H1,'809'),COLORCYAN;
DRAWTEXT(下跌=0,H2,'618'),COLORGRAY;
DRAWTEXT(下跌=0,H3,'中'),COLORYELLOW;
DRAWTEXT(下跌=0,H4,'382'),COLORLIRED;
DRAWTEXT(下跌=0,H5,'191'),COLORMAGENTA;
DRAWTEXT(上涨=0,H1,'风险'),COLORCYAN;
DRAWTEXT(上涨=0,H2,'高位'),COLORGRAY;
DRAWTEXT(上涨=0,H3,'中'),COLORYELLOW;
DRAWTEXT(上涨=0,H4,'低吸'),COLORLIRED;
DRAWTEXT(上涨=0 ,H5,'盘整'),COLORMAGENTA;
DRAWTEXT(上涨=0,低,'低'),COLORRED;
DRAWTEXT(上涨=5,H*1.02,'5'),COLOR00FFFF;
DRAWTEXT(上涨=8,H*1.02,'8'),COLOR00FFFF;
DRAWTEXT(上涨=13,H*1.02,'13'),COLOR00FFFF;
DRAWTEXT(上涨=21,H*1.02,'21'),COLOR00FFFF;
DRAWTEXT(上涨=34,H*1.02,'34'),COLOR00FFFF;
DRAWTEXT(上涨=55,H*1.02,'55'),COLOR00FFFF;
DRAWTEXT(上涨=89,H*1.02,'89'),COLOR00FFFF;
DRAWTEXT(上涨=144,H*1.02,'144'),COLOR00FFFF;
DRAWTEXT(上涨=180,H*1.02,'180'),COLOR00FFFF;
DRAWTEXT(上涨=250,H*1.02,'250'),COLOR00FFFF;
DRAWTEXT(下跌=5,L*0.98,'-5'),COLOR00FF00;
DRAWTEXT(下跌=8,L*0.98,'-8'),COLOR00FF00;
DRAWTEXT(下跌=13,L*0.98,'-13'),COLOR00FF00;
DRAWTEXT(下跌=21,L*0.98,'-21'),COLOR00FF00;
DRAWTEXT(下跌=34,L*0.98,'-34'),COLOR00FF00;
DRAWTEXT(下跌=55,L*0.98,'-55'),COLOR00FF00;
DRAWTEXT(下跌=89,L*0.98,'-89'),COLOR00FF00;
DRAWTEXT(下跌=144,L*0.98,'-144'),COLOR00FF00;
DRAWTEXT(下跌=180,L*0.98,'-180'),COLOR00FF00;
DRAWTEXT(下跌=250,L*0.98,'-250'),COLOR00FF00;
{3}
C2:=REF(C,1);
跌停:=IF((C2-C)*100/C2>=(10-0.01*100/C2),1,0);
涨停:=IF((C-C2)*100/C2>=(10-0.01*100/C2),1,0);
STICKLINE(跌停,C,O,3.3,0),COLORBLUE;
STICKLINE(跌停,H,L,0,0),COLORBLUE;
STICKLINE(涨停,C,O,3.3,0),COLOR0077FF;
STICKLINE(涨停,C,O,2.8,0),COLOR0099FF;
STICKLINE(涨停,H,L,0,0),COLOR00FFFF;



[url=http://www.70822.com/soft/sort013/sort05/down-12091.html]通达信原创时空上下限指标(主图)[/url]

关于本站 | 网站帮助 | 广告合作 | 声明 | 友情连接 | 网站地图 |
分析家公式网声明:本站所有股票公式软件资料均网上公开收集,如侵权请联系删帖。站内所有广告,均与本站无关!
Copyright © 2003-2024 70822.Com. All Rights Reserved .
页面执行时间:46.87500 毫秒