# Seasonality Chart

Seasonality Chart is an indicator on [Vela](https://vela.luxalgo.com/chart), our next-generation charting platform, written in Pine Script®.

The Seasonality Chart condenses years of daily data into one seasonal curve, averaging each calendar day's price change into a seasonal index running January through December. Cumulative sums, percent-change mode, and a least-squares regression line reveal which stretches of the year leaned bullish or bearish - for daily-timeframe traders and calendar-effect researchers.

- Indicator in the LuxAlgo Library, by LuxAlgo, published Apr 2, 2023.
- Access: free.
- Concepts: [Seasonality Tooling](https://www.luxalgo.com/library/concept/seasonality-tooling/) (primary), [Month-of-year Seasonality](https://www.luxalgo.com/library/concept/month-of-year-seasonality/)
- Open on Vela: https://vela.luxalgo.com/chart?pineScriptCodeId=cmpwn5k0h007tvhsgvxuo33x3
- Page: https://www.luxalgo.com/library/indicator/seasonality-chart/

**Seasonality Chart** rebuilds your symbol's typical year as a single curve. It averages the price change recorded on each calendar day, across a chosen span of years, into seasonal indexes - the core construction behind [seasonality tools](https://www.luxalgo.com/library/concept/seasonality-tooling/) - and plots the result from January through December, so recurring stretches of strength and weakness stand out at a glance. Because the indexes are built from daily price changes, the chart is designed for the daily timeframe, where history runs deep enough for the averages to mean something.

## How to Trade the Seasonality Chart?

- **Read the level**: stretches where the curve holds above zero mark calendar days that averaged positive price change over your lookback; stretches below zero averaged negative.
- **Cumulative Sum for turning points**: stacking the indexes makes the year's historically bullish and bearish phases appear as clean inflections - a daily-resolution cousin of [month-of-year tendencies](https://www.luxalgo.com/library/concept/month-of-year-seasonality/).
- **Linear Regression for drift**: the least-squares line separates the year's underlying drift from the seasonal wiggles around it.

Calendar folklore - the January Effect, the Santa Claus Rally, the Mark Twain Effect - grew from exactly this kind of study. The chart lets you check whether your instrument actually honors any of it before you lean on an adage.

## Seasonality Chart Settings

- **Lookback (Years)**: how many years feed the calculation; more years smooth the curve, fewer emphasize the recent regime.
- **Cumulate** (on by default): displays the running total of seasonal indexes instead of raw values.
- **Use Percent Change**: measures each day in relative (percentage) terms rather than absolute points.
- **Linear Regression**: fits a least-squares line through the seasonal results.

## Frequently Asked Questions

### Why does the Seasonality Chart need a daily timeframe?
The seasonal indexes are averages of daily price changes, so the daily chart supplies the intended data density. Shorter timeframes can run short of history, thinning the sample and weakening the averages.

### How is this different from the Seasonality Widget?
The [Seasonality Widget](https://www.luxalgo.com/library/indicator/seasonality-widget/) buckets history by hour, weekday, day of month, month, or calendar year and reports a statistic per bucket. Seasonality Chart is the continuous view: one averaged path for the whole year, with cumulative and regression overlays.

### How can I start using the Seasonality Chart?
Free, through the LuxAlgo Library - and it runs in Quant, our coding agent, directly from this page if you want to explore your market's seasonal profile right away. You can also copy the source code from this page and run it anywhere Pine Script® runs.

## Related indicators

- [Volume Forecasting](https://www.luxalgo.com/library/indicator/volume-forecasting/) (Seasonality Tooling): markdown at https://www.luxalgo.com/library/indicator/volume-forecasting.md
- [Seasonality Widget](https://www.luxalgo.com/library/indicator/seasonality-widget/) (Seasonality Tooling): markdown at https://www.luxalgo.com/library/indicator/seasonality-widget.md
- [Buy Sell Calendar](https://www.luxalgo.com/library/indicator/buy-sell-calendar/) (Seasonality Tooling): markdown at https://www.luxalgo.com/library/indicator/buy-sell-calendar.md
- [Peak Trading Activity Graphs](https://www.luxalgo.com/library/indicator/peak-trading-activity-graphs/) (Seasonality Tooling): markdown at https://www.luxalgo.com/library/indicator/peak-trading-activity-graphs.md
- [Weekly Stacked Daily Changes](https://www.luxalgo.com/library/indicator/weekly-stacked-daily-changes/) (Seasonality Tooling): markdown at https://www.luxalgo.com/library/indicator/weekly-stacked-daily-changes.md
- [Day Of Week Price Distribution](https://www.luxalgo.com/library/indicator/day-of-week-price-distribution/) (Seasonality Tooling): markdown at https://www.luxalgo.com/library/indicator/day-of-week-price-distribution.md
- [Market Performance by Yearly Seasons](https://www.luxalgo.com/library/indicator/market-performance-by-yearly-seasons/) (Month-of-year Seasonality): markdown at https://www.luxalgo.com/library/indicator/market-performance-by-yearly-seasons.md
- [Asset-class Seasonality](https://www.luxalgo.com/library/indicator/asset-class-seasonality/) (Time, Sessions & Seasonality): markdown at https://www.luxalgo.com/library/indicator/asset-class-seasonality.md

---

Source: https://www.luxalgo.com/library/indicator/seasonality-chart/ (LuxAlgo Library). Free to use with attribution: https://www.luxalgo.com/library/license/
