Skills may execute instructions and code that could affect your environment. Marketplace scans reduce risk but do not guarantee safety. Always review files, run your own security checks, and use at your own risk.
downtrend-duration-analyzer
Security Scan Summary
Status: Safe
Source: Syntic Skills registry
Automated security scan completed with no high-risk patterns detected. Manual review is still required.
About This Skill
Use when a user wants typical correction lengths by sector or market-cap tier, historical drawdown recovery times, or realistic holding-period estimates for mean-reversion strategies.
Downloadable SKILL.md
Download SKILL.md and place it in your Syntic skills folder. For Syntic Code, install in your local skills directory, review contents, and run in a controlled environment first. Acknowledge the risk notice above to enable the download.
--- name: downtrend-duration-analyzer description: Use when a user wants typical correction lengths by sector or market-cap tier, historical drawdown recovery times, or realistic holding-period estimates for mean-reversion strategies. category: Market & Macro version: 1.0.0 tools: [] --- # Downtrend Duration Analyzer Analyze historical price data to identify downtrend periods (peak-to-trough) and build statistical distributions of correction durations, segmented by sector and market cap, so traders can set realistic expectations for mean-reversion strategies. ## When to Use - Trader asks about typical correction lengths for a sector or market-cap tier - User wants historical drawdown recovery times - Building mean-reversion or pullback strategies that need realistic holding-period estimates - Comparing correction behavior across market segments - Setting stop-loss timeouts or position holding-period limits ## Methodology Using web_search / knowledge_base_search to pull OHLC price history for the relevant universe (optionally filtered by sector, over a lookback of several years): 1. Identify local peaks and troughs using rolling-window analysis (a look-back/look-forward window, e.g. ~20 trading days, is the standard baseline). 2. For each peak-to-trough sequence, calculate the duration in trading days and the depth as a % decline. 3. Segment results by sector and by market-cap tier — Mega (>$200B), Large ($10B-$200B), Mid ($2B-$10B), Small (<$2B). 4. Compute summary statistics: median, mean, and percentiles (25th, 75th, 90th). Interpretation bands: - Short corrections (5-15 days): typical pullbacks within an uptrend - Medium corrections (15-40 days): standard sector rotations - Extended corrections (40+ days): trend changes or bear markets ## Output Present a summary table (total downtrends counted, median/mean duration, 25th/75th/90th percentile durations) plus a breakdown by market-cap tier and by sector, and 2-3 key insights (e.g. "larger companies recover faster," or "90% of corrections resolve within N trading days for this sector"). If the user wants a visual, describe the distribution narratively (bucket counts, percentile markers) rather than generating a file. ## Key Principles 1. Statistical rigor — use a robust peak/trough method to avoid noise-induced false signals. 2. Segmentation matters — always break out by sector and market cap; a blended average hides important differences. 3. Realistic expectations — use percentiles, not just the mean, to convey the full range of outcomes.
Bundle Download
Includes SKILL.md and bundled support files where provided. Risk acknowledgement is required.
Install Targets
Syntic App
- 1. Create a dedicated folder for this skill in your local skills library.
- 2. Place SKILL.md into that folder.
- 3. Restart Syntic and invoke this skill on matching tasks.
Syntic Code (CLI)
- 1. Save SKILL.md in your local Syntic Code skills directory.
- 2. Keep related files in the same skill folder.
- 3. Run in a safe environment and validate outputs.
Source
https://github.com/tradermonty/claude-trading-skills/blob/main/skills/downtrend-duration-analyzer/SKILL.md
Open Source LinkRelated Skills
breadth-chart-analyst
Use when analyzing market breadth via the S&P 500 Breadth Index or US Stock Market Uptrend Stock Ratio...
Market & Macrocot-contrarian-detector
Use when the user asks about COT report analysis, crowded futures positioning, who is "trapped" in a market...
Market & Macroearnings-calendar
Use when the user wants a weekly earnings calendar, asks which companies report earnings next week, or...
Market & Macroeconomic-calendar-fetcher
Use when the user asks about upcoming economic events, central bank decisions, employment, inflation, or GDP...