楼主: gget

分形线的构造(画出分形线来)

 火... [复制链接]

14

主题

281

回帖

791

积分

积分
791
发表于 2008-8-3 15:48:02 | 显示全部楼层
真不好掌握分行呀

8

主题

171

回帖

431

积分

积分
431
发表于 2008-8-5 19:54:19 | 显示全部楼层

回复 1# 的帖子

1

主题

8

回帖

72

积分

积分
72
发表于 2008-8-9 23:36:35 | 显示全部楼层
good.............................

0

主题

107

回帖

443

积分

积分
443
发表于 2008-8-11 12:12:11 | 显示全部楼层

kankan

xiexielouzhu

0

主题

1

回帖

179

积分

积分
179
发表于 2008-8-15 09:16:48 | 显示全部楼层
博学,佩服;努力学习

0

主题

27

回帖

135

积分

积分
135
发表于 2008-8-20 09:50:05 | 显示全部楼层
厉害呀, 虽然看的不是很懂!

2

主题

34

回帖

153

积分

积分
153
发表于 2008-8-31 02:12:45 | 显示全部楼层

9

主题

61

回帖

174

积分

积分
174
发表于 2008-9-3 15:16:38 | 显示全部楼层

恩

挺好的东西,看看

0

主题

7

回帖

65

积分

积分
65
发表于 2008-9-5 11:57:13 | 显示全部楼层
ddddddddddddddddd

4

主题

131

回帖

292

积分

积分
292
发表于 2008-9-6 13:36:11 | 显示全部楼层
谢谢严重感谢楼主辛苦

1

主题

16

回帖

87

积分

积分
87
发表于 2008-9-6 14:06:21 | 显示全部楼层
学习学习,有没有人翻译成中文?分形函数含有未来数据吗?

0

主题

21

回帖

101

积分

积分
101
发表于 2008-9-8 20:45:33 | 显示全部楼层
看看!回复! 呵呵呵

0

主题

21

回帖

101

积分

积分
101
发表于 2008-9-8 20:46:19 | 显示全部楼层
呵呵呵呵呵呵呵呵呵呵呵呵

0

主题

11

回帖

73

积分

积分
73
发表于 2008-9-11 13:18:25 | 显示全部楼层
看看!回复!

1

主题

31

回帖

107

积分

积分
107
发表于 2008-9-25 22:41:32 | 显示全部楼层
Entering points when the fractal line is penetrated are marked by blue and red arrows.
The development environment MQL4 will help us to know the fractal ideology better.

Let us define a problem to test fractals:

draw fractals buy/sell;
draw horizontal penetrating levels;
draw fractal lines;
mark the expected entering points with arrows.

Fractals Buy/Sell
This is the most elementary part. We should also consider indicator iFractal available in MQL4 (in Omega, I had to write this indicator myself, and it was rather difficult due to Omega's properties). The examples of how to write this indicator can be found in Code Base.

Horizontal Levels of Penetration
Let us use standard horizontal lines. We will specify the the price of a fractal as a price coordinate, the date of forming the fractal and the current time will be given as time coordinates.

ObjectCreate("SimpleUp"+Up,OBJ_TREND,0,bufUpDate[Up], bufUpPrice[Up],Time[i-1],bufUpPrice[Up]);
ObjectSet("SimpleUp"+Up,OBJPROP_COLOR,Aqua);
ObjectSet("SimpleUp"+Up,OBJPROP_RAY,True);

Fractal Lines
The simplest way seems to be drawing of trend lines through 2 points. We make a ray of the line and wait for penetration. However, indeed, it does not seem to be possible to compare the close price and value of the price on the fractal line since function ObjectGet can return only values of points that have formed the fractal line. So what are we to do?
We should remember analytic geometry. We have 2 points, so we have a straight-line equation. And, since we know the time coordinate, we can easily obtain the price value from the straight-line equation. The canonical straight-line equation looks like this:
您需要登录后才可以回帖 登录 | 免费注册

本版积分规则

风险提示:本站内容仅供学习交流,不构成投资建议;禁止开户导流、喊单与代客理财。系统已启用敏感词自动进审/禁发。 · 客服/举报
小黑屋|手机版|Archiver|联系我们|法律声明|智慧网

Powered by Discuz! X5.0 Licensed © 2001-2026 Discuz! Team.|京ICP备15025159号-2

QQ客服返回顶部