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が提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。