TradingView
Botnet101
15 de May. de 2022 15:08

Yearly Percentage Returns 

US SPX 500OANDA

Descripción

An indicator that lets you visualize the historical Yearly Percentage returns of any symbol.

Key Features:
  • Displays the yearly returns from start to end of each year
  • Displays a table showing all yearly returns for current symbol
  • Displays start of each year as a vertical line
  • Displays up to 5 custom horizontal levels


Table Settings:
  • Enable table - Show/Hide the table
  • Size - Sets the size of the table
  • Position - Sets the position of the table on the screen
  • Direction - Sets the direction of the table to display the data (Vertically or Horizontally)

Notas de prensa

  • Fixed bug where table does not show
  • Added option to sort the table by Ascending or Descending order

Notas de prensa

Fixed order of table data

Notas de prensa

Added support for current year returns
Comentarios
hoarsepower
Love this indicator. Could you please add 1 more row in table for Avg Total Return % across the life of the asset. Thankyou!!!
UncleSimmi
Is there a way to get an indicator that takes into account dividends? That would be incredible.
citybaselewis
I absolutely love this indicator. It is one of the best pieces of information I now use when evaluating a stock. However, in the last two days it will appear for a few seconds and then disappear. Has anything changed or can you advise on how to fix the problem? Lastly, is there a way you can sort so the years in ascending order? Thanks so much!
Botnet101
Hi @citybaselewis, thanks for reaching out. I published a new version of the script that fixes this bug and also added an option to sort the table in ascending or descending order in the indicator settings, under the Table Settings group.
Maximalist1997
Thanks for this. Is it possible to use for bitcoin? I mean, there are 365 days and s&p has 252
Botnet101
Hi @Maximalist1997, Yes this indicator will work for all markets including bitcoin.
A_KHAN
can you modifey these code to see monthly weekly and percent change or to see every candle pecent change
Más