OPEN-SOURCE SCRIPT
AutoFibLevels - Horizontal Only

AutoFib Levels – Horizontal Only
Automatic Fibonacci retracement and extension levels calculated dynamically from the highest high and lowest low over a lookback period that adapts to your current timeframe.
Unlike most AutoFib indicators, this version displays only clean horizontal price lines with colored fill zones between levels — no diagonal or stepping lines cluttering the chart as price moves.
Levels plotted:
Extensions: 1.618, 1.272, 1.0
Retracements: 0.786, 0.618, 0.5, 0.382, 0.236, 0.0
Downside extensions: -0.238 through -1.618
Features:
Color-coded zones between each level for instant visual reference
Fully customizable lookback lengths for every timeframe (1m through Monthly)
Configurable high/low source inputs
Clean price axis labels with no duplicates
You will need to click "Lock vertical cursor line by time" in the chart settings. Right-click on your chart to find and select this setting
Automatic Fibonacci retracement and extension levels calculated dynamically from the highest high and lowest low over a lookback period that adapts to your current timeframe.
Unlike most AutoFib indicators, this version displays only clean horizontal price lines with colored fill zones between levels — no diagonal or stepping lines cluttering the chart as price moves.
Levels plotted:
Extensions: 1.618, 1.272, 1.0
Retracements: 0.786, 0.618, 0.5, 0.382, 0.236, 0.0
Downside extensions: -0.238 through -1.618
Features:
Color-coded zones between each level for instant visual reference
Fully customizable lookback lengths for every timeframe (1m through Monthly)
Configurable high/low source inputs
Clean price axis labels with no duplicates
You will need to click "Lock vertical cursor line by time" in the chart settings. Right-click on your chart to find and select this setting
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。