当前位置:分析家公式网 → 股票公式 → 通达信公式 → 一键转帖:非常适用的“主图四区背景”指标
软件名称:[B]非常适用的“主图四区背景”指标[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:3.00 KB
官方主页:Home Page
更新时间:2014-01-25 07:22:01
软件简介:
非常适用的“主图四区背景”指标
1、可加入任何主图;
2、N是K线显示数目,默认为120,可根据自己的习惯随意调整;
3、调整K线显示数目,注意对以下公式中的数字“60”、“120”进行修改,“120”表示K线显示数目,“60”表示的是K线显示数目的一半。
STICKLINE(CD=60,HHV(高区,60),LLV(低区,60),0.01,0),COLOR004080;
STICKLINE(CD=120,HHV(高区,60),LLV(低区,60),0.01,0),COLOR004080;
{主图四区背景} N:=120; M:=BARSLAST(CURRBARSCOUNT=N); GD:=CONST(IF(ISLASTBAR=1,HHV(H,M),0)); DD:=CONST(IF(ISLASTBAR=1,LLV(L,M),0)); KJ:=GD-DD; 高区:IF(CURRBARSCOUNT<=N,GD,DRAWNULL),LINETHICK4,COLOR004080; 低区:IF(CURRBARSCOUNT<=N,DD,DRAWNULL),LINETHICK2,COLOR004080; 平衡:IF(CURRBARSCOUNT<=N,DD+KJ/2,DRAWNULL),LINETHICK2,COLOR004080; 支撑0:IF(CURRBARSCOUNT<=N/2,DD+KJ*0.191,DRAWNULL),LINETHICK2,COLOR004080; 强势:IF(CURRBARSCOUNT<=N/2,DD+KJ*0.382,DRAWNULL),LINETHICK2,COLOR004080; 突破:IF(CURRBARSCOUNT<=N,DD+KJ/2,DRAWNULL),LINETHICK2,COLOR004080; 警示:IF(CURRBARSCOUNT<=N/2,DD+KJ*0.618,DRAWNULL),LINETHICK2,COLOR004080; 压力:IF(CURRBARSCOUNT<=N/2,DD+KJ*0.809,DRAWNULL),LINETHICK2,COLOR004080; CD:=CURRBARSCOUNT,NODRAW; STICKLINE(CD=60,HHV(高区,60),LLV(低区,60),0.01,0),COLOR004080; STICKLINE(CD=120,HHV(高区,60),LLV(低区,60),0.01,0),COLOR004080; STICKLINE(CD=1,HHV(高区,60),LLV(低区,60),0.01,0),COLOR004080; DRAWTEXT(CURRBARSCOUNT=1,压力,'压力'),COLOR004080; DRAWTEXT(CURRBARSCOUNT=1,警示,'警示'),COLOR004080; DRAWTEXT(CURRBARSCOUNT=1,突破,'突破'),COLOR004080; DRAWTEXT(CURRBARSCOUNT=1,强势,'强势'),COLOR004080; DRAWTEXT(CURRBARSCOUNT=1,支撑0,'支撑'),COLOR004080; DRAWTEXT(CURRBARSCOUNT=N/4+30,GD-KJ*0.09,'【风险区】--高抛避险'),COLOR004080; DRAWTEXT(CURRBARSCOUNT=N/4+30,GD-KJ*0.3,'【警示区】--逢高减仓'),COLOR004080; DRAWTEXT(CURRBARSCOUNT=N/4+30,GD-KJ*0.45,'【突破区】--主力拉升'),COLOR004080; DRAWTEXT(CURRBARSCOUNT=N/4+30,GD-KJ*0.55,'【拉升区】--强势畜锐'),COLOR004080; DRAWTEXT(CURRBARSCOUNT=N/4+30,DD+KJ/3,'【关注区】--逢低买入'),COLOR004080; DRAWTEXT(CURRBARSCOUNT=N/4+30,DD+KJ/10,'【低吸区】--大胆买入'),COLOR004080; DRAWTEXT(CURRBARSCOUNT=N/2+6,GD-KJ*0.25,'【拉升区】'),COLOR004080; DRAWTEXT(CURRBARSCOUNT=N/2+6,DD+KJ*0.25,'【持股区】'),COLOR004080; DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
[url=http://www.70822.com/soft/sort013/sort05/down-69266.html]非常适用的“主图四区背景”指标[/url]