๐ Candlestick Chart Analyzer
๐ Overview
The Candlestick Chart Analyzer is a cutting-edge backend service that interprets price action from uploaded candlestick chart images. Using a combination of image processing (OpenCV), optional pattern recognition (YOLO), and real-time technical analysis data (via TradingView_TA), it delivers professional-grade insights โ even from screenshots.
Whether youโre analyzing historical formations or current market momentum, the system bridges visual chart features with algorithmic financial intelligence to produce actionable trading decisions.
๐ Key Capabilities
๐ผ๏ธ Image-Based Analysis
Extracts data directly from uploaded candlestick screenshots.
๐ค Symbol Normalization
Converts inputs like btc
, solana
, SOLUSDT
into BTC/USDT
format.
๐ Trend Detection
Uses line angles, candle ratios, and price zones to classify trend type.
๐ Technical Indicators
Fetches RSI, MACD, Bollinger Bands, SMA/EMA using TradingView_TA API.
๐ง Pattern Recognition
Detects patterns like Head & Shoulders, W-Bottoms, Flags (optional YOLO).
๐ Professional Insights
Generates institutional-style textual analysis with trend + risk insights.
๐จ Fear & Greed Index
Integrates market sentiment via Alternative.me (6-hour cache).
โ๏ธ Manual Symbol Entry
Allows fallback entry when auto-detection is uncertain or missing.
๐งญ Steps to Use
Upload Chart Image Supports:
.png
,.jpg
,.bmp
,.webp
screenshots from any charting platform.Enter Symbol Users can enter symbols like
SOL
,BTC
,ETHUSD
, etc., in any format โ the system auto-corrects them.Select Timeframe Choose between
1h
or1d
intervals for technical analysis alignment.Click Analyze Triggers full image processing, indicator fetching, and textual insight generation.
Receive Report Outputs:
Trend direction (Bullish/Bearish/Neutral)
RSI, MACD, SMA, EMA, Bollinger Bands
Pattern list
Support & Resistance zones
AI-generated insights
Fear & Greed Index value
๐งฎ Trend Detection Formula

๐ Data Sources & Processing
๐ tradingview_ta
Real-time indicators: RSI, MACD, BBANDS, EMA/SMA, support/resistance
๐จ OpenCV
Image processing for candlestick detection and trend analysis
๐ค YOLO (optional)
Pattern recognition (e.g. Head & Shoulders) using trained .pt
file
๐ค Symbol Corrector
Converts loose symbol input like eth
, btc
โ ETH/USDT
๐จ Fear & Greed API
Market sentiment via https://api.alternative.me/fng/
(cached)
๐ง Text Generator
NLP-based system for trading insight and summary generation

Last updated