New free code from MQL5: indicators, EAs, and scripts for traders.
Real author:
Gosha
A fractal (by Bill Williams) is the formation of five candlesticks (bars), in which the average candlestick has the highest high (lowest low).
Watch in-depth trading tutorials and EA reviews on the RobotFX YouTube channel. Subscribe for free tips.
This indicator draws the fractal arrow based on three candlesticks only (not five).
This indicator was first implemented in MQL4 and published in the Code Base at mql4.com on 05.02.2008.

The LW_Fractals indicator
Complement community code with advanced automation from RobotFX.
1937