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

软件名称:[B]农历年K线[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/
软件语言:简体中文
授权方式:免费版
软件大小:1.00 KB
官方主页:Home Page
更新时间:2013-02-07 04:11:03
软件简介:

//农历年K线:

t1:=BARSLAST(LYEAR>ref(LYEAR,1)or BARPOS=1)+1;
rqn:=0*c;
for i=datacount downto 1 do
   if t1>t1[i-1] then rqn[i-1]:=rqn+1;
Nh:=hhv(h,t1);
Nl:=llv(l,t1);
Nc1:=if(t1>ref(t1,1)and t1>refx(t1,1),c,(BARSTATUS=2)*c);
Nh1:=if(t1>ref(t1,1)and t1>refx(t1,1),Nh,Nh);
Nl1:=if(t1>ref(t1,1)and t1>refx(t1,1),Nl,Nl);
NO:=ref(o,t1-1)LINETHICK;
NC:=refx(Nc1,rqN)LINETHICK;
NH:=refx(Nh1,rqN)LINETHICK;
NL:=refx(Nl1,rqN)LINETHICK;
开:no,LINETHICK,PRECISION2;
高:nh,LINETHICK,PRECISION2;
低:nl,LINETHICK,PRECISION2;
收:nc,LINETHICK,PRECISION2;
Nk:=(Nc>No or Nc=No and Nc>ref(Nc,1))COLORRED;
t:=BARSSINCE(BARPOS);
PARTLINE(t1>ref(t1,1) AND NK,No)COLORRED;
PARTLINE(t1>ref(t1,1) AND NK,Nc)COLORRED;
STICKLINE(t1=1 AND NK,No,Nc,0.1,1)COLORRED;
STICKLINE(t=1 AND NK,No,Nc,0.1,1)COLORRED;
STICKLINE(Nc1>0 AND NK,No,Nc,0.1,1)COLORRED;
STICKLINE(cross(t1,rqN)AND NK,Nh,NC,0.1,1)COLORRED;
STICKLINE(cross(t1,rqN)AND NK,NO,Nl,0.1,1)COLORRED;
PARTLINE(t1>ref(t1,1) AND NOT(NK),No)COLORCYAN;
PARTLINE(t1>ref(t1,1) AND NOT(NK),Nc)COLORCYAN;
STICKLINE(t1=1 AND NOT(NK),No,Nc,0.1,1)COLORCYAN;
STICKLINE(t=1 AND NOT(NK),No,Nc,0.1,1)COLORCYAN;
STICKLINE(Nc1>0 AND NOT(NK),No,Nc,0.1,1)COLORCYAN;
STICKLINE(cross(t1,rqN)AND NOT(NK),Nh,NO,0.1,1)COLORCYAN;
STICKLINE(cross(t1,rqN)AND NOT(NK),NC,Nl,0.1,1)COLORCYAN;
 


[url=http://www.70822.com/soft/sort013/sort02/down-58397.html]农历年K线[/url]

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