OPEN-SOURCE SCRIPT

Simple Monthly Seasonality

126
This script helps traders quickly visualize how an asset performs month by month over a customizable historical period.

🔍 What it does:
• Calculates average monthly returns over the past N years (default: 15).
• Highlights the current month for quick context.
• Displays results in a clean 2-column table (Month | Avg % Return).

💡 Features:
• Works on any timeframe – internally pulls monthly data.
• Color-coded performance (green for positive, red for negative).
• Dynamic highlights – the current month is softly emphasized.
• Fully customizable lookback period (1–50 years).

📈 Use cases:
• Spot seasonal market trends.
• Time entries/exits based on recurring historical strength/weakness.
• Build the foundation for more advanced seasonality or macro scripts.

Just load it on any chart and see which months historically outshine the rest.


免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。