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.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.