A feature-rich Windows Forms application developed in C# for stock market visualization, pattern recognition, and predictive analytics using candlestick charts and Fibonacci wave analysis.
This project was developed in three progressive stages:
- 📦 Project 1: Data loading, candlestick/volume chart, DataGridView.
- 🔍 Project 2: Multi-stock analysis, candlestick pattern detection (Peak/Valley, Doji, Hammer, etc.).
- 🌊 Project 3: Fibonacci wave analysis, Beauty function, prediction modeling.
- Load CSV-based stock data (Daily, Weekly, Monthly) from Yahoo Finance.
- Visualize OHLC (Open, High, Low, Close) prices in candlestick format.
- Display volume data alongside price in column chart.
- Bind data using Windows Forms data binding.
- Use a DataGridView for raw data inspection (Project 1 only).
- Normalize chart axes to remove gaps and fully utilize display area.
- Support multiple stock comparisons, each in its own window.
- Annotate Peak (Green) and Valley (Red) candlesticks.
- Highlight special candlestick patterns using a custom
SmartCandlestickclass:- Doji, Marubozu, Hammer, Dragonfly, Gravestone, Bullish, Bearish, Neutral
- Automatically remove weekend/holiday gaps for daily data.
- Enable interactive wave selection on charts (via mouse or scrollbars).
- Compute Fibonacci levels (0%, 23.6%, ..., 100%) between selected points.
- Evaluate "Beauty" score of a wave based on OHLC confirmations with Fibonacci lines.
- Display Beauty(price) as a function plot—used to estimate future highs/lows.
- Real-time updates to charts without reloading stock data.
| Tech | Description |
|---|---|
| C# | Language |
| .NET Framework | Windows Forms |
| WinForms Charting | Candlestick & volume plots |
| Data Binding | For stock data integration |
| Yahoo Finance | Source of CSV data |
| Custom Classes | Candlestick, SmartCandlestick, Fibonacci, and Beauty logic |
/StockMarketAnalyzer
│
├── /Stock Data # Input CSVs: xxx-Day.csv, xxx-Week.csv, xxx-Month.csv
├── /Forms # Main form, chart windows
├── /Classes # Candlestick, SmartCandlestick, Fibonacci logic
├── Program.cs # Entry point
└── README.md
-
Clone the repository:
git clone https://github.com/deshninad/Stock-Analysis-App.git
-
Download stock CSVs from Yahoo Finance and place them in the
Stock Datafolder. -
Open the solution in Visual Studio and run the app.
Ninad Deshpande
💼 CS Student @ University of South Florida
🔗 LinkedIn • 🧠 GitHub
