INVITE-ONLY SCRIPT

Auto Seasonality Scanner by Luis Trompeter

183
The Auto Seasonality Scanner automatically detects seasonal patterns by scanning a user-defined number of past years (e.g., the last 10 years).
Based on this historical window, the indicator identifies the strongest seasonal tendency for the currently selected date range.

The scanner evaluates all valid seasonal windows using two filters:
• Hit Rate – the percentage of profitable years
• Average Return – the highest mean performance across the analyzed period

The best-scoring seasonal setup is displayed directly on the chart, including the exact start and end dates of the identified pattern for the chosen time range.

Users can define the period they want to analyze, and the indicator will automatically determine which seasonal window performed best over the selected history.

Recommended Settings (Standard Use)

For optimal and consistent results, the following settings are recommended:
• Search Window: 20–30
• Minimum Length: 5
• Time Period: from 2015 onward
• US Election Cycle: All Years

These settings provide a balanced and reliable baseline to detect meaningful seasonal tendencies across markets.
This indicator helps traders understand when recurring seasonal patterns typically occur and how they may align with ongoing market conditions.

Timeframe Requirement

This indicator is intended to be used exclusively on the daily timeframe, as all calculations are based on daily candles.
Using it on lower timeframes may result in inaccurate or misleading seasonal readings.

Exención de responsabilidad

La información y las publicaciones no constituyen, ni deben considerarse como asesoramiento o recomendaciones financieras, de inversión, de trading o de otro tipo proporcionadas o respaldadas por TradingView. Más información en Condiciones de uso.