PROTECTED SOURCE SCRIPT
ATR Trade Plan Tool

Overview
This indicator is a trade management tool designed to help traders visualize volatility-based targets and stop-losses instantly. By anchoring calculations to the Daily Opening Price and the Average True Range (ATR), it projects objective, mathematical support and resistance levels for the current session.
How It Works
The script detects the start of the trading day (or a manually defined period) and draws a vertical marker. From there, it projects horizontal lines representing key multiples of the ATR:
Green Line: Opening Price (The baseline).
Blue Lines (Targets): +0.5 ATR, +1.0 ATR, and +2.0 ATR. These serve as dynamic profit-taking zones based on current market volatility.
Orange Line (Stop Loss): -2.0 ATR. A standard volatility-based stop level.
Red Line (Emergency Exit): -3.0 ATR. A level indicating extreme adverse moves.
Key Features
Auto or Manual Mode: By default, the script automatically fetches the Daily Open and ATR-14. However, users can manually input a specific Opening Price or ATR value in settings to simulate trade plans or override automatic data.
Clean Visuals: Uses the Drawing API to plot lines only on the current/last bar, keeping historical price action clean and uncluttered.
Text Customization: Users can align text to the Right, Left, or Center, adjust the offset distance, and change text size to fit their chart layout.
Flexible Alerts: Includes a dedicated "Alert Configuration" menu. Users can toggle alerts on/off for individual lines (e.g., enable the Stop Loss alert but disable the +0.5 ATR alert). All enabled settings work via a single "Any alert() function call."
Settings
Values: Input custom Open/ATR prices (leave at 0 for automatic).
Text & Alignment: Adjust label position, offset, and size.
Alert Configuration: Checkboxes to enable/disable alerts for specific price levels.
Methodology The levels are calculated using the standard formula: Level = Opening Price + (Multiplier * ATR)
This indicator is a trade management tool designed to help traders visualize volatility-based targets and stop-losses instantly. By anchoring calculations to the Daily Opening Price and the Average True Range (ATR), it projects objective, mathematical support and resistance levels for the current session.
How It Works
The script detects the start of the trading day (or a manually defined period) and draws a vertical marker. From there, it projects horizontal lines representing key multiples of the ATR:
Green Line: Opening Price (The baseline).
Blue Lines (Targets): +0.5 ATR, +1.0 ATR, and +2.0 ATR. These serve as dynamic profit-taking zones based on current market volatility.
Orange Line (Stop Loss): -2.0 ATR. A standard volatility-based stop level.
Red Line (Emergency Exit): -3.0 ATR. A level indicating extreme adverse moves.
Key Features
Auto or Manual Mode: By default, the script automatically fetches the Daily Open and ATR-14. However, users can manually input a specific Opening Price or ATR value in settings to simulate trade plans or override automatic data.
Clean Visuals: Uses the Drawing API to plot lines only on the current/last bar, keeping historical price action clean and uncluttered.
Text Customization: Users can align text to the Right, Left, or Center, adjust the offset distance, and change text size to fit their chart layout.
Flexible Alerts: Includes a dedicated "Alert Configuration" menu. Users can toggle alerts on/off for individual lines (e.g., enable the Stop Loss alert but disable the +0.5 ATR alert). All enabled settings work via a single "Any alert() function call."
Settings
Values: Input custom Open/ATR prices (leave at 0 for automatic).
Text & Alignment: Adjust label position, offset, and size.
Alert Configuration: Checkboxes to enable/disable alerts for specific price levels.
Methodology The levels are calculated using the standard formula: Level = Opening Price + (Multiplier * ATR)
受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由使用,沒有任何限制 — 點擊此處了解更多。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。
受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由使用,沒有任何限制 — 點擊此處了解更多。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。