INVITE-ONLY SCRIPT

Auto-Zones (Fixed / Anchored Range)

108
Title:
Auto-Zones (Fixed / Anchored Range) – Customizable Price Level Visualization

Description:
The Auto-Zones (Fixed / Anchored Range) indicator automatically plots key price levels based on a user-defined time range. It provides traders with a clear visual representation of average prices or fractions within a fixed or anchored range, helping to identify support, resistance, and potential breakout areas.

Key Features:
• Flexible Range Modes:
 ‣ Fixed Range – Plot averages only between a specific start and end date/time.
 ‣ Anchored – Plot averages from a start date/time extending indefinitely.

• Multiple Measurement Options:
 ‣ Loopback – Calculates averages over a set number of bars.
 ‣ Fraction – Divides the range into equal fractions for detailed zone mapping.

• Price Source Selection:
 ‣ Choose from Open, Close, High, Low, Midpoint, or High & Low for customized analysis.

• Automatic Zone Plotting:
 ‣ Lines are plotted at calculated averages or fractional levels, extended to the right for continuous reference.

• Fully Customizable Style:
 ‣ Line color and width are adjustable to suit chart preferences.

Inputs & Settings:
• Start/End Date & Time – Define the range for averaging or anchoring.
• Range Mode – Fixed or Anchored.
• Measurement Mode – Loopback bars or fractional divisions.
• Loopback Length – Number of bars for Loopback mode.
• Fractions – Number of levels for Fraction mode.
• Price Source – Determines which price data to use.
• Line Color & Width – Visual customization options.

Usage:
This indicator helps traders:
• Visualize key price levels for support/resistance analysis.
• Identify average price areas within a custom time range.
• Use fixed or anchored ranges for intraday, swing, or long-term analysis.
• Quickly see fractional zones for precise entry or exit planning.

Technical Notes:
• Anchored ranges extend indefinitely from the start date; adjust the start date to reset levels.
• Loopback mode averages only complete bar sets; fractional mode divides the total range into equal parts.
• Works best on standard OHLC charts; ensure proper date/time inputs for accurate plotting.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.