Breadth Chart Analyst looks at two market breadth measures: the S&P 500 Breadth Index based on the 200-day moving average, and the US Stock Market Uptrend Stock Ratio. It takes the exact numbers from public CSV files and uses chart images only as visual context.
The agent follows a fixed workflow that fetches the CSV values, classifies each reading, checks the latest data points for trend direction, builds scenarios, and saves a report in the reports folder. The output describes market conditions and is not investment advice.
What You Get
- Current 200-day MA, 8-day MA and uptrend ratio readings with a class for each
- A dead cross check (8-day MA below 200-day MA) and the size of the gap
- Per-sector uptrend ratios with overbought and oversold flags
- A Markdown report with scenarios and notes for different kinds of traders, named by chart type and date
Common Use Cases
- Getting a breadth reading without any chart image
- Checking a screenshot of a breadth chart against the data behind it
- Writing a weekly market breadth summary
- Telling apart a developing signal from a failed reversal
What Makes It Unique
The CSV values are the primary source and chart images are supplementary, because image detection broke when chart formats changed. A two-stage review covers the full chart for history and then the rightmost quarter for current values, which prevents old readings being taken as current ones. The agent must verify line colours and the latest three to five data points before it states a trend.
Under The Hood
The agent runs a Python script that downloads three public CSV files over the network (a market breadth file on GitHub Pages and two uptrend dashboard files on raw.githubusercontent.com) using the standard library, then prints the readings. When chart images are supplied it can run a second script that crops the right edge of the image; older OpenCV detection scripts exist but are marked deprecated. The agent reads Markdown reference files and a template, and then writes a report file into the reports folder. No API key is needed.