OPEN-SOURCE SCRIPT
업데이트됨

XAU/USD Custom Levels

1 156

XAU/USD Dynamic Support & Resistance Levels

This indicator automatically draws horizontal support and resistance levels for Gold (XAU/USD) based on the current market price, eliminating the need for manual price range adjustments.

**Key Features:**
- **Dynamic Price Range**: Automatically calculates levels above and below the current price using a customizable percentage range (default 5%)
- **Multi-Tier Level System**: Four distinct level types with different visual styling:
- Major Levels (100s) - Blue, thick lines
- Sub Levels (50s) - Red, medium lines
- Sub-Sub Levels (25s) - Yellow, thin lines
- Mini Levels (12.5s) - Gray, dotted lines
- **Fully Customizable**: Adjust range percentage, step size, colors, and line history through input settings
- **Universal Compatibility**: Works at any gold price level - whether $1800, $2500, $3300 or beyond

**How It Works:**
The script centers the level grid around the current closing price and extends lines from a specified number of bars back to the right edge of the chart. The hierarchical level system helps identify key psychological price points and potential support/resistance zones commonly used in gold trading.

**Settings:**
- Price Range %: Control how far above/below current price to draw levels (1-20%)
- Level Step Size: Adjust spacing between levels (1.0-50.0)
- Bars Back: Set how far back in history to start the lines
- Color Customization: Personalize colors for each level type

Perfect for gold traders who need clean, automatically-updating support and resistance levels without manual configuration.
릴리즈 노트
This Pine Script indicator is designed to automatically draw custom price levels on the XAU/USD (Gold) chart. It helps traders visualize potential support and resistance zones by plotting horizontal lines at specific intervals.

Key Features:

Automatic Level Generation: The indicator calculates and draws price levels based on the current market price, ensuring the lines are always relevant to the current trading range.

Customizable Intervals: You can adjust the "Level Step Size" to control the distance between each horizontal line (e.g., 10, 25, 50).

Tiered Line Colors and Thickness: The script uses different colors and line thicknesses to distinguish between major, sub, and mini levels (e.g., 100s, 50s, and 25s), making the chart easy to read.

User-Defined Range: The "Price Range %" setting allows you to specify how far above and below the current price the levels should be drawn.

Adjustable Line Appearance: You can customize the colors and thickness of each level type directly from the indicator's settings to match your preferred chart theme.

This tool is ideal for traders who use a structured approach to market analysis and want to quickly identify potential price targets or key psychological levels on the Gold chart.

면책사항

이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.