Home Technical Indicator Post

Enhancing Your Trading Strategy with the Fractal Graph Dimension Indicator (FGDI)

Attachments
8844.zip (3.58 KB, Download 0 times)

Hey there, fellow traders! Today, I want to dive into a fantastic tool that can give your trading strategy a boost: the Fractal Graph Dimension Indicator, or FGDI for short. This is a revised version of a script initially created by iliko, which you can check out here.

I've made a couple of tweaks to the original script, fixing some minor errors and adding a calculation for the standard deviation of the box-counting dimension. Here’s a quick rundown of the changes:

  • Correction at Line 199:
    The original line was: for( iteration=0; iteration < g_period_minus_1; iteration++ )
    It should be updated to: for( iteration=0; iteration <= g_period_minus_1; iteration++ )
  • Correction at Line 213:
    The original line was: fdi=1.0 +(MathLog( length)+ LOG_2 )/MathLog( 2 * e_period );
    It should be updated to: fdi=1.0 +(MathLog( length)+ LOG_2 )/MathLog( 2 * g_period_minus_1);

For those interested in more details, feel free to swing by my blog: Fractal Finance.

Now, let’s take a look at how this indicator performs. Here’s a snapshot of the FGDI on a daily chart for EUR/USD. The lower window displays the original fractal dimension by iliko, while the moving average represents the FRASMA I shared earlier:

FGDI on EUR/USD Daily Chart

Happy trading, and may your charts always be in your favor!

Related Posts

Comments (0)