OPEN-SOURCE SCRIPT

Seasonality con números RAMÓN SEGOVIA

38
Monthly Bands – Colored Monthly Stripes for Statistical Analysis

Short Description
This indicator paints vertical background stripes by calendar month on your chart, making it easy to run statistical/seasonality analysis, compare monthly performance, and visually identify recurring patterns across assets and timeframes.

How It Works

Detects each new month and applies a background band spanning from the first to the last candle of that month.

Alternates colors automatically so consecutive months are easy to distinguish, or use a single uniform color for a clean look.

Optional: add dotted lines at the start/end of each month for precise separation.

Inputs / Settings

Color mode: alternating (odd/even months) or single.

Colors & opacity of the bands.

Border style: none / solid / dotted.

Highlight specific months: e.g., “Jan, Apr, Oct” with a different color.

Labels option: show month & year abbreviations at the top/bottom of the chart.

Drawing zone: full background vs. price-only area (to avoid covering lower indicators).

Typical Use Cases

Seasonality studies: identify historically bullish/bearish months.

Visual backtesting: segment the chart by months to evaluate strategy performance.

Context tracking: quickly locate reports, monthly closes, or economic cycles.

Compatibility

Works on all timeframes, including intraday (each band covers the full calendar month).

Lightweight and visual-only; doesn’t interfere with price or indicators.

Pro Tips

Combine with monthly returns (%) or candle counters to quantify each stripe.

Use labels when preparing clean presentations or trade journal screenshots.

Notes

This is a visual tool only, not a buy/sell signal generator.

Default settings are optimized for clarity and minimal clutter.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.