OPEN-SOURCE SCRIPT
已更新

Key Price Levels + Zones

2 141
"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.
版本注释
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.
版本注释
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).

免责声明

这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。