OPEN-SOURCE SCRIPT

TraderDemircan (Triz Global) Automatic Extend Fibonacci

80
Description
What This Indicator Does:
This indicator automatically identifies the most significant swing low and swing high points within a customizable lookback period and plots comprehensive Fibonacci retracement and extension levels between them. Unlike manual Fibonacci tools, this script continuously updates the levels based on the most recent price action, making it ideal for traders who want to identify key support/resistance zones without constantly redrawing Fibonacci levels.
Key Features:

Automatic Swing Point Detection: Scans the specified lookback period to find the lowest low (starting point) and the highest high (ending point) to establish the Fibonacci range
Comprehensive Level Coverage: Plots 18 Fibonacci levels ranging from 0.0 (minimum) to 3.618 (maximum extension), including standard retracement levels (0.236, 0.382, 0.5, 0.618, 0.786) and popular extension levels (1.272, 1.414, 1.618, 2.0, 2.272, 2.382, 2.618, 3.0, 3.272, 3.618)
Visual Clarity: Each level is color-coded and can be individually toggled on/off for cleaner charts
Price and Percentage Labels: Shows both the actual price level and the Fibonacci percentage for easy reference
Flexible Display Options: Customize line width, style (solid/dashed/dotted), and extension direction
Dynamic Updates: Automatically recalculates levels as new price data becomes available

How It Works:
The indicator uses a left-to-right methodology, starting from the swing low (marked as 0.0 with a green diamond) and extending to the swing high (marked as 1.0 with a blue diamond). This approach follows natural price movement and makes the Fibonacci levels intuitive to read. The algorithm:

Identifies the lowest point within the lookback period (this becomes the 0.0 level)
Finds the highest point that occurred after the low point (this becomes the 1.0 level)
Calculates all retracement levels (0.0-1.0) and extension levels (above 1.0) based on this range
Plots horizontal lines with customizable styling and labels

How to Use:

For Retracement Trading: Watch for price reactions at key levels like 0.382, 0.5, and 0.618 (the Golden Ratio) during pullbacks in an uptrend
For Extension Targets: Use levels above 1.0 (especially 1.272, 1.414, and 1.618) to project potential profit targets
Adjust Sensitivity: Increase the "Pivot Sensibility" parameter for major swings only, or decrease it to capture more frequent price movements
Customize Lookback: Shorter periods (50-100 bars) work well for intraday trading, while longer periods (200-500 bars) suit swing trading and position trading

Settings:

Lookback Period: Controls how many candles back to search (10-500)
Pivot Sensibility: Determines the strength required to identify swing points (1-20)
Individual Level Toggles: Enable/disable any of the 18 Fibonacci levels
Visual Customization: Change colors, line thickness (1-5), and line style for each level
Label Options: Toggle price labels and percentage labels independently
Extension Controls: Choose to extend lines left, right, or both directions

What Makes This Original:
This indicator combines automatic swing detection with an extensive range of Fibonacci levels (18 total) that go well beyond the standard retracement tool. The left-to-right calculation methodology ensures logical level placement, while the comprehensive customization options allow traders to adapt the visual presentation to their specific trading style and chart setup.
Note: This indicator is designed for visual analysis and does not generate buy/sell signals. It's a tool to help identify potential support/resistance zones based on Fibonacci ratios. Always combine with other technical analysis methods and proper risk management.

Thông báo miễn trừ trách nhiệm

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.