OPEN-SOURCE SCRIPT
Key-Levels - D/W/M High-Low + Fib + MA

🧭 Key-Levels – D/W/M High-Low + Fibonacci + Moving Averages
A complete multi-timeframe analysis toolkit that combines Daily, Weekly, and Monthly high/low levels, Fibonacci retracements, and customizable moving averages — all in one clean, efficient display.
Ideal for traders who want to identify key reaction zones, retracement levels, and trend alignment across multiple timeframes.
🔹 Features
1. Prior High/Low Levels
Plots Daily (PDH/PDL), Weekly (PWH/PWL), and Monthly (PMH/PML) key levels
Adjustable colors, styles (Solid / Dashed / Dotted), and line widths
Optional midline display for each timeframe
Displays live labels with price values and % difference from current close
Extend lines rightward to project future price interactions
2. Fibonacci Retracement
Auto-detects swing highs/lows using configurable pivot lengths
Smart pivot logic prioritizes major swings based on % span
Auto-orients retracements depending on trend direction
Customizable visibility and color for each Fibonacci level
Supports 0.236 → 1.618 levels, with optional auto-extension in uptrend scenarios
Displays ratio + price for each level label
3. Pivot Labels
Optionally show pivot high/low labels with customizable text and background colors
Independent control of left/right length and label style
4. Moving Averages
Up to three customizable MAs (default: 8 EMA, 21 EMA, 50 SMA)
Choose between EMA or SMA for each
Toggle individual or all moving averages
Adjustable lengths, colors, and line widths
5. Alerts
Built-in alert condition for price crossing a user-defined level
Clean alert message format with ticker symbol and live price
⚙️ Customization
Flexible style controls for lines, labels, and colors
Adjustable right-extension length for projecting levels
Font size and visibility toggles for all elements
Smart grouping for intuitive settings management
📈 Ideal For
Identifying key reversal or breakout zones
Spotting Fibonacci confluence between retracements and prior highs/lows
Tracking trend structure via multi-timeframe MAs
Swing traders, intraday traders, and technical analysts
💡 Summary
Key-Levels – D/W/M High-Low + Fib + MA is a professional-grade indicator designed to simplify complex multi-timeframe analysis.
It helps you see the bigger picture, find actionable zones, and trade with confidence.
🧩 Compatible with any market and timeframe.
A complete multi-timeframe analysis toolkit that combines Daily, Weekly, and Monthly high/low levels, Fibonacci retracements, and customizable moving averages — all in one clean, efficient display.
Ideal for traders who want to identify key reaction zones, retracement levels, and trend alignment across multiple timeframes.
🔹 Features
1. Prior High/Low Levels
Plots Daily (PDH/PDL), Weekly (PWH/PWL), and Monthly (PMH/PML) key levels
Adjustable colors, styles (Solid / Dashed / Dotted), and line widths
Optional midline display for each timeframe
Displays live labels with price values and % difference from current close
Extend lines rightward to project future price interactions
2. Fibonacci Retracement
Auto-detects swing highs/lows using configurable pivot lengths
Smart pivot logic prioritizes major swings based on % span
Auto-orients retracements depending on trend direction
Customizable visibility and color for each Fibonacci level
Supports 0.236 → 1.618 levels, with optional auto-extension in uptrend scenarios
Displays ratio + price for each level label
3. Pivot Labels
Optionally show pivot high/low labels with customizable text and background colors
Independent control of left/right length and label style
4. Moving Averages
Up to three customizable MAs (default: 8 EMA, 21 EMA, 50 SMA)
Choose between EMA or SMA for each
Toggle individual or all moving averages
Adjustable lengths, colors, and line widths
5. Alerts
Built-in alert condition for price crossing a user-defined level
Clean alert message format with ticker symbol and live price
⚙️ Customization
Flexible style controls for lines, labels, and colors
Adjustable right-extension length for projecting levels
Font size and visibility toggles for all elements
Smart grouping for intuitive settings management
📈 Ideal For
Identifying key reversal or breakout zones
Spotting Fibonacci confluence between retracements and prior highs/lows
Tracking trend structure via multi-timeframe MAs
Swing traders, intraday traders, and technical analysts
💡 Summary
Key-Levels – D/W/M High-Low + Fib + MA is a professional-grade indicator designed to simplify complex multi-timeframe analysis.
It helps you see the bigger picture, find actionable zones, and trade with confidence.
🧩 Compatible with any market and timeframe.
סקריפט קוד פתוח
ברוח TradingView אמיתית, היוצר של הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יכולים לבדוק ולאמת את הפונקציונליות שלו. כל הכבוד למחבר! למרות שאתה יכול להשתמש בו בחינם, זכור שפרסום מחדש של הקוד כפוף לכללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם אמורים להיות, ואינם מהווים, עצות פיננסיות, השקעות, מסחר או סוגים אחרים של עצות או המלצות שסופקו או מאושרים על ידי TradingView. קרא עוד בתנאים וההגבלות.
סקריפט קוד פתוח
ברוח TradingView אמיתית, היוצר של הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יכולים לבדוק ולאמת את הפונקציונליות שלו. כל הכבוד למחבר! למרות שאתה יכול להשתמש בו בחינם, זכור שפרסום מחדש של הקוד כפוף לכללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם אמורים להיות, ואינם מהווים, עצות פיננסיות, השקעות, מסחר או סוגים אחרים של עצות או המלצות שסופקו או מאושרים על ידי TradingView. קרא עוד בתנאים וההגבלות.