Getting Started
Welcome to CycleTrader, a sophisticated tool for analyzing stock market cycles using Fast Fourier Transform (FFT) analysis. This documentation will help you understand how to use the application effectively.
What You Can Do with CycleTrader
- Identify hidden market cycles in stock price data
- Receive actionable Buy/Hold/Sell recommendations with confidence ratings
- Visualize price data and detected cycles through interactive charts
- Generate forecasts based on detected cycles
- Export analysis results in PDF and CSV formats
System Requirements
CycleTrader is a web-based application that works on most modern browsers. For optimal performance, we recommend:
- Chrome 88+, Firefox 85+, Safari 14+, or Edge 88+
- JavaScript enabled
- Screen resolution of at least 1280 × 720
- Stable internet connection
Data Input Options
Option 1: Upload CSV File
CSV Format Requirements:
- Must contain at least two columns: date and price
- Date column should be in YYYY-MM-DD format
- Price column should contain numerical values
- CSV should have a header row
- Maximum file size: 10MB
Example CSV Format:
date,price 2023-01-01,150.25 2023-01-02,152.30 2023-01-03,149.75 ...
Option 2: Enter Ticker Symbol
Ticker Requirements:
- Valid stock symbol from major exchanges (NYSE, NASDAQ)
- Examples: AAPL (Apple), MSFT (Microsoft), GOOGL (Google)
- Case-insensitive (both "aapl" and "AAPL" work)
Time Period Options:
- 1 Year: Good for short-term cycle analysis
- 2 Years: Balanced for most analyses (default)
- 5 Years: Better for detecting longer-term cycles
- 10 Years: Best for very long-term analysis
- Max Available: All available historical data
Pro Tip
For most effective cycle analysis, we recommend using at least 1-2 years of daily price data. Too little data may not reveal meaningful cycles, while too much data might include different market regimes that could confuse the analysis.
Understanding Results
Once your data is processed, you'll be presented with a comprehensive results page containing several sections:
1. Summary Section
This section provides an overview of your analysis, including:
- Stock Information: Ticker symbol, date range, and analysis timestamp
- Trading Recommendation: Buy, Hold, or Sell with confidence percentage
- Reasoning: Explanation of why this recommendation was generated
2. Time Series Chart
An interactive chart showing:
- Blue Line: Historical price data
- Orange Line: 7-day moving average
- Red Line: 30-day moving average
You can hover over points to see exact values, zoom in/out, pan, and reset the view by double-clicking.
3. Dominant Cycles
This section displays the significant cycles detected in your data, with each cycle card showing:
- Period: The length of the cycle in trading days
- Strength: How prominent this cycle is in the overall data
- Current Position: Where in the cycle we currently are
- Cycle Bar: Visual representation of cycle strength
4. Frequency Analysis Chart
This chart shows the power spectrum from the FFT analysis:
- X-axis: Cycle length in days (logarithmic scale)
- Y-axis: Amplitude (cycle strength)
- Blue Line: Power spectrum showing all detected cycles
- Red Dots: Dominant cycles
- Text Labels: Period length of top cycles
5. Forecast Chart
This chart shows projected price movement:
- Blue Line: Historical price data
- Orange Dashed Line: Projected price based on detected cycles
- Vertical Line: Divides historical data from forecast
Interpreting Recommendations
CycleTrader provides actionable trading recommendations based on detected cycles. Here's how to interpret them:
Buy Recommendation
What it means: The analysis suggests that price is likely to increase based on detected cycles.
When you'll see it: Typically when multiple cycles are at or near their bottom phase.
Confidence levels:
- High (80-100%): Strong cycle alignment suggesting upward movement
- Medium (60-79%): Moderate cycle alignment
- Low (below 60%): Some signals present but with significant uncertainty
Hold Recommendation
What it means: The analysis suggests that no significant move is imminent, or signals are mixed.
When you'll see it: When cycles are in transitional phases or conflicting with each other.
Confidence levels:
- High (80-100%): Strong evidence of sideways movement
- Medium (60-79%): Balanced opposing signals
- Low (below 60%): Unclear situation with low confidence in any direction
Sell Recommendation
What it means: The analysis suggests that price is likely to decrease based on detected cycles.
When you'll see it: Typically when multiple cycles are at or near their peak phase.
Confidence levels:
- High (80-100%): Strong cycle alignment suggesting downward movement
- Medium (60-79%): Moderate cycle alignment
- Low (below 60%): Some signals present but with significant uncertainty
Important Note
These recommendations are based solely on cycle analysis and should not be considered financial advice. Use them as one tool among many in your investment decision-making process. Past performance does not guarantee future results.
Saving & Exporting
CycleTrader provides several options for saving and exporting your analysis results:
PDF Report
How to generate: Click the "Generate PDF Report" button on the results page.
What's included:
- Summary information
- Recommendation details
- All charts and visualizations
- Detected cycle information
- Disclaimer and methodology notes
Use case: Ideal for printing, sharing with others, or keeping a permanent record of your analysis.
CSV Data Export
How to generate: Click the "Download CSV" button on the results page.
What's included:
- Original price data
- Processed data points
- Detected cycle information
- Forecast values
Use case: Ideal for further analysis in spreadsheet software or custom tools.
Tip for Professionals
The CSV export contains raw data that can be imported into other trading platforms, backtesting systems, or custom analysis tools. This allows you to incorporate cycle analysis into your existing trading systems.
Frequently Asked Questions
Cycle analysis can be very useful for identifying recurring patterns, but it's not a crystal ball. Markets are influenced by many factors beyond cycles, including news events, economic indicators, and sentiment changes.
The accuracy tends to be higher when markets are in stable, trending conditions and lower during chaotic or news-driven periods. We recommend using cycle analysis as one component of a comprehensive trading approach.
Confidence ratings are calculated based on multiple factors:
- The strength and clarity of detected cycles
- The alignment of multiple cycles
- The historical reliability of the detected cycle lengths
- The signal-to-noise ratio in the data
The forecast is generally displayed for 30 trading days, but its reliability decreases as you look further into the future. The first 1-2 weeks are usually the most reliable part of any forecast.
Market conditions can change rapidly, and external events can disrupt cyclical patterns at any time, so forecasts should be updated regularly as new data becomes available.
Your CSV file should have at least two columns: date and price. The date should be in YYYY-MM-DD format, and price should be numeric. Column headers should be included.
Example:
date,price 2023-01-01,150.25 2023-01-02,152.30 2023-01-03,149.75
For most stocks, 1-2 years of daily data provides a good balance. Too little data (less than 6 months) may not reveal meaningful cycles, while too much data (over 5 years) might include different market regimes that could confuse the analysis.
Glossary of Terms
- Amplitude
- The strength or magnitude of a cycle, representing how much influence it has on price movement.
- Cycle
- A recurring pattern in price movement that completes at regular intervals.
- Cycle Period
- The length of time it takes for a cycle to complete one full oscillation, measured in trading days.
- Dominant Cycle
- A cycle with significant amplitude that has a strong influence on price movement.
- Fast Fourier Transform (FFT)
- A mathematical algorithm that transforms time-domain data into the frequency domain, revealing cyclical patterns.
- Frequency Domain
- A representation of data in terms of its frequency components, showing cycle lengths and strengths.
- Phase
- The current position within a cycle, indicating whether it's at a bottom, top, or somewhere in between.
- Power Spectrum
- A plot showing the strength of cycles at different frequencies or periods.
- Signal-to-Noise Ratio
- The ratio of meaningful cycle patterns to random price fluctuations.
- Time Domain
- The original representation of data as a series of price points over time.