ownsov

OS Fractals

An up fractal is formed when a high is both preceded and followed by lower highs. A down fractal is formed when a low is both preceded and followed by higher lows.

Bill Williams uses a period of 2 (2 after and 2 before) to define a fractal. This indicator has 2 as default but lets you decide the range you want.

The indicator lets you also select alerts when price crosses an up of down fractal, which would usually mean to entry a position. This indicator works best when used with an alligator, as long signals are valid above the Balance Line and short signals are valid when triggered below the Balance Line.

Any comments for improvement are welcome.

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?