|
|

楼主 |
发表于 2007-9-21 13:22
|
显示全部楼层
回复老城墙
原帖由 老城墙 于 2007-9-20 19:44 发表 
感谢楼主,能否发一下你的空间百分线指标看看。
自编的[江恩空间百分线]主图公式源码(分析家软件、飞狐软件)
BFX价位百分线[2001年7月编创]
钥匙:=1130131; 锁:=IF(DATE<=钥匙,1,0); T:=BARSSINCE(DATE>=940701);
HF:=HHV(H,T)*锁; FT:=BARSLAST(HF=H);
LG:=LLV(L,T)*锁; GT:=BARSLAST(LG=L); FG:=HF-LG;
XX6:=IF(GT>FT,HF-FG/16,C);
XX12:=IF(GT>FT,HF-FG/8,C); XX25:=IF(GT>FT,HF-FG/4,C);
XX33:=IF(GT>FT,HF-FG/3,C); XX37:=IF(GT>FT,HF-FG*3/8,C);
XX50:=IF(GT>FT,HF-FG/2,C); XX62:=IF(GT>FT,HF-FG*5/8,C);
XX66:=IF(GT>FT,HF-FG*2/3,C);XX75:=IF(GT>FT,HF-FG*3/4,C);
XX87:=IF(GT>FT,HF-FG*7/8,C);XX94:=IF(GT>FT,HF-FG*0.948,C);
X6:IF(GT<FT,LG+FG/16,XX6),POINTDOT,COLORWHITE;
X12:IF(GT<FT,LG+FG/8,XX12),POINTDOT,COLORGREEN;
X25:IF(GT<FT,LG+FG/4,XX25),POINTDOT,COLORMAGENTA;
X33:IF(GT<FT,LG+FG/3,XX33),POINTDOT,COLORYELLOW;
X37:IF(GT<FT,LG+FG*3/8,XX37),POINTDOT,COLORBLUE;
X50:IF(GT<FT,LG+FG/2,XX50),POINTDOT,COLORRED;
X62:IF(GT<FT,LG+FG*5/8,XX62),POINTDOT,COLORBLUE;
X66:IF(GT<FT,LG+FG*2/3,XX66),POINTDOT,COLORYELLOW;
X75:IF(GT<FT,LG+FG*3/4,XX75),POINTDOT,COLORCYAN;
X87:IF(GT<FT,LG+FG*7/8,XX87),POINTDOT,COLORGREEN;
X94:IF(GT<FT,LG+FG*0.948,XX94),POINTDOT,COLORGRAY;
收盘:C,POINTDOT,COLORBLACK;
也可以到这里去看一看http://bbs.macd.cn/thread-581969-1-1.html |
|
|