Slight modification of the work done by crasher (can be found here: ).
This script shows the average % change instead of the average nominal change of the selected security in the past 5 years.
Upper indicator: script by crasher (see link above)
Lower indicator: modified script by me
Inspired by the work done by crasher (can be found here: ).
Improvement of my earlier adaptation (can be found here: ).
This script projects the average % change of the selected security in the past 4 years.
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,...
Shows the average from the last 5 periods for close price cycle. For example to see the annual seasonality of a stock for the last 5 years use on daily chart with the default setting of 252, the number of trading days in a year, approximately.
Example how to backtest specific date(s) which can be useful for testing seasonality strategy ideas such as "Sell in May", etc.
If using Daily period with wild card dates it will not trade on 1st day of month. If market is closed will trade on next open day.
Works only with Daily or lower timeframes. When using on Daily timeframe set dates 1 day earlier to...