OPEN-SOURCE SCRIPT

Yearly Return % (Day-to-Day)

97
How It Works:
It fetches the closing price from one year ago (using request.security with a daily lookback).
It calculates the percentage return relative to today’s closing price.
It plots the result in a separate pane.

Features:
Works on any timeframe but is more useful on daily or higher.
Automatically adjusts for different assets.
Zero Line for quick reference.
Clean, simple display without clutter.

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。