PROTECTED SOURCE SCRIPT
Monthly Seasonality (for last N Years)

Monthly Seasonality analyzes historical price behavior to reveal how a symbol typically performs in each calendar month. It helps traders identify recurring seasonal patterns, stronger months, weaker months, and overall consistency across years.
What this indicator does?
1. Calculates monthly percentage returns using historical price data
2. Aggregates results over a user-defined lookback period (max up to 20 years)
3. Displays a seasonality table showing:
> Average return (%) for each month
> Win rate (%) — how often the month closed positive
> Number of years included in the calculation
4. Automatically highlights:
> 📈 Best performing month
> 📉 Worst performing month
Seasonality Table:
How Traders Use It?
Examples:
1. AAPL

2. BTCUSD

What this indicator does?
1. Calculates monthly percentage returns using historical price data
2. Aggregates results over a user-defined lookback period (max up to 20 years)
3. Displays a seasonality table showing:
> Average return (%) for each month
> Win rate (%) — how often the month closed positive
> Number of years included in the calculation
4. Automatically highlights:
> 📈 Best performing month
> 📉 Worst performing month
Seasonality Table:
- Green shading indicates positive average returns
- Red shading indicates negative average returns
- ⭐ A star marks the strongest and weakest months
- Table colors automatically adapt to light and dark themes
- Table position is fully customizable (top, middle, bottom)
How Traders Use It?
- Identify seasonally strong months for swing trades or position entries
- Avoid historically weak periods or tighten risk controls
- Combine with technical indicators for higher-probability trade timing
- Useful for equities, ETFs, and indices with long trading histories
Examples:
1. AAPL
2. BTCUSD
보호된 스크립트입니다
이 스크립트는 비공개 소스로 게시됩니다. 하지만 이를 자유롭게 제한 없이 사용할 수 있습니다 – 자세한 내용은 여기에서 확인하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
보호된 스크립트입니다
이 스크립트는 비공개 소스로 게시됩니다. 하지만 이를 자유롭게 제한 없이 사용할 수 있습니다 – 자세한 내용은 여기에서 확인하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.