软件名称:[B]区间涨跌幅度买卖【源码 主图 贴图】[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/
软件语言:简体中文
授权方式:免费版
软件大小:2.00 KB
官方主页:Home Page
更新时间:2011-08-15 07:44:07
软件简介:
选择时间的高点或低点研判区间涨跌幅度,结合相应的技术进行买卖。
{通达信版本}
{RQ1(1990,3000,2010),RQ2(1,12,1),RQ3(1,31,1),RQA 1990 3000 2010 RQB 0 12 1 RQC 0 31 1 GE 0 5 0 GF 0 5 0}
RQG:=(RQ1-1900)*10000+RQ2*100+RQ3;
AH:=REF(H,BARSLAST(DATE<=RQG )),NODRAW;
高价:IF(DATE>=RQG AND GE>=1,AH,DRAWNULL),COLOR0000EE,LINETHICK3;
RQD:=(RQA-1900)*10000+RQB*100+RQC;
DJ:=REF(L,BARSLAST(DATE<=RQD )),NODRAW;
低价:IF(DATE>=RQD AND GF>=1,DJ,DRAWNULL),COLOREEEE00,LINETHICK3;
FU:=C-低价;
低到当前幅度%:FU/低价*100,NODRAW,COLOR00FFFF;
FUGA:=高价-低价;
高到低价幅度%:FUGA/高价*100,NODRAW,COLOR00FFFF;
高价A:=IF(DATE>=RQG AND GE>=1,AH*0.97,DRAWNULL);
高价B:=IF(DATE>=RQG AND GE>=1,AH*0.95,DRAWNULL);
高价C:=IF(DATE>=RQG AND GE>=2,AH*0.92,DRAWNULL);
高价D:=IF(DATE>=RQG AND GE>=2,AH*0.87,DRAWNULL);
高价E:=IF(DATE>=RQG AND GE>=3,AH*0.82,DRAWNULL);
高价F:=IF(DATE>=RQG AND GE>=3,AH*0.75,DRAWNULL);
高价G:IF(DATE>=RQG AND GE>=4,AH*0.67,DRAWNULL),COLOR666600;
高价H:=IF(DATE>=RQG AND GE>=4,AH*0.63,DRAWNULL);
DRAWBAND(高价,RGB(11,99,11),高价A,RGB(0,0,0));
DRAWBAND(高价A,RGB(66,66,66),高价B,RGB(0,0,0));
DRAWBAND(高价B,RGB(77,77,77),高价C,RGB(0,0,0));
DRAWBAND(高价C,RGB(88,88,88),高价D,RGB(0,0,0));
DRAWBAND(高价D,RGB(66,6,6),高价E,RGB(0,0,0));
DRAWBAND(高价E,RGB(88,7,7),高价F,RGB(0,0,0));
DRAWTEXT(DATE<=RQG AND GE>=1,高价A,'3'),COLOR208FFF;
DRAWTEXT(DATE<=RQG AND GE>=1,高价B,'5'),COLOR208FFF;
DRAWTEXT(DATE<=RQG AND GE>=2,高价C,'8'),COLOR208FFF;
DRAWTEXT(DATE<=RQG AND GE>=2,高价D,'13'),COLOR208FFF;
DRAWTEXT(DATE<=RQG AND GE>=3,高价E,'18'),COLOR208FFF;
DRAWTEXT(DATE<=RQG AND GE>=3,高价F,'25'),COLOR208FFF;
DRAWTEXT(DATE<=RQG AND GE>=3,高价G,'33'),COLOR208FFF;
DRAWTEXT(DATE<=RQG AND GE>=3,高价H,'37'),COLOR208FFF;
低价A:=IF(DATE>=RQD AND GF>=1,DJ*1.03,DRAWNULL);
低价B:=IF(DATE>=RQD AND GF>=1,DJ*1.05,DRAWNULL);
低价C:=IF(DATE>=RQD AND GF>=2,DJ*1.08,DRAWNULL);
低价D:=IF(DATE>=RQD AND GF>=2,DJ*1.13,DRAWNULL);
低价E:=IF(DATE>=RQD AND GF>=3,DJ*1.18,DRAWNULL);
低价F:=IF(DATE>=RQD AND GF>=3,DJ*1.25,DRAWNULL);
低价G:IF(DATE>=RQD AND GF>=4,DJ*1.33,DRAWNULL),COLOR999999;
低价H:=IF(DATE>=RQD AND GF>=4,DJ*1.37,DRAWNULL);
DRAWBAND(低价,RGB(80,0,0),低价A,RGB(55,11,55));
DRAWBAND(低价A,RGB(80,0,0),低价B,RGB(66,66,66));
DRAWBAND(低价B,RGB(80,0,0),低价C,RGB(77,77,77));
DRAWBAND(低价C,RGB(80,0,0),低价D,RGB(88,88,88));
DRAWBAND(低价D,RGB(80,0,0),低价E,RGB(6,55,66));
DRAWBAND(低价E,RGB(80,0,0),低价F,RGB(8,8,99));
DRAWTEXT(ISLASTBAR AND GF>=1,DJ*1.03,'3'),COLOR208FFF;
DRAWTEXT(ISLASTBAR AND GF>=1,DJ*1.05,'5'),COLOR208FFF;
DRAWTEXT(DATE<=RQD AND GF>=2,低价C,'8'),COLOR208FFF;
DRAWTEXT(DATE<=RQD AND GF>=2,低价D,'13'),COLOR208FFF;
DRAWTEXT(DATE<=RQD AND GF>=3,低价E,'18'),COLOR208FFF;
DRAWTEXT(DATE<=RQD AND GF>=3,低价F,'25'),COLOR208FFF;
DRAWTEXT(DATE<=RQD AND GF>=3,低价G,'33'),COLOR208FFF;
DRAWTEXT(DATE<=RQD AND GF>=3,低价H,'37'),COLOR208FFF;
STICKLINE(C>=O,C,O,3,0),COLOR0000FF;
STICKLINE(C>=O,H,L,0,0),COLOR0000FF;
STICKLINE(C<=O,C,O,3,0),COLORFFFF00;
STICKLINE(C<=O,H,L,0,0),COLORFFFF00;
BDGD:=C=HHV(C,6),LINETHICK0;
BDDD:=C=LLV(C,6),LINETHICK0;
N10:=BARSLAST(BDGD);
N20:=BARSLAST(BDDD);
高S:IF(N10,REF(C,N10),REF(C,N10))*1.005,POINTDOT,COLORFFFF00,LINETHICK3;
低S:IF(N20,REF(C,N20),REF(C,N20))*0.995,COLOR00FFFF,LINETHICK3,POINTDOT;
STICKLINE(C=C,O+((C-O)*0.667),(O+(C-O)*0.667),1.5,0),COLORFF0000,LINETHICK1;
STICKLINE(C=C,O+((C-O)*0.333),(O+(C-O)*0.333),1.5,0),COLORFF0000,LINETHICK1;
STICKLINE(C=C,O+((C-O)/2),(O+(C-O)/2),2,0),COLOR00FFFF,LINETHICK1;
STICKLINE(C=C,L+((H-L)/2),(L+(H-L)/2),2.5,0),COLOR208FFF,LINETHICK1;
STICKLINE(C=C,IF(C>O,H-((H-C)/2),H-((H-O)/2)),IF(C>O,H-((H-C)/2),H-((H-O)/2)),0.5,0),COLORYELLOW,LINETHICK1;
STICKLINE(C=C,IF(C<O,L+((C-L)/2),L+((O-L)/2)),IF(C<O,L+((C-L)/2),L+((O-L)/2)),0.5,0),COLORYELLOW,LINETHICK1;
AS:=(O+H+L+C)/4;
SYA:EMA(AS,5),LINETHICK1,COLORFFFFFF;
SYAA:EMA(AS,10),LINETHICK1,COLOR00FFFF;
SYAB:EMA(AS,20),LINETHICK1,COLOR208FFF;
SYAC:EMA(AS,55),LINETHICK1,COLORFFAAFF;
{添加到参数精灵中}
请设置计算参数:
时间高定位: Param#0 (调整年度)
时间高定位: Param#1 (调整月份)
时间高定位: Param#2 (调整日期)
时间低定位: Param#3 (调整年度)
时间低定位: Param#4 (调整月份)
时间低定位: Param#5 (调整日期)
时间高价位: Param#6 (幅度区间)
时间低价位: Param#7 (幅度区间)
[url=http://www.70822.com/soft/sort013/sort05/down-37603.html]区间涨跌幅度买卖【源码 主图 贴图】[/url]