Buy Sell Calendar
By LuxAlgoJan 23, 2023428 chart adds
Buy Sell Calendar is an indicator on Vela, our next-generation charting platform, written in Pine Script®.

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 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 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
Free to use
Run it on Vela. Go further with a paid plan.
- Up to 500 Custom Alerts, with webhook automation
- Up to 10× the chart history of Free
- Orderflow lookback up to full history
- More Quant usage to customize it, plus extra usage when you need it
- Futures data alongside crypto, stocks, forex and commodities
Also works on
Related indicators
All 5 Day-of-week Effects indicatorsRun it on Vela. Make it yours with Quant.
Open this indicator free on Vela, our next-generation charting platform. Then ask Quant, our coding agent built into Vela, to retune it or turn it into a backtested strategy of your own.


