• RATIOS
  • PERCENTAGE
  • SUMMARY
  • HUMAN

How to calculate market breadth ratios with your agent

Connect the Market Breadth Analyzer to your AI client. Your agent handles the math once you provide the raw counts.

Ask AI about this page

Our technology reaches across leading technology and enterprise teams.

  • Amazon
  • NVIDIA
  • Red Hat
  • Fidelity Investments
  • Intuit
  • OLX Brasil
  • Writesonic
  • Artium
  • Trolley
Bunny World Voxel Workspace

Short answer

How can I use AI to find market breadth ratios?

Your AI client uses the Market Breadth Analyzer to turn raw advancing and declining stock counts into NH/NL ratios and percentage distributions. You get exact mathematical breakdowns of market participation. The following breakdown shows how the data is processed.

The results you get.

Where your data lands.

Your agent processes your raw counts into these specific outputs.

RATIOS

NH/NL ratio outputs

Your agent calculates the relationship between advancing and declining stocks. You get the exact mathematical ratio for your data.

PERCENTAGE

Percentage breakdowns

Your agent converts raw counts into percentage distributions. This shows you the exact portion of the market participating in a trend.

SUMMARY

Market snapshots

Your agent aggregates multiple data points into a single summary. You get a high-level view of market breadth without manual calculation.

HUMAN

Strategy decisions

Your agent provides the math, but you make the calls. You take the calculated ratios to build your final market thesis.

The workflow

What your agent does when the data arrives.

Your agent handles the math so you don't have to count tickers manually.

  1. Ingest counts

    Your agent pulls the raw number of advancing and declining stocks from your input.

    calculate_breadth_metrics
  2. Compute ratios

    Your agent performs the division needed to establish the NH/NL relationship.

    calculate_breadth_metrics
  3. Generate percentages

    Your agent calculates the percentage of the total market represented by each group.

    calculate_breadth_metrics
  4. Format output

    Your agent organizes the final metrics into a readable format for your analysis.

    calculate_breadth_metrics

Vinkius Agentic Execution Platform

State the outcome. Agents take it from there.

You don't have to drive this run by hand. Inside the Vinkius Agentic Execution Platform, agents pick up the task above and carry it to the end: you set the limits, you watch the steps, you keep all decisions.

Run it in Vinkius

Agents carry the task to the end

Agents execute Market Breadth Analyzer tasks from end to end inside the Vinkius Agentic Execution Platform: set the outcome, and the steps run.

Take it to any compatible AI

One connection, any client

Same connection follows you to ChatGPT, Claude, Gemini and any other client you love. Switch whenever you want: your connection, your permissions and your record move with you.

Spaces

One Space per activity

A Space gathers the context, tools and tasks of one activity, so you coordinate several agents at once and follow each execution as it happens.

Limits

Autonomy inside limits you set

Permissions and spending limits are yours to define. Agents halt for your approval on anything sensitive, and you choose how far autonomy goes, step by step or end to end.

Record

All steps, on the record

Each action your agents take lands in a signed audit trail. Results are verified, mistakes are learned from, and an emergency stop is one click away.

Models

Included in your plan

A curated selection of AI models is included in your plan, and you can add your own through BYOK whenever you prefer.

Try it

Copy these to start.

Use these prompts to trigger the analysis immediately.

Starting points

Replace the bracketed text with your specific market data or ticker counts.

Market Breadth Analyzer Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_nn2l63QhxBSe5uI8LUvI1TVbdFFcAz0qbbaVAc9o/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat, Market Breadth Analyzer capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "market-breadth-analyzer-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_nn2l63QhxBSe5uI8LUvI1TVbdFFcAz0qbbaVAc9o/mcp"
    }
  }
}
Copy into chat04
  • 01

    Calculate the NH/NL ratio using these advancing and declining counts: [paste data]

  • 02

    Give me the percentage breakdown for these market counts: [paste counts]

  • 03

    Analyze the breadth of the S&P 500 using these raw numbers: [paste data]

  • 04

    What is the current NH/NL ratio based on this market data? [paste data]

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect Market Breadth Analyzer once, then ask.

Connect the MCP to your client with one click. Your credentials stay encrypted on our side, and you can start asking for breadth metrics immediately.

Connect Market Breadth Analyzer to your agent

FAQ

How this task behaves

  • 01

    Can your agent execute trades based on these ratios?

    No. Your agent only calculates the metrics. You must decide when to execute trades in your own brokerage account.

  • 02

    Does your agent store my proprietary market data?

    No. Your agent processes the data to provide the calculation, but it does not save or store your data.

  • 03

    Can it calculate breadth for any index?

    Yes, as long as you provide the raw advancing and declining counts for that index.

  • 04

    Will your agent change my original data files?

    No. Your agent only reads the data you provide to perform the math. It does not modify your source files.

  • 05

    Can it pull real-time data from the web?

    No. This MCP requires you to provide the raw stock counts to perform the calculations.

  • More questions about Market Breadth Analyzer? The Connector page answers them. See everything the Market Breadth Analyzer Connector can do

Building with AI? Ship this whole workflow in your product.

Vinkius Connect is the connectivity layer for AI builders. All the capabilities used on this page, from Market Breadth Analyzer to thousands more, arrive through one SDK, already maintained for you. One Application, unlimited seats, each with their own connectors and credentials, isolated and never exposed to Vinkius. No OAuth flows to write, no tokens to store, no APIs to chase.

Explore Vinkius Connect

TypeScript · Python · Java · Go · C# · PHP · Rust

  • 01

    Your customers bring their own keys.

    Each user connects their own apps and keeps their own credentials. Vinkius only sees the identifier your backend sends.

  • 02

    Whole catalog, kept current.

    Market Breadth Analyzer plus thousands more, maintained and growing daily. No integrations to write, no token storage, no OAuth plumbing.

  • 03

    Any agent, any model.

    Capabilities land as framework-neutral objects, with adapters for OpenAI, Anthropic, Gemini, the Vercel AI SDK, LangChain and more.

Connect Market Breadth Analyzer to Claude, Cursor, ChatGPT & more

From idea to done

See what gets done when the agents take over the busywork

Each workflow on this page runs on the same platform. Connect your tools once, and your agents keep working in any AI you trust.