OPEN-SOURCE SCRIPT
Telah dikemas kini Key Price Levels + Zones

"Support and resistance are rarely exact lines; hey are zones where price reacts."
This indicator upgrades standard horizontal levels by visualizing Liquidity Zones around the most critical intraday reference points: Pre-Market, Previous Day, and Previous Week Highs/Lows.
Unlike basic scripts that just draw thin lines, this tool combines the precision of exact price levels with the reality of market volatility. It offers deep customization, allowing you to separate line colors from zone colors, perfect for keeping your charts clean and professional.
Key Features
1. Dual Zone Logic (Dynamic Sizing)
• Price Tier Mode (Default): Zones are sized based on the asset price (e.g., higher-priced stocks get wider zones automatically). This mimics "psychological" levels.
• ATR Volatility Mode: Switches calculation to use the Average True Range (ATR). Zones expand during high volatility and contract during chop, adapting to the market conditions in real-time.
2. Ultimate Customization
• Separate Colors: You can finally set your Line Color (e.g., Bright Green) independently from your Zone Fill (e.g., Faint Grey).
• Individual Toggles: Turn the Line, Zone, or Label on/off individually for every single level.
• Line Styles: Differentiate daily levels (Solid) from weekly levels (Dashed) instantly.
3. The "Smart" Levels
• PM High/Low: Real-time Pre-Market tracking that freezes at the open.
• PD High/Low: Previous Day’s range.
• PW High/Low: Previous Week’s range (Critical for swing points).
---
Settings Guide
• Extension Style:
- Individual: Keeps history of levels for backtesting.
- Most Recent: Keeps the chart minimal by extending only today's levels.
• Zone Thickness Mode: Switch between "Price Tier" and "ATR Volatility".
• ATR Settings: Fully adjustable Length and Multiplier (when in ATR mode).
• Transparency: Global slider to control how subtle or bold the zones appear.
How to Trade This
• The "Trap": If price breaks a Line but fails to close outside the Zone, it is often a liquidity grab (fakeout).
• The Retest: Watch for price to break a level and use the Zone as a cushion for a bounce/retest entry.
This indicator upgrades standard horizontal levels by visualizing Liquidity Zones around the most critical intraday reference points: Pre-Market, Previous Day, and Previous Week Highs/Lows.
Unlike basic scripts that just draw thin lines, this tool combines the precision of exact price levels with the reality of market volatility. It offers deep customization, allowing you to separate line colors from zone colors, perfect for keeping your charts clean and professional.
Key Features
1. Dual Zone Logic (Dynamic Sizing)
• Price Tier Mode (Default): Zones are sized based on the asset price (e.g., higher-priced stocks get wider zones automatically). This mimics "psychological" levels.
• ATR Volatility Mode: Switches calculation to use the Average True Range (ATR). Zones expand during high volatility and contract during chop, adapting to the market conditions in real-time.
2. Ultimate Customization
• Separate Colors: You can finally set your Line Color (e.g., Bright Green) independently from your Zone Fill (e.g., Faint Grey).
• Individual Toggles: Turn the Line, Zone, or Label on/off individually for every single level.
• Line Styles: Differentiate daily levels (Solid) from weekly levels (Dashed) instantly.
3. The "Smart" Levels
• PM High/Low: Real-time Pre-Market tracking that freezes at the open.
• PD High/Low: Previous Day’s range.
• PW High/Low: Previous Week’s range (Critical for swing points).
---
Settings Guide
• Extension Style:
- Individual: Keeps history of levels for backtesting.
- Most Recent: Keeps the chart minimal by extending only today's levels.
• Zone Thickness Mode: Switch between "Price Tier" and "ATR Volatility".
• ATR Settings: Fully adjustable Length and Multiplier (when in ATR mode).
• Transparency: Global slider to control how subtle or bold the zones appear.
How to Trade This
• The "Trap": If price breaks a Line but fails to close outside the Zone, it is often a liquidity grab (fakeout).
• The Retest: Watch for price to break a level and use the Zone as a cushion for a bounce/retest entry.
Nota Keluaran
Changelog: v1.1 New Features & Improvements
- Horizontal Label Offset: Added a specific input "Move Label (Left/Right)" for every level where positive values move right and negative move left.
- Staggered Defaults: Default offsets are now staggered (PM +3, PD +8, PW +13) to automatically prevent labels from piling on top of each other.
- Default Zone Precision: Set default zone thickness to ATR Volatility (0.05 Multiplier) for tighter, more precise zones.
Nota Keluaran
Changelog v1.2- Added an automated Multi-Timeframe (MTF) engine to detect Supply and Demand zones.
- Replaced manual price inputs with algorithmic Swing High/Low detection.
- Added a new settings group named "Automated Day Trade Zones".
- Included a Timeframe Selector for zones (default set to 4-Hour/240min).
Nota Keluaran
Changelog- Smart SPY-to-Index Mapping: The indicator now has a "Mapping" mode specifically for indices like SPX that don't have their own pre-market data.
- Dynamic Price Conversion: Instead of a fixed number, the tool now looks at the closing prices of both SPY and SPX from yesterday. It uses that ratio to "translate" SPY's pre-market high and low into exact SPX price levels.
- Built-in Info Table: You can now toggle a small dashboard on your chart. It shows you the raw SPY prices, the calculated conversion ratio, and the final levels, so you can verify the math at a glance.
- Exchange Selection: You can now specify which exchange to pull SPY data from (like AMEX or NYSE) to ensure the data matches your preferred source.
- Integrated Levels: The converted SPY levels now replace the standard pre-market lines when mapping is turned on. This keeps your chart clean by using your existing "PM High" and "PM Low" settings for these new calculated levels.
- Improved Calculation Logic: The script now uses a "tracking" function that monitors pre-market activity bar-by-bar, ensuring it captures the absolute highest and lowest points of the early morning session more reliably.
- Advanced Tooltips: Added helpful descriptions inside the settings menu to explain exactly how the conversion math works if you ever need a refresher.
- One-Click Toggle: You can easily switch between "Native" pre-market (the chart's own data) and "Derived" pre-market (the calculated SPY data) using a single checkbox.
Nota Keluaran
- Fix for other tickers
Skrip sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.