OPEN-SOURCE SCRIPT
Обновлено ST Fractals With Percentage Difference

This indicator identifies Williams Fractals on your price chart, helping traders spot potential reversal points and short-term highs and lows. This changes default value to 1 and adds percentage difference similar to ST Fractals option on MT5
How It Works:
Up Fractals (▲): Plotted above a candle that is higher than its surrounding candles — a potential short-term top.
Down Fractals (▼): Plotted below a candle that is lower than its surrounding candles — a potential short-term bottom.
Fractals are only drawn if the price difference from the next candle exceeds a minimum percentage, to avoid signals caused by small fluctuations.
The script ensures that both up and down fractals never appear on the same candle, keeping your chart clear.
Settings:
Periods (n): Determines how many candles before and after are considered to find a fractal. Default: 2.
Min % Difference: Filters out insignificant fractals by requiring a minimum difference from the next candle. Default: 0.01%.
Usage Tips:
Can be used to identify support and resistance levels.
Often combined with trend indicators or moving averages to confirm reversals.
Works best in markets with clear trends or volatility, rather than very flat markets.
Visuals:
Green triangle ▲ → Up Fractal (potential top)
Red triangle ▼ → Down Fractal (potential bottom)
How It Works:
Up Fractals (▲): Plotted above a candle that is higher than its surrounding candles — a potential short-term top.
Down Fractals (▼): Plotted below a candle that is lower than its surrounding candles — a potential short-term bottom.
Fractals are only drawn if the price difference from the next candle exceeds a minimum percentage, to avoid signals caused by small fluctuations.
The script ensures that both up and down fractals never appear on the same candle, keeping your chart clear.
Settings:
Periods (n): Determines how many candles before and after are considered to find a fractal. Default: 2.
Min % Difference: Filters out insignificant fractals by requiring a minimum difference from the next candle. Default: 0.01%.
Usage Tips:
Can be used to identify support and resistance levels.
Often combined with trend indicators or moving averages to confirm reversals.
Works best in markets with clear trends or volatility, rather than very flat markets.
Visuals:
Green triangle ▲ → Up Fractal (potential top)
Red triangle ▼ → Down Fractal (potential bottom)
Информация о релизе
change the short nameИнформация о релизе
change default inputСкрипт с открытым кодом
В истинном духе TradingView автор этого скрипта опубликовал его с открытым исходным кодом, чтобы трейдеры могли понять, как он работает, и проверить на практике. Вы можете воспользоваться им бесплатно, но повторное использование этого кода в публикации регулируется Правилами поведения.
Отказ от ответственности
Все виды контента, которые вы можете увидеть на TradingView, не являются финансовыми, инвестиционными, торговыми или любыми другими рекомендациями. Мы не предоставляем советы по покупке и продаже активов. Подробнее — в Условиях использования TradingView.
Скрипт с открытым кодом
В истинном духе TradingView автор этого скрипта опубликовал его с открытым исходным кодом, чтобы трейдеры могли понять, как он работает, и проверить на практике. Вы можете воспользоваться им бесплатно, но повторное использование этого кода в публикации регулируется Правилами поведения.
Отказ от ответственности
Все виды контента, которые вы можете увидеть на TradingView, не являются финансовыми, инвестиционными, торговыми или любыми другими рекомендациями. Мы не предоставляем советы по покупке и продаже активов. Подробнее — в Условиях использования TradingView.