OPEN-SOURCE SCRIPT

Fractals

190
This indicator is based on the classic Williams Fractals concept. It scans the price chart to identify potential reversal points by looking for fractal patterns in the highs and lows. Here's what it does:

Customizable Periods: You can set the number of bars (using the n input) that the indicator examines on both sides of a central bar.
Up Fractals: An up fractal is detected when the current bar's high is higher than the highs of the preceding n bars, and it is also confirmed by additional conditions checking the following bars.

Down Fractals: Similarly, a down fractal is identified when the current bar's low is lower than the lows of the preceding n bars, with further validation from subsequent bars.

Visual Markers: Once identified, up fractals are marked by a small upward-pointing triangle above the bar, while down fractals are marked by a small downward-pointing triangle below the bar. The shapes are kept minimal (using size.auto) to avoid cluttering the chart.

This setup helps traders spot potential support and resistance areas, providing visual cues for possible trend reversals.

Feragatname

Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.