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:

Happy trading, and may your charts always be in your favor!
Related Posts
- Unlocking MetaCOT 2: Your Ultimate CFTC Indicator Toolkit for MT4
- Unlocking the Power of Master Tools for MetaTrader 4
- Mastering the Open Range Breakout Indicator for MetaTrader 5
- Visualize Current Trends Across All Time Frames with This MetaTrader 4 Indicator
- ID Lite Info MA: A Comprehensive Indicator for MetaTrader 5