OPEN-SOURCE SCRIPT

EY Dashboard

43
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).

คำจำกัดสิทธิ์ความรับผิดชอบ

ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน