OPEN-SOURCE SCRIPT

Cycles

105
Cycle Days — Weekdays & Month Dates

A visual cycle-analysis tool for TradingView. It highlights the days you care about so weekly and monthly patterns are easy to see on any timeframe.
Use it to mark Mondays, Fridays, the 15th, month-end, or any mix of those dates. Background tint, vertical lines, and labels are optional.

What it does

The indicator colors every bar that matches your rules:
> selected weekdays (Mon–Sun)
> selected calendar dates of the month (for example 15 or 1,15,31)
> optionally the last calendar day of each month

On lower timeframes the whole day is shaded. The vertical line and label appear only on the first bar of that day so the chart stays readable.

Features

> Three modes: Weekdays, Month dates, or Both
> Separate on/off switch and color for each weekday
> Month dates entered as a comma-separated list (15, 1,15,31)
> Optional last-day-of-month highlight
> Optional shift: if the chosen date falls on a weekend, mark the nearest weekday instead (useful for stocks and futures)
> Timezone: Exchange, UTC, Moscow, Kyiv, London, New York, Shanghai
> Display toggles: background fill, dotted vertical line, label
> Labels show MON / 15 / 31 (month end)

How to use:
  1. Add the script to the chart from Pine Editor → Add to chart.
  2. Open indicator settings.
  3. Pick a mode.
  4. Enable the weekdays you want, or type month dates in the input field.
  5. Adjust colors and display options.


Notes

  • Time is taken from the bar open in the selected timezone. Overnight sessions can sit on the previous calendar day.
  • Weekend shift is meant for markets that are closed Sat–Sun. Leave it off for 24/7 crypto.
  • This is a visual aid only. It does not generate buy/sell signals.


Disclaimer
For educational and charting use. Not financial advice. Always verify the script on your instrument and timeframe before relying on it.

Exención de responsabilidad

La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.