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. اقرأ المزيد في شروط الاستخدام.