软件名称:[B]换手跟踪[/B]
软件类型:国产软件
运行环境:Win9X/2000/XP/2003/
软件语言:简体中文
授权方式:解密版
软件大小:4.00 KB
官方主页:Home Page
更新时间:2008-12-11 17:27:11
软件简介:
{换手跟踪}
input:n(5),m(10);
成交:=vol,COLORFFFF00,LINETHICK0;
bb:=CAPITAL;
换手:=成交*100/bb,LINETHICK0;
今日换手%:换手,LINETHICK0;
wv:=简单移动平均(换手,5);
jd:=系统参数(3)=有效值周期数(收盘价);
预测:条件函数(jd and 动态行情(17)>0 ,动态行情(17)*wv,换手),COLORffffff,LINETHICK0;
e:=sma(v/CAPITAL*100,3,1);
f:=sma(sma(e,3,1),3,1);
DRAWGBK(1,colorrgb(0,200,255),colorrgb(10,10,50),1);
FILLRGN(1,0,f),COLORdddddd;
FILLRGN(1,0,e),COLOR554488;
FF:=IF(h>l,预测,REF(预测,BARSLAST(h>l)));
历史最大:hhv(预测,BARSCOUNT(c)-3),LINETHICK0;
历史最小:=llV( ff,BARSCOUNT(c)-3),LINETHICK0;
百日最大:hhV(ff,100),LINETHICK0;
百日最小:LLV(ff,100),LINETHICK0;
DRAWTEXT(预测=百日最小,ref(预测,1)*3,'百\n日\n最\n小');
hs:=求和(成交量,0)/流通盘大小,LINETHICK0;
换手次数:=向下舍入(hs)LINETHICK0;
bbb:=条件函数(换手次数>0,换手次数,0);
bbb2:=条件函数(bbb-向前引用(bbb,1)>0,bbb,0);
距上次完全换手天:上一次条件成立位置(bbb2),LINETHICK0,COLORGREEN;
{平均换手天:向下舍入((数据位置-距上次完全换手天)/换手次数),COLORCYAN,LINETHICK0;}
平均换手天:BARSCOUNT(c)/hs,COLORCYAN,LINETHICK0;
A2:=预测;
画柱线(预测>0,0,预测,6,1),COLOR555555;
画柱线(预测>0,0,预测,5,1),COLOR777777;
画柱线(预测>0,0,预测,4,1),COLOR999999;
画柱线(预测>0,0,预测,3,1),COLORbbbbbb;
画柱线(预测>0,0,预测,2,1),COLORdddddd;
画柱线(预测>0,0,预测,1,1),COLORffffff;
画柱线(预测>0,0,预测,0.01,0),COLORffffff;
stickline( C>=O and a2>0,0,换手,6,1),color555500;
stickline( C>=O and a2>0,0,换手,5,1),color777700;
stickline(C>=O and a2>0,0,换手,4,1),color999900;
stickline(C>=O and a2>0,0,换手,3,1),colorbbbb00;
stickline(C>=O and a2>0,0,换手,2,1),colordddd00;
stickline( C>=O and a2>0,0,换手,1,1),colorFFFF00;
stickline( C>=O and a2>0,0,换手,0.3,1),colorFFFF00;
stickline( C<O and a2>0,0,换手,6,1),color005500;
stickline(C<O and a2>0,0,换手,5,1),color007700;
stickline(C<O and a2>0,0,换手,4,1),color009900;
stickline(C<O and a2>0,0,换手,3,1),color00bb00;
stickline(C<O and a2>0,0,换手,2,1),color00dd00;
stickline(C<O and a2>0,0,换手,1,1),color00FF00;
stickline(C<O and a2>0,0,换手,0.3,1),color00FF00;
最高:=历史最大;
最低:=历史最小;
A00:=(最低 + ((最高 - 最低) * 0.191));
A30:=(最低 + ((最高 - 最低) * 0.382));
A40:=(最低 + ((最高 - 最低) * 0.5));
A50:=(最低 + ((最高 - 最低) * 0.618));
A60:=(最低 + ((最高 - 最低) * 0.809));
a3:=a2>a30 and a2<=a40;
a4:=a2>a40 and a2<=a50;
a5:=a2>a50 and a2<=a60;
a6:=a2>a60;
stickline(a3>0,0,换手,6,0),COLOR504455;
stickline(a3>0,0,换手,5,0),COLOR706677;
stickline(a3>0,0,换手,4,0),COLOR908899;
stickline(a3>0,0,换手,3,0),COLORb0aabb;
stickline(a3>0,0,换手,2,0),COLORd0ccdd;
stickline(a3>0,0,换手,1,0),COLORf0ddff;
stickline(a4,0,换手,6,0),COLOR015455;
stickline(a4,0,换手,5,0),COLOR017577;
stickline(a4,0,换手,4,0),COLOR029799;
stickline(a4,0,换手,3,0),COLOR02b9bb;
stickline(a4,0,换手,2,0),COLOR03dcdd;
stickline(a4,0,换手,1,0),COLOR3feff;
stickline(a5,0,换手,6,0),COLOR03355;
stickline(a5,0,换手,5,0),COLOR04477;
stickline(a5,0,换手,4,0),COLOR05599;
stickline(a5,0,换手,3,0),COLOR066bb;
stickline(a5,0,换手,2,0),COLOR077dd;
stickline(a5,0,换手,1,0),COLOR088ff;
stickline(a6,0,换手,6,0),color000055;
stickline(a6,0,换手,5,0),color000077;
stickline(a6,0,换手,4,0),color000099;
stickline(a6,0,换手,3,0),color0000bb;
stickline(a6,0,换手,2,0),color0000dd;
stickline(a6,0,换手,1,0),color0000FF;
ma5:ma(预测,n),LINETHICK1,COLORffffff;
ma10:ma(预测,m),LINETHICK1,COLORff;
{MM:=HHV(换手,125);
HHV(换手,125),LINEDOT,COLORWHITE;
MM*0.618,LINEDOT,COLORFFFF;
MM*0.382,LINEDOT,COLORFF;}
kk:=ma(ff,2);
kk百日最大:=hhv(kk,100);
kk百日最小:=llv(kk,100);
(kk百日最大-kk百日最小)*0.618+kk百日最小,LINEDOT,COLORWHITE;
(kk百日最大-kk百日最小)*0.5+kk百日最小,LINEDOT,COLORFFFF;
(kk百日最大-kk百日最小)*0.809+kk百日最小,LINEDOT,COLORFF;
tj:=COUNT(换手<kk百日最小*1.192*2,4)=4 or COUNT(换手<kk百日最小*1.618*4,30)=30;
历史平均换手率:100/平均换手天,,COLORff00ff;
bbb3:=数字转化为字符串(向前引用(bbb,距上次完全换手天),0);
显示文字(bbb2 and c>1,a2,'第\n \n次\n换\n手'),COLORffff,ALIGN0,PXUP125;
DRAWNUMBER(bbb2 and c>1,a2,换手次数,0),colorff,ALIGN0,PXUP100;
DRAWTEXT(预测>ref(预测,1)*1.618 and tj AND (H-C)/(H-L)<0.2,预测*0.8,'关\n \n注'),ALIGN0,COLORWHITE;
zj:=SYSPARAM(1)=BARPOS;
显示文字(a3 and zj,a2,'换手积极→'),COLORffffff,ALIGN2,PXUP50;
显示文字(a4 and zj,a2,'换手活跃→'),COLORffffff,ALIGN2,PXUP50;
显示文字(a5 and zj,a2,'换手频繁→'),COLORffffff,ALIGN2,PXUP50;
显示文字(a6 and zj,a2,'巨幅换手→'),COLORffffff,ALIGN2,PXUP50;
DRAWTEXT(换手=百日最大,换手*0.8,'百\n日\n最\n大'),ALIGN0,COLORffffff;
input:n(5),m(10);
成交:=vol,COLORFFFF00,LINETHICK0;
bb:=CAPITAL;
换手:=成交*100/bb,LINETHICK0;
今日换手%:换手,LINETHICK0;
wv:=简单移动平均(换手,5);
jd:=系统参数(3)=有效值周期数(收盘价);
预测:条件函数(jd and 动态行情(17)>0 ,动态行情(17)*wv,换手),COLORffffff,LINETHICK0;
e:=sma(v/CAPITAL*100,3,1);
f:=sma(sma(e,3,1),3,1);
DRAWGBK(1,colorrgb(0,200,255),colorrgb(10,10,50),1);
FILLRGN(1,0,f),COLORdddddd;
FILLRGN(1,0,e),COLOR554488;
FF:=IF(h>l,预测,REF(预测,BARSLAST(h>l)));
历史最大:hhv(预测,BARSCOUNT(c)-3),LINETHICK0;
历史最小:=llV( ff,BARSCOUNT(c)-3),LINETHICK0;
百日最大:hhV(ff,100),LINETHICK0;
百日最小:LLV(ff,100),LINETHICK0;
DRAWTEXT(预测=百日最小,ref(预测,1)*3,'百\n日\n最\n小');
hs:=求和(成交量,0)/流通盘大小,LINETHICK0;
换手次数:=向下舍入(hs)LINETHICK0;
bbb:=条件函数(换手次数>0,换手次数,0);
bbb2:=条件函数(bbb-向前引用(bbb,1)>0,bbb,0);
距上次完全换手天:上一次条件成立位置(bbb2),LINETHICK0,COLORGREEN;
{平均换手天:向下舍入((数据位置-距上次完全换手天)/换手次数),COLORCYAN,LINETHICK0;}
平均换手天:BARSCOUNT(c)/hs,COLORCYAN,LINETHICK0;
A2:=预测;
画柱线(预测>0,0,预测,6,1),COLOR555555;
画柱线(预测>0,0,预测,5,1),COLOR777777;
画柱线(预测>0,0,预测,4,1),COLOR999999;
画柱线(预测>0,0,预测,3,1),COLORbbbbbb;
画柱线(预测>0,0,预测,2,1),COLORdddddd;
画柱线(预测>0,0,预测,1,1),COLORffffff;
画柱线(预测>0,0,预测,0.01,0),COLORffffff;
stickline( C>=O and a2>0,0,换手,6,1),color555500;
stickline( C>=O and a2>0,0,换手,5,1),color777700;
stickline(C>=O and a2>0,0,换手,4,1),color999900;
stickline(C>=O and a2>0,0,换手,3,1),colorbbbb00;
stickline(C>=O and a2>0,0,换手,2,1),colordddd00;
stickline( C>=O and a2>0,0,换手,1,1),colorFFFF00;
stickline( C>=O and a2>0,0,换手,0.3,1),colorFFFF00;
stickline( C<O and a2>0,0,换手,6,1),color005500;
stickline(C<O and a2>0,0,换手,5,1),color007700;
stickline(C<O and a2>0,0,换手,4,1),color009900;
stickline(C<O and a2>0,0,换手,3,1),color00bb00;
stickline(C<O and a2>0,0,换手,2,1),color00dd00;
stickline(C<O and a2>0,0,换手,1,1),color00FF00;
stickline(C<O and a2>0,0,换手,0.3,1),color00FF00;
最高:=历史最大;
最低:=历史最小;
A00:=(最低 + ((最高 - 最低) * 0.191));
A30:=(最低 + ((最高 - 最低) * 0.382));
A40:=(最低 + ((最高 - 最低) * 0.5));
A50:=(最低 + ((最高 - 最低) * 0.618));
A60:=(最低 + ((最高 - 最低) * 0.809));
a3:=a2>a30 and a2<=a40;
a4:=a2>a40 and a2<=a50;
a5:=a2>a50 and a2<=a60;
a6:=a2>a60;
stickline(a3>0,0,换手,6,0),COLOR504455;
stickline(a3>0,0,换手,5,0),COLOR706677;
stickline(a3>0,0,换手,4,0),COLOR908899;
stickline(a3>0,0,换手,3,0),COLORb0aabb;
stickline(a3>0,0,换手,2,0),COLORd0ccdd;
stickline(a3>0,0,换手,1,0),COLORf0ddff;
stickline(a4,0,换手,6,0),COLOR015455;
stickline(a4,0,换手,5,0),COLOR017577;
stickline(a4,0,换手,4,0),COLOR029799;
stickline(a4,0,换手,3,0),COLOR02b9bb;
stickline(a4,0,换手,2,0),COLOR03dcdd;
stickline(a4,0,换手,1,0),COLOR3feff;
stickline(a5,0,换手,6,0),COLOR03355;
stickline(a5,0,换手,5,0),COLOR04477;
stickline(a5,0,换手,4,0),COLOR05599;
stickline(a5,0,换手,3,0),COLOR066bb;
stickline(a5,0,换手,2,0),COLOR077dd;
stickline(a5,0,换手,1,0),COLOR088ff;
stickline(a6,0,换手,6,0),color000055;
stickline(a6,0,换手,5,0),color000077;
stickline(a6,0,换手,4,0),color000099;
stickline(a6,0,换手,3,0),color0000bb;
stickline(a6,0,换手,2,0),color0000dd;
stickline(a6,0,换手,1,0),color0000FF;
ma5:ma(预测,n),LINETHICK1,COLORffffff;
ma10:ma(预测,m),LINETHICK1,COLORff;
{MM:=HHV(换手,125);
HHV(换手,125),LINEDOT,COLORWHITE;
MM*0.618,LINEDOT,COLORFFFF;
MM*0.382,LINEDOT,COLORFF;}
kk:=ma(ff,2);
kk百日最大:=hhv(kk,100);
kk百日最小:=llv(kk,100);
(kk百日最大-kk百日最小)*0.618+kk百日最小,LINEDOT,COLORWHITE;
(kk百日最大-kk百日最小)*0.5+kk百日最小,LINEDOT,COLORFFFF;
(kk百日最大-kk百日最小)*0.809+kk百日最小,LINEDOT,COLORFF;
tj:=COUNT(换手<kk百日最小*1.192*2,4)=4 or COUNT(换手<kk百日最小*1.618*4,30)=30;
历史平均换手率:100/平均换手天,,COLORff00ff;
bbb3:=数字转化为字符串(向前引用(bbb,距上次完全换手天),0);
显示文字(bbb2 and c>1,a2,'第\n \n次\n换\n手'),COLORffff,ALIGN0,PXUP125;
DRAWNUMBER(bbb2 and c>1,a2,换手次数,0),colorff,ALIGN0,PXUP100;
DRAWTEXT(预测>ref(预测,1)*1.618 and tj AND (H-C)/(H-L)<0.2,预测*0.8,'关\n \n注'),ALIGN0,COLORWHITE;
zj:=SYSPARAM(1)=BARPOS;
显示文字(a3 and zj,a2,'换手积极→'),COLORffffff,ALIGN2,PXUP50;
显示文字(a4 and zj,a2,'换手活跃→'),COLORffffff,ALIGN2,PXUP50;
显示文字(a5 and zj,a2,'换手频繁→'),COLORffffff,ALIGN2,PXUP50;
显示文字(a6 and zj,a2,'巨幅换手→'),COLORffffff,ALIGN2,PXUP50;
DRAWTEXT(换手=百日最大,换手*0.8,'百\n日\n最\n大'),ALIGN0,COLORffffff;
[url=http://www.70822.com/soft/sort013/sort02/down-4943.html]换手跟踪[/url]