OPEN-SOURCE SCRIPT
MechArt ATR Box 12 V1.1

MechArt ATR Box 12 V1.1 — Auto ATR Edition
Overview:
The MechArt ATR Box 12 is a precision visualization tool for tracking ATR-based trade levels across multiple tickers. It automatically plots your +1 ATR roll zone, -2 ATR stop, and -3 ATR emergency exit, providing a clear visual map of your trade’s range and time horizon.
Key Features:
Auto ATR on Entry Date: For each configured ticker, the indicator automatically pulls the historical ATR(14) value that matches your entry date — no manual ATR entry needed. This refreshes each time the ticker is revisited.
Smart Defaults for Other Tickers:
If a ticker isn’t listed in the code, the indicator defaults to your current price as the entry, calculates ATR live, and sets expiration 21 days out, aligned to the next Friday.
Multi-Ticker Setup (12 Slots):
You can predefine up to 12 tickers inside the code, each with its own entry price, entry date and expiration date. Once saved, the indicator recognizes and loads them automatically when you open that chart.
Customizable Appearance:
Adjustable opacity and colors for each ATR box
Line width, style, and transparency controls
DTE/ATR label with adjustable font size
Dynamic Labels:
Displays the remaining days to expiration (DTE) and the ATR value used for calculations.
Use Case:
Designed for swing traders and options traders managing multiple active tickers. Each ATR box visually represents your trade window — from entry through expiration — with clear risk and roll boundaries.
How It Works:
Simply open the code once and enter your 12 tickers, each with its entry date and price. The script handles ATR lookups and expiration alignment automatically. Any ticker not included will generate its own default 21-day box.
Overview:
The MechArt ATR Box 12 is a precision visualization tool for tracking ATR-based trade levels across multiple tickers. It automatically plots your +1 ATR roll zone, -2 ATR stop, and -3 ATR emergency exit, providing a clear visual map of your trade’s range and time horizon.
Key Features:
Auto ATR on Entry Date: For each configured ticker, the indicator automatically pulls the historical ATR(14) value that matches your entry date — no manual ATR entry needed. This refreshes each time the ticker is revisited.
Smart Defaults for Other Tickers:
If a ticker isn’t listed in the code, the indicator defaults to your current price as the entry, calculates ATR live, and sets expiration 21 days out, aligned to the next Friday.
Multi-Ticker Setup (12 Slots):
You can predefine up to 12 tickers inside the code, each with its own entry price, entry date and expiration date. Once saved, the indicator recognizes and loads them automatically when you open that chart.
Customizable Appearance:
Adjustable opacity and colors for each ATR box
Line width, style, and transparency controls
DTE/ATR label with adjustable font size
Dynamic Labels:
Displays the remaining days to expiration (DTE) and the ATR value used for calculations.
Use Case:
Designed for swing traders and options traders managing multiple active tickers. Each ATR box visually represents your trade window — from entry through expiration — with clear risk and roll boundaries.
How It Works:
Simply open the code once and enter your 12 tickers, each with its entry date and price. The script handles ATR lookups and expiration alignment automatically. Any ticker not included will generate its own default 21-day box.
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.