OPEN-SOURCE SCRIPT
EY Dashboard

The Easy Portfolio Dashboard is a high-performance, real-time monitoring tool designed for traders managing multiple positions. Unlike standard tables, this script is optimized using User-Defined Types (UDT) and Array-based rendering to ensure the lowest possible latency and 100% compliance with TradingView’s security-call limits. It allows you to track up to 24 symbols simultaneously, showing price action, volatility (ATR), relative volume, and upcoming earnings.
Key Features
Automatic Ticker Formatting: Strips exchange prefixes (e.g., BATS:, NASDAQ:) to keep your UI clean and focused on the ticker name.
Intelligent P&L Tracking: Real-time calculation of daily profit/loss based on your specific share quantities.
Volatility Alerts (ATR %): Visual color-coding (Green/Yellow/Red) based on the stock's current ATR relative to its price.
Earnings Countdown: Highlighted countdown timer for upcoming earnings reports, with red alerts when an event is less than 7 days away.
Net Worth Engine: A dedicated summary section that combines your current equity with a manual Cash (USD) input to track total account value.
How to Use
Ticker Input: Enter your symbols (e.g., AAPL, TSLA) and the number of shares you own in the Inputs tab.
Cash Settings: Enter your current uninvested cash balance in the Cash Settings section to calculate your total Net Worth.
UI Customization:
Position: Choose between 9 different screen locations (Top Right, Bottom Center, etc.).
Minimal Mode: Toggle this to hide the detailed ticker list and show only the P&L and Net Worth summary.
Toggle Columns: Enable or disable columns for ATR, Volume, and Earnings as needed.
Technical Methodology
Data Sourcing: All data is fetched using request.security on a Daily ("D") timeframe.
Security Handling: The script uses a "Global Fetch" architecture. This satisfies the compiler requirement that security calls must be at the top level, while the UI is handled by a dynamic loop for efficiency.
ATR Calculation: Calculated as (ATR(14) / Price) * 100 to show the "expected move" as a percentage of the stock price.
Volume Analysis: Compares current volume to a 20-period SMA of volume to identify unusual activity.
Settings Glossary
ATR Red Threshold: The percentage at which the ATR emoji turns Red (High volatility/risk).
ATR Yellow Threshold: The percentage at which the ATR emoji turns Yellow (Moderate volatility).
Next ER: Displays the days remaining until the next Earnings Report. Cells turn red when an ER is imminent (within 1 week).
Key Features
Automatic Ticker Formatting: Strips exchange prefixes (e.g., BATS:, NASDAQ:) to keep your UI clean and focused on the ticker name.
Intelligent P&L Tracking: Real-time calculation of daily profit/loss based on your specific share quantities.
Volatility Alerts (ATR %): Visual color-coding (Green/Yellow/Red) based on the stock's current ATR relative to its price.
Earnings Countdown: Highlighted countdown timer for upcoming earnings reports, with red alerts when an event is less than 7 days away.
Net Worth Engine: A dedicated summary section that combines your current equity with a manual Cash (USD) input to track total account value.
How to Use
Ticker Input: Enter your symbols (e.g., AAPL, TSLA) and the number of shares you own in the Inputs tab.
Cash Settings: Enter your current uninvested cash balance in the Cash Settings section to calculate your total Net Worth.
UI Customization:
Position: Choose between 9 different screen locations (Top Right, Bottom Center, etc.).
Minimal Mode: Toggle this to hide the detailed ticker list and show only the P&L and Net Worth summary.
Toggle Columns: Enable or disable columns for ATR, Volume, and Earnings as needed.
Technical Methodology
Data Sourcing: All data is fetched using request.security on a Daily ("D") timeframe.
Security Handling: The script uses a "Global Fetch" architecture. This satisfies the compiler requirement that security calls must be at the top level, while the UI is handled by a dynamic loop for efficiency.
ATR Calculation: Calculated as (ATR(14) / Price) * 100 to show the "expected move" as a percentage of the stock price.
Volume Analysis: Compares current volume to a 20-period SMA of volume to identify unusual activity.
Settings Glossary
ATR Red Threshold: The percentage at which the ATR emoji turns Red (High volatility/risk).
ATR Yellow Threshold: The percentage at which the ATR emoji turns Yellow (Moderate volatility).
Next ER: Displays the days remaining until the next Earnings Report. Cells turn red when an ER is imminent (within 1 week).
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.