软件名称:[B]三角主图及选股公式[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/
软件语言:简体中文
授权方式:免费版
软件大小:2.00 KB
官方主页:Home Page
更新时间:2010-02-28 06:44:14
软件简介:
{三角主图}
z:=zig(4,n);
dg:=FLATZIG(4,n);
zh:=PEAK(4,n,1)+0.001;
wh:=PEAKBARS(4,n,1);
zL:=TROUGH(4,n,1)+0.001;
wL:=TROUGHBARS(4,n,1);
b:=barslast(h+0.001=zh);
w:=barslast(dg=0 or dg=1);
a:=cross(BACKSET(dg=1 ,ROUND((ref(w,1)+1)/2)),0.5);
m:=(ref(w,1)+1)*(h-ref(L,ref(w,1)+1))/2;
周期:=MIN(PEAKBARS(4,n,1),TROUGHBARS(4,n,1));
R1:=backset(barstatus=2,barslast(zh)+wh+1);
S1:=R1>ref(R1,1);
R2:=backset(barstatus=2,barslast(zl)+wl+1);
S2:=R2>ref(R2,1);
tj:=s1 and 周期=PEAKBARS(4,n,1);
STICKLINE(s1,ref(L,ref(w,1)+1),h,0,0),colorgreen;
DRAWSL(tj,zh,-(zh-zl)/(wh-wl),wl-wh,1),colorred;
DRAWSL(tj,zh,(zh-zl)/(wh-wl),wl-wh,0),colorred;
DRAWSL(tj,zl,0,wl-wh,1),coloryellow;
DRAWSL(tj,zl,0,wl-wh,0),coloryellow;
DRAWLINE(s1,zh,ISLASTBAR,l,0),coloryellow,LINETHICK1;
jd:=90-atan(wh/(zh-L)*(180/3.1415927));
jw:=zl+(wl/tan(jd/180*3.1415927));
DRAWLINE(s2,zL,ISLASTBAR,jw,0),coloryellow,LINETHICK1;
数值:LINEVALUE(s2,zL,ISLASTBAR,jw,0,0),PRECISION2,colorred,LINETHICK0;
选股:
z:=zig(4,n);
dg:=FLATZIG(4,n);
zh:=PEAK(4,n,1)+0.001;
wh:=PEAKBARS(4,n,1);
zL:=TROUGH(4,n,1)+0.001;
wL:=TROUGHBARS(4,n,1);
b:=barslast(h+0.001=zh);
w:=barslast(dg=0 or dg=1);
a:=cross(BACKSET(dg=1 ,ROUND((ref(w,1)+1)/2)),0.5);
m:=(ref(w,1)+1)*(h-ref(L,ref(w,1)+1))/2;
周期:=MIN(PEAKBARS(4,n,1),TROUGHBARS(4,n,1));
R1:=backset(barstatus=2,barslast(zh)+wh+1);
S1:=R1>ref(R1,1);
R2:=backset(barstatus=2,barslast(zl)+wl+1);
S2:=R2>ref(R2,1);
jd:=90-atan(wh/(zh-L)*(180/3.1415927));
jw:=zl+(wl/tan(jd/180*3.1415927));
数值:=LINEVALUE(s2,zL,ISLASTBAR,jw,0,0);
cross(数值,l) and jw<zh and wh<(wl-wh);
[url=http://www.70822.com/soft/sort013/sort05/down-16804.html]三角主图及选股公式[/url]