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).
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.