Script show up to 7 previous values of 'source' input for a specified period of days. Use inputs to select period: 365 (approximately) for years, or any other period (1, 7, 30, 90...). You can hide extra plots, customize their colors, apply this to another indicator or enable 'trackprice'. On showcase: Top indicator shows a close price for previous 3 years,...
English: This script shows the price development over the last year (default: green) and mean prices over the last three (default: light green), six (default: orange) and nine (default: red) years and is therefore at least some kind of approach towards true seasonality. Thanks to user "apozdnyakov" for providing most of the code! Deutsch: Dieses Skript zeigt...
Sorry for the mess above. Not sure how to remove it. It was not what I was looking to post. I added the the clean chart below. This was requested by "N". It displays the current yearly highs and lows along with the previous years highs and lows. Just a nice way to see the support resistance in all time frames.
█ OVERVIEW Library "DateNow" TODO: Provide today's date based on UNIX time █ INSPIRATIONS Use pinescript v4 functions such as year(), month() and dayofmonth(). Use pinescript v5 function such as switch. Export as string variables. Not using any match function such as math.floor. █ CREDITS RicardoSantos █ KNOWN ISSUES Date for Day display...
A simple year-to-date (YTD) % return calculation, displayed on a panel.