OPEN-SOURCE SCRIPT
Cycles

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:
Notes
Disclaimer
For educational and charting use. Not financial advice. Always verify the script on your instrument and timeframe before relying on it.
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:
- Add the script to the chart from Pine Editor → Add to chart.
- Open indicator settings.
- Pick a mode.
- Enable the weekdays you want, or type month dates in the input field.
- 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.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.