TradingView
ChartingCycles
31 мар 2022 г., 15:44

YTD 

Tesla, Inc.NASDAQ

Описание

A simple year-to-date (YTD) % return calculation, displayed on a panel.
Комментарии
tradepatiently
Hey ChartingCycles- great script! I thought I'd mention that it's using the closing price of the first trading day of the year to calculate the % (I think), so it seems a bit off compared to other sources. I'm thinking it should be using the opening price of the first trading day, or the closing price of the last trading day of the previous year?
ChartingCycles
@cphelpsone just seeing this comment now - you are correct! Fix incoming.
ChartingCycles
Ещё