OPEN-SOURCE SCRIPT
Cập nhật Income ETF vs Benchmark Comparator

Compare the performance of income/covered call ETFs (JEPI, JEPQ, QYLD, QQQI, XYLD, SPYI) against their benchmark ETFs (SPY, QQQ) to determine if income strategies outperform buy-and-hold.
Features:
How to Use:
Ideal for investors evaluating whether income ETF strategies justify their NAV decay compared to traditional index investing.
Features:
- Total Returns: Year-by-year and period total returns (price appreciation + dividends, non-reinvested)
- Dividend Yields: Annual dividend percentages for both income and benchmark ETFs
- NAV Decay: Measures underperformance of income ETF vs benchmark
- Dividend Extraction Analysis: Shows hypothetical benchmark returns if you extracted the same dividends by selling shares
- Sharpe Ratios: Risk-adjusted returns for performance comparison
- Predefined Pairs: Quick selection of common comparisons or custom symbol input
- Customizable Display: Adjustable table position and font size
How to Use:
- Select a comparison pair (e.g., "JEPI vs SPY") or choose "Custom" to compare any two symbols
- Also put the ticker in analysis in the chart and 1D time frame
- Review yearly performance, dividends, and risk metrics in the table
Ideal for investors evaluating whether income ETF strategies justify their NAV decay compared to traditional index investing.
Phát hành các Ghi chú
Release Notes — Latest Version:Added DRIP return comparisons for both the income ETF and benchmark.
Added DRIP Edge to show which strategy performs better with reinvestment.
Added an equal-cash-flow simulation, where benchmark dividends and share sales match the income ETF’s distributions.
Added Value Left, Index + Sell Edge, and Index Shares Sold metrics.
Added optional, easy-to-understand column explanations.
Added a toggleable Potential Tax Edge assessment with taxable, Traditional IRA/401(k), and Roth IRA settings.
Expanded support for broad-index, 0DTE, single-stock, leveraged WeeklyPay, and Bitcoin-income ETFs.
Improved table labels, formatting, position, font-size, and yearly-history controls.
Fixed Pine Script tuple syntax and dividend lookahead issues.
Requires a standard 1-day chart, preferably using the selected income ETF as the chart symbol.
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.
Hedge Fund Manager at Maverick Capital | Wealth Educator | 20+ yrs investing | Stocks, ETFs & Crypto alerts | Join Henrique Wealth Academy for trade alerts & indicators → skool.com/be-limitless/
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.
Hedge Fund Manager at Maverick Capital | Wealth Educator | 20+ yrs investing | Stocks, ETFs & Crypto alerts | Join Henrique Wealth Academy for trade alerts & indicators → skool.com/be-limitless/
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.