OPEN-SOURCE SCRIPT

Simple Monthly Seasonality

240
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が提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。