Rank: Newbie
Groups: Registered, Registered Users Joined: 11/10/2008(UTC) Posts: 1
|
Does anyone know the formula for Fractal Dimension Index?
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers, Unverified Users Joined: 10/28/2004(UTC) Posts: 3,111 Location: Perth, Western Australia
Was thanked: 16 time(s) in 16 post(s)
|
I am not sure if the version posted in TASC is true to the original concept? I thought that to properly compute the Hurst component and then the fractal component would require inner loops which MS cannot support. The only way to code these correctly would involve using external functions, but anyway here is what was in that issue of TASC. A copy of the article is at http://www.fractalfinance.com/fracdimin.html6597[/url] which is very similar to the above version. Code:
{Provided By: Visual Trading Systems, LLC & Capital Market Services, LLC © Copyright 2007}
{Description: Fractal Dimension Index (FDI)}
{Notes: March 2007 Issue - Using the Fractal Dimension Index - Trading Systems and Fractals by Radha Panini}
{vt_FDI Version 1.0}
pr:=CLOSE;
periods:=100;
Ri:= Log(pr/Ref(pr,-1));
Mn:= Sum(ri,periods)/periods;
X:= Sum((Ri-Mn),periods);
Rn:= HHV(X,periods) - LLV(X,periods);
Sn:= Stdev(Ri,periods);
Hurst:= Log(Rn/Sn) / Log(periods/2);
FDI:= 2 - Hurst;
FDI;
http://transcripts.fxstreet.com/2005/05/fractal_dimensi.html
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users Joined: 11/7/2005(UTC) Posts: 602
|
That is a lot of info. Thanks.
|
|
|
|
Users browsing this topic |
Guest (Hidden)
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.