Adjustable Fractal MT4
- Indicators
- Dmitry Timin
- Version: 1.1
- Updated: 18 December 2021
Adjustable Fractal MT4 is a modification of Bill Williams' Fractals indicator.
The fractal consists of a two sets of arrows - up (upper fractals) and down (lower fractals). Each fractal satisfies the following conditions:
- Upper fractal - maximum (high) of a signal bar exceeds or is equal to maximums of all bars from the range to the left and to the right;
- Lower fractal - minimum (low) of a signal bar is less or equal to minimums of all bars from the range to the left and to the right.
Unlike a standard indicator, Adjustable Fractal allows setting the number of bars to find fractals to the left and to the right of desired bars. This allows to flexibly determine the presence of fractals, for example during a long upward or downward movement.
Inputs
- barsBefore - number of bars before a fractal used in calculation;
- barsAfter - number of bars after a fractal used in calculation;
- style - signal style (arrows, diamonds, squares, circles);
- arrowOffset - offset of the array from the bar's High/Low in points.
You can set the arrows' color and size separately for upper and lower fractals on Colors tab.
Perfect indicator. I found the setting: (Bar before= 5 and Bar after=2) to be the most accurate for the timeframes I use (5m,15m,1H).