# Buy Sell Calendar

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

The Buy Sell Calendar grades every day or month as bullish or bearish and lays the verdicts out on an on-chart calendar, scored by your choice of three sentiment methods. Green and red cells plus longer-run bullish percentages expose recurring calendar tendencies at a glance for seasonality-minded traders.

- Indicator in the LuxAlgo Library, by LuxAlgo, published Jan 23, 2023.
- Access: free.
- Concepts: [Day-of-week Effects](https://www.luxalgo.com/library/concept/day-of-week-effects/) (primary), [Seasonality Tooling](https://www.luxalgo.com/library/concept/seasonality-tooling/)
- Open on Vela: https://vela.luxalgo.com/chart?pineScriptCodeId=cmpwn0ntt000tvhsgafufaf67
- Page: https://www.luxalgo.com/library/indicator/buy-sell-calendar/

The **Buy Sell Calendar** projects sentiment onto a calendar panel, grading every day or month as bullish or bearish so recurring [day-of-week effects](https://www.luxalgo.com/library/concept/day-of-week-effects/) and monthly tendencies surface at a glance. Three interchangeable methods score each period from its price action, and the panel also reports the percentage of bullish days or months across the longer frame: [seasonality tooling](https://www.luxalgo.com/library/concept/seasonality-tooling/) at its most compact.

## How to Trade the Buy Sell Calendar?

- **Green and red cells**: green marks periods graded bullish, red bearish. The checkerboard itself is the tendency map.
- **Bullish percentage**: bullish days so far divided by the day of the month, or bullish months divided by the month number, quantifies the broader lean; calendar days without bars, such as weekends, count against the daily figure.
- **Period lines**: color-coded vertical lines mark each new day or month, and a line's color can update retrospectively as that period's sentiment resolves.

Sentiment depends on your chosen method. *Linreg* fits least-squares lines between consecutive periods and calls a positive slope bullish; *Accumulated Deltas* nets the bullish and bearish price changes within each period; *Max/Min* reads price against trailing extremes. Results can vary with the chart timeframe feeding the calculation, so pick it deliberately.

## Buy Sell Calendar Settings

- **Frequency**: Daily or Monthly cells.
- **Trend Method**: Linreg, Accumulated Delta, or Max/Min.
- **Timezone Offset**: aligns period boundaries with your UTC offset.
- **Choose Date**: when enabled, the calendar only processes bars before the chosen date.
- **Location / Size**: placement of the calendar panel on the chart and its text size.

## Frequently Asked Questions

### Which sentiment method should I pick?

Linreg captures slope, which suits identifying sustained directional tendencies; Accumulated Deltas weighs the net of bullish against bearish movement; Max/Min tracks price relative to its trailing extremes and earns its keep when reversals are the concern. The methods can disagree, and that disagreement itself says how contested a period is.

### Can I dig deeper into weekday statistics?

The calendar is the at-a-glance layer. For distribution-level detail on how each weekday's price behavior actually spreads out, pair it with [Day of Week Price Distribution](https://www.luxalgo.com/library/indicator/day-of-week-price-distribution/), and let the calendar point you to the days worth the closer look.

### What does the Buy Sell Calendar cost?

Nothing. It is part of the free LuxAlgo Library and adds to your chart from this page. You can also open it in Quant, our coding agent, right here to test how its sentiment methods read your market. You can also copy the source code from this page and run it anywhere Pine Script® runs.

## Related indicators

- [Day Of Week Price Distribution](https://www.luxalgo.com/library/indicator/day-of-week-price-distribution/) (Day-of-week Effects): markdown at https://www.luxalgo.com/library/indicator/day-of-week-price-distribution.md
- [Seasonality Widget](https://www.luxalgo.com/library/indicator/seasonality-widget/) (Day-of-week Effects): markdown at https://www.luxalgo.com/library/indicator/seasonality-widget.md
- [Periodic Activity Tracker](https://www.luxalgo.com/library/indicator/periodic-activity-tracker/) (Day-of-week Effects): markdown at https://www.luxalgo.com/library/indicator/periodic-activity-tracker.md
- [Weekly Stacked Daily Changes](https://www.luxalgo.com/library/indicator/weekly-stacked-daily-changes/) (Day-of-week Effects): markdown at https://www.luxalgo.com/library/indicator/weekly-stacked-daily-changes.md
- [Seasonality Chart](https://www.luxalgo.com/library/indicator/seasonality-chart/) (Seasonality Tooling): markdown at https://www.luxalgo.com/library/indicator/seasonality-chart.md
- [Volume Forecasting](https://www.luxalgo.com/library/indicator/volume-forecasting/) (Seasonality Tooling): markdown at https://www.luxalgo.com/library/indicator/volume-forecasting.md
- [Buyback Blackout Windows](https://www.luxalgo.com/library/indicator/buyback-blackout-windows/) (Time, Sessions & Seasonality): markdown at https://www.luxalgo.com/library/indicator/buyback-blackout-windows.md
- [NFP Price Zones](https://www.luxalgo.com/library/indicator/nfp-price-zones/) (Macro Event Days): markdown at https://www.luxalgo.com/library/indicator/nfp-price-zones.md

---

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