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.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.