分析家公式网,提供指标公式,股票软件 用户登录  |  用户 注册
当前位置:分析家公式网股票公式飞狐公式 → 一键转帖:Z-K线

软件名称:[B]Z-K线[/B]
软件类型:国产软件
运行环境:Win9X/2000/XP/2003/
软件语言:简体中文
授权方式:解密版
软件大小:1.00 KB
官方主页:Home Page
更新时间:2008-10-23 02:02:40
软件简介:

{Z-K线,主图公式,有未来函数}

INPUT:n(5,0,100);

z:=zig(4,n);f:=z-ref(z,1);
dd:=refx(f>0 and ref(f,1)<0,1)LINETHICK;
gg:=refx(f<0 and ref(f,1)>0,1)LINETHICK;
w:=barslast(dd or gg or BARPOS=1)LINETHICK;
dg:=gg or dd or ISLASTBAR;
wx:=0*c;
oo:ref(o,ref(w,1)),LINETHICK;
cc:refx(c,wx),LINETHICK;
hh:refx(hhv(h,ref(w+1,1)),wx),LINETHICK;
LL:refx(LLv(L,ref(w+1,1)),wx),LINETHICK;
co:=oo=ref(oo,1);
f:=z>ref(z,1);
hL:=cross(w,wx)or (w=wx and w=1);
zf:(cc/oo-1)*100,LINETHICK;
wf:=barslast(abs(zf)>10);
fc:=ref(cc,wf);
fo:=ref(oo,wf);
PARTLINE(fc=ref(fc,1),fc),COLORGRAY,POINTDOT;
PARTLINE(fo=ref(fo,1),fo),COLORGRAY,POINTDOT;

PARTLINE(f and co,oo),COLORYELLOW;
PARTLINE(f and co,cc),COLORYELLOW;
PARTLINE(not(f) and co,oo),COLORBLUE;
PARTLINE(not(f) and co,cc),COLORBLUE;
STICKLINE((gg or ref(dd,1)) and f,cc,oo,0.01,0),COLORYELLOW;
STICKLINE(dd or ref(gg,1) and not(f),cc,oo,0.01,0),COLORBLUE;
STICKLINE(hL and f,hh,max(oo,cc),0.01,0),COLORYELLOW;
STICKLINE(hL and f,LL,min(oo,cc),0.01,0),COLORYELLOW;
STICKLINE(not(f) and hL,hh,max(oo,cc),0.01,0),COLORBLUE;
STICKLINE(not(f) and hL,LL,min(oo,cc),0.01,0),COLORBLUE;
u:=dd and ref(gg,1);
i:=gg and ref(dd,1);
STICKLINE(u,h,L,0.01,0),COLORBLUE;
STICKLINE(u,c,o,6,0),COLORBLUE;
STICKLINE(i,h,L,0.01,0),COLORYELLOW;
STICKLINE(i,c,o,6,1),COLORYELLOW;
DRAWNUMBER(hL and (zf>10 or zf<-10),oo,abs(zf),0),COLORMAGENTA;


[url=http://www.70822.com/soft/sort013/sort02/down-3558.html]Z-K线[/url]

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