OPEN-SOURCE SCRIPT

Yearly Percentage Returns

By Botnet101
Updated
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)
Release Notes
  • Fixed bug where table does not show
  • Added option to sort the table by Ascending or Descending order
Release Notes
Fixed order of table data
Release Notes
Added support for current year returns
drawdownforecastingpercentageperformanceprofitreturnsrollingstatisticstableTrend Analysisyearlyyeartodate

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer