OPEN-SOURCE SCRIPT
Telah dikemas kini

Daily ATR Zones

606

Dynamic Daily ATR Projection Zones

### **Description:**

This indicator projects potential price levels for the current trading day based on the Average True Range (ATR) of the previous day. It is designed to help intraday traders visualize daily volatility and identify key potential support, resistance, or target levels that are fixed for the entire session and do not repaint.

**How It Works**

The logic is based on two key components: a stable base price and a reliable volatility measure.

* **Base Price:** The indicator uses the **Open price of the current day** as the central anchor point for all projections.
* **Volatility Measure:** The calculation uses the final, completed **ATR value from the previous day**. This ensures that the projected zones are constant throughout the current trading day and are not subject to repainting.

The projection levels are then calculated using the formula:
`Current Day's Open + (Previous Day's ATR * Multiplier)`

**Features**

This script is fully customizable to fit your trading style:

* **Customizable ATR Multipliers:** Easily define your own price zones by entering a comma-separated list of multipliers (e.g., `0.5, 1.0, 1.5, -0.5, -1.0`).
* **Dynamic & Movable Labels:** The price labels are designed to stay on the right edge of the chart, ensuring they never obscure the current price action.
* **Adjustable Label Position:** Use the "Label Horizontal Offset" setting to control how far the labels are positioned from the current bar, keeping your chart clean.
* **Adjustable Label Size:** Choose from five different sizes (Tiny, Small, Normal, Large, Huge) to ensure the labels are perfectly readable on any device.
* **Toggle Labels:** You can turn all labels on or off with a single checkbox.
* **Full Color Customization:** Set unique colors for the positive (upper), negative (lower), and neutral projection zones.

**How to Use**

This tool can be integrated into various intraday trading strategies:

* **Intraday Targets:** The projected levels can serve as potential take-profit or stop-loss targets for scalpers and day traders.
* **Support & Resistance:** Watch for price reactions, such as bounces or rejections, at these ATR levels, as they often act as dynamic support and resistance zones.
* **Volatility Gauge:** The zones provide a quick visual reference for how far the price has moved relative to its recent average daily range. For example, if the price reaches the `1.0 ATR` level, it has completed an "average" day's move.
Nota Keluaran


This indicator projects potential price levels for the current trading day based on the Average True Range (ATR) of the previous day. It is designed to help intraday traders visualize daily volatility and identify key potential support, resistance, or target levels that are fixed for the entire session and do not repaint.

**How It Works**

The logic is based on two key components: a stable base price and a reliable volatility measure.

* **Base Price:** The indicator uses the **Open price of the current day** as the central anchor point for all projections.
* **Volatility Measure:** The calculation uses the final, completed **ATR value from the previous day**. This ensures that the projected zones are constant throughout the current trading day and are not subject to repainting.

The projection levels are then calculated using the formula:
`Current Day's Open + (Previous Day's ATR * Multiplier)`

**Features**

This script is fully customizable to fit your trading style:

* **Customizable ATR Multipliers:** Easily define your own price zones by entering a comma-separated list of multipliers (e.g., `0.5, 1.0, 1.5, -0.5, -1.0`).
* **Dynamic & Movable Labels:** The price labels are designed to stay on the right edge of the chart, ensuring they never obscure the current price action.
* **Adjustable Label Position:** Use the "Label Horizontal Offset" setting to control how far the labels are positioned from the current bar, keeping your chart clean.
* **Adjustable Label Size:** Choose from five different sizes (Tiny, Small, Normal, Large, Huge) to ensure the labels are perfectly readable on any device.
* **Toggle Labels:** You can turn all labels on or off with a single checkbox.
* **Full Color Customization:** Set unique colors for the positive (upper), negative (lower), and neutral projection zones.

**How to Use**

This tool can be integrated into various intraday trading strategies:

* **Intraday Targets:** The projected levels can serve as potential take-profit or stop-loss targets for scalpers and day traders.
* **Support & Resistance:** Watch for price reactions, such as bounces or rejections, at these ATR levels, as they often act as dynamic support and resistance zones.
* **Volatility Gauge:** The zones provide a quick visual reference for how far the price has moved relative to its recent average daily range. For example, if the price reaches the `1.0 ATR` level, it has completed an "average" day's move.

** Cosmetic update
Nota Keluaran
Description:
Overview

This script calculates and plots price projection zones based on the daily Average True Range (ATR). The zones are calculated once at the beginning of the daily session and remain fixed, ensuring they do not repaint. The purpose is to provide a static map of volatility-based price levels relative to the day's open.

Calculation Method

The indicator's calculation is based on the following components:

Base Price: The opening price of the current daily session.

Volatility Input: The final, closed ATR value from the previous daily session.

Formula: The script uses the formula Current Day Open + (Previous Day ATR * Multiplier) to determine the price for each zone line.

Features and Settings

The indicator includes several settings for customization:

ATR Multipliers: A user-defined, comma-separated string to set the desired ATR levels (e.g., 0.5, 1.0, -0.5, -1.0).

Labels: Labels can be toggled on or off. They are designed to stay positioned on the right side of the chart to avoid obscuring price bars.

Label Horizontal Offset: An integer input to adjust the horizontal distance of the labels from the most recent bar.

Label Size: A dropdown menu to select the font size of the labels.

Colors: Customizable colors for the upper (positive) and lower (negative) zone lines.

* Rewrite Description + added historical lines and labels
Nota Keluaran
Add Table, MA selection and some cosmetics
Nota Keluaran
Fixed typo

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.