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
Skrip open-source
Dengan semangat TradingView yang sesungguhnya, pembuat skrip ini telah menjadikannya sebagai sumber terbuka, sehingga para trader dapat meninjau dan memverifikasi fungsinya. Salut untuk penulisnya! Meskipun Anda dapat menggunakannya secara gratis, perlu diingat bahwa penerbitan ulang kode ini tunduk pada Tata Tertib kami.
Pernyataan Penyangkalan
Informasi dan publikasi ini tidak dimaksudkan, dan bukan merupakan, saran atau rekomendasi keuangan, investasi, trading, atau jenis lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Ketentuan Penggunaan.
Skrip open-source
Dengan semangat TradingView yang sesungguhnya, pembuat skrip ini telah menjadikannya sebagai sumber terbuka, sehingga para trader dapat meninjau dan memverifikasi fungsinya. Salut untuk penulisnya! Meskipun Anda dapat menggunakannya secara gratis, perlu diingat bahwa penerbitan ulang kode ini tunduk pada Tata Tertib kami.
Pernyataan Penyangkalan
Informasi dan publikasi ini tidak dimaksudkan, dan bukan merupakan, saran atau rekomendasi keuangan, investasi, trading, atau jenis lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Ketentuan Penggunaan.