|
|
本帖最后由 Derena 于 2012-11-6 19:02 编辑
这样改一下就没有未来数据了:
---------------------------------------------------------------------------------------------------------------------
{分形}
ho:=h>ref(h,1) and h>ref(h,2) and h>=refx(h,1) and if(h=refx(h,2),h>refx(h,3),h>refx(h,2));
fxh:=cross(ho,0.9);
barh:=if(barslast(fxh)>2,barslast(fxh),3);
hh:=ref(h,barh);
lo:=l<ref(l,1) and l<ref(l,2) and l<=refx(l,1) and if(l=refx(l,2),l<refx(l,3),l<refx(l,2));
fxl:=cross(lo,0.9);
barl:=if(barslast(fxl)>2,barslast(fxl),3);
ll:=ref(l,barl);
向上分形: hh,{ POINTDOT,}ColorEA91B5;
STICKLINE(CLOSE,hh,hh,5,0),LINETHICK1,COLORMAGENTA;
向下分形: ll,{ POINTDOT,}Color3791B5;
STICKLINE(CLOSE,ll,ll,5,0),LINETHICK1,COLORGREEN;
FILLRGN(c>hh,c*0.9998 ,c*1.0002,colorred );
FILLRGN(c<ll,c*0.9998 ,c*1.0002,coloryellow );
|
-
参与人数 1 | 奖励 +18 |
时间 |
理由
|
瑞趣
| + 18 |
2012-11-7 08:56 |
分析的有道理,学习了,谢谢! |
查看全部评分
|
|