| New signals service! | |
|
|||||||
| Register in Forex TSD! | |
|
Trading Systems Leaders in this forum (automated trading systems) are winning more than 3000 pips in a month (30000$ investing one lot every time). Click here to register and get more information |
|
![]() |
|
|
LinkBack (3) | Thread Tools | Display Modes |
|
|||
|
TASC 03/07 Fractal Dimension Index
To any friendly metatrader coder:
In the new Technical Analysis of Stocks and Commodities, there is a article by Radha Panini, it is the second article in a series. The first article went on about hurst applications and I thought at first it was going to be a promo for mesa or John Ehlers digital systems. The second article shows a indicator called the Fractal dimension index. It is a indicator that shows strength of trend- it is compared to the vertical horizontal filter, ADX, DMI. I have used adx on most of my trades, as most traders are aware ADX it is a little slow and a little late- but can be used to make general assumptions about trending/range state. I also tried the vertical horizontal filter- but I could not find a consistent way to apply the indicator. It seems, as traders, that we are always searching for a better indicator. This indicator backtested very favorable and of course only a email was listed for further inquiry- Sounds like a money grab. I did a search and I found some code for the indicator. It does not appear to be copyrighted. Here is a earlier article pdf: http://www.fractalfinancecubed.com/u...rik%20Long.pdf Here is code for tradestation: { ************ Program to Calculate Fractal Dimension of Waveforms Based on code by Carlos Sevcik, "A procedure to Estimate the Fractal Dimension of Waveforms", see <a href="http://www.csu.edu.au/ci/vol05/sevcik/sevcik.html " target="_blank">http://www.csu.edu.au/ci/vol05/sevcik/sevcik.html </a> Thanks for Alex Matulich for points out this article <a href="http://unicorn.us.com/ " target="_blank">http://unicorn.us.com/ </a>} Inputs: N ( 30 ) ; variables: Diff( 0 ), Length( 0 ), PriceMax ( 0 ), PriceMin( 0 ), PriorDiff( 0 ), Iteration( 0 ), FractalDim( 0 ) ; PriceMax = Highest( Close , N ) ; PriceMin = Lowest( Close, N ) ; Length = 0 ; PriorDiff = 0 ; for Iteration = 1 TO N -1 begin if (PriceMax - PriceMin) > 0 then begin Diff = (Close[Iteration] - PriceMin) / (PriceMax - PriceMin) ; if (Iteration> 1) then begin Length = Length + SquareRoot( Square(Diff - PriorDiff) + (1 / Square(N)) ) ; end ; PriorDiff = Diff ; end ; end ; if Length > 0 then FractalDim = 1 + ( LOG( Length )+ LOG( 2 ) ) / LOG( 2 * ( N ) ) else FractalDim = 0 ; Plot1( FractalDim ) ; from link: https://www.tradestation.com/discuss...Topic_ID=13542 more links about indicator: http://www.fractalfinance.com/software.html I hope somebody will take the time to code this indicator- it appears that it could be applied to a robust EA! Thank You, M Rippy |
|
|||
|
hi
Quote:
=================== Forex Indicators Collection |
|
|||
|
Hi,
I think there is an error in the following line: for( iteration = 0; iteration < g_period_minus_1; iteration++ ) it must be replaced with for( iteration = 0; iteration <= g_period_minus_1; iteration++ ) It can be found in the _computeFdi subroutine: void _computeFdi( int lastBars, double inputData[] ) This doesn't change the result much. Regards Derik |
|
|||
|
I am trying to integrate fractal_dimension inside an expert , based on if the fdi < e_random_ligne -> trending and if fdi> e_random_ligne -> volatile, and that by using icustom or any other function. Please I need some help on this.
thanks |
|
|||
|
I am trying to integrate fractal_dimension inside an expert , based on if the fdi < e_random_ligne -> trending and if fdi> e_random_ligne -> volatile, and that by using icustom or any other function. Please I need some help on this.
thanks |
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
LinkBacks (?)
LinkBack to this Thread: http://www.forex-tsd.com/suggestions-trading-systems/6119-tasc-03-07-fractal-dimension-index.html
|
||||
| Posted By | For | Type | Date | |
| ???????EA - ?MT4??? - 520FX[??|??|??|MT4|EA] - Powered by Discuz! | This thread | Refback | 08-27-2008 07:53 AM | |
| 分形理论及相关EA - 【MT4交流】 - 520FX[黄金|外汇|证券|MT4|EA] - Powered by Discuz! | This thread | Refback | 06-26-2008 01:29 PM | |
| Fractal dimension - MQL4 Code Base | This thread | Refback | 01-22-2008 05:07 PM | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| JPYX index like USDX index.. | endy | Metatrader 4 | 0 | 04-10-2007 04:57 PM |
| Fractal indicator | MacDaddy | Indicators - Metatrader 4 | 7 | 08-04-2006 03:55 PM |
| Fractal EA | yass | Expert Advisors - Metatrader 4 | 1 | 05-07-2006 06:31 AM |
| Fractal Projection | 006 | Suggestions for Trading Systems | 3 | 02-16-2006 06:17 PM |