TradingView
ChartingCycles
2022년 3월 31일 오후 3시 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
더보기