I am not sure if iFractals is really the Fractal indicator, as MT4 often calculates indicators differently. The Fractal indicator needs a time period, which is just the number of bars from which the fractal is taken. The fact that this is missing in the MT4 version is suspicious. So please check what iFractals is doing at all and which time period it uses.

The "3" shift parameter in the iFractal example is the same as adding a "+2" to a series, like this:

UpFractal = FractalHigh(series(price())+2,5);

The source code of FractalHigh can be found in the indicators.c file.