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. קרא עוד ב־תנאי השימוש.