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'.
Top indicator shows a close price for previous 3 years,...
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!
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.
TODO: Provide today's date based on UNIX time
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.
█ KNOWN ISSUES
Date for Day display...