OPEN-SOURCE SCRIPT
Otomatik Fibonacci Pro [OsmnBayram]

Auto Fibonacci Pro — Automatic Trend-Aware Fibonacci Levels
Auto Fibonacci Pro automatically detects the most recent significant swing high and swing low using pivot logic, then plots a complete set of Fibonacci retracement and extension levels — no manual drawing required. The tool reads the direction of the active leg (up or down) and orients the levels accordingly, so your Fibonacci stays correct as the market structure changes.
Key features:
Fully automatic swing detection with adjustable sensitivity (left/right pivot bars)
Trend-aware orientation — anchors flip automatically between bullish and bearish legs
Retracement levels: 0, 0.236, 0.382, 0.5, 0.618, 0.786, 1.0
Extension levels: 1.272, 1.414, 1.618, 2.0, 2.618 (each level can be toggled and recolored)
Golden Pocket highlight (0.618–0.65) for the most-watched reaction zone
Shaded zone fills, customizable labels (ratio, percentage, price), line style and width
Info table showing trend direction, swing high/low, range, and key level prices
Built-in alerts for crosses of the 0.5 / 0.618 / 0.786 levels and for new swing formation
How to use:
Increase the Left/Right Bar values to capture larger, more meaningful swings; decrease them for faster, more reactive levels. Higher values suit higher timeframes. The 0.618 level and the Golden Pocket zone are commonly watched for pullback entries, while the extension levels can serve as profit targets.
This script is for educational purposes and is not financial advice. Always combine with your own analysis and risk management.
Auto Fibonacci Pro automatically detects the most recent significant swing high and swing low using pivot logic, then plots a complete set of Fibonacci retracement and extension levels — no manual drawing required. The tool reads the direction of the active leg (up or down) and orients the levels accordingly, so your Fibonacci stays correct as the market structure changes.
Key features:
Fully automatic swing detection with adjustable sensitivity (left/right pivot bars)
Trend-aware orientation — anchors flip automatically between bullish and bearish legs
Retracement levels: 0, 0.236, 0.382, 0.5, 0.618, 0.786, 1.0
Extension levels: 1.272, 1.414, 1.618, 2.0, 2.618 (each level can be toggled and recolored)
Golden Pocket highlight (0.618–0.65) for the most-watched reaction zone
Shaded zone fills, customizable labels (ratio, percentage, price), line style and width
Info table showing trend direction, swing high/low, range, and key level prices
Built-in alerts for crosses of the 0.5 / 0.618 / 0.786 levels and for new swing formation
How to use:
Increase the Left/Right Bar values to capture larger, more meaningful swings; decrease them for faster, more reactive levels. Higher values suit higher timeframes. The 0.618 level and the Golden Pocket zone are commonly watched for pullback entries, while the extension levels can serve as profit targets.
This script is for educational purposes and is not financial advice. Always combine with your own analysis and risk management.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que cualquier republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que cualquier republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.