INVITE-ONLY SCRIPT

Seasonality Calculator Custom Date Range Analysis

36
The Seasonality Calculator lets you manually test any seasonal window by choosing a start day/month and end day/month, and then evaluating how that exact period performed historically.

For the selected date range, the script looks back over past years and calculates:

Average return

Hit rate (win rate)

Winning years vs. total years

The results are displayed in a compact on-chart table showing:

Entry date & exit date (calendar days)

Pattern length

Average return & hit rate

Win/trade count

Optionally, the indicator can also draw highlighted boxes for each year of the chosen seasonal window, so you can visually inspect how that specific date range behaved in the past.

You can:

Choose the exact start and end dates (day & month),

Set how many years of history to include,

And filter by simple regimes such as US election cycle years.

All calculations are based on daily data, and the math is consistent with the Seasonality Screener: if you take a pattern from the Screener and enter the same dates into this Calculator, you will get the same historical statistics.

Use this tool to experiment with custom seasonal ideas and to fine-tune windows you discover with the Screener, always in combination with your own analysis and risk management.

כתב ויתור

המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.