• SENTIMENT
  • BREADTH
  • TRENDS
  • HUMAN

How to calculate market sentiment and breadth with your agent

Connect this MCP to your AI client to turn raw stock counts into sentiment indicators.

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 sentiment and breadth?

Your agent processes advancing and declining stock counts to classify market sentiment and determine breadth metrics. You get specific sentiment labels and fundamental data from the counts you provide. Here is how the data is processed.

The results you get.

Where your data lands.

Your agent turns your raw numbers into these specific outputs.

SENTIMENT

Sentiment classification

Your agent labels the market mood based on the ratio of advancing to declining stocks. You get a clear bullish or bearish reading.

BREADTH

Breadth metrics

Your agent calculates fundamental breadth indicators from your counts. This shows how deep a market move goes.

TRENDS

Trend strength

Your agent evaluates if the market breadth is expanding or contracting. You see if the trend has legs.

HUMAN

Final decision

Your agent provides the math and the classification. You decide if the sentiment matches your strategy.

The workflow

What your agent does when the data arrives.

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

  1. Process counts

    Your agent takes your advancing and declining stock counts and prepares them for the calculation.

    calculate_market_breadth
  2. Calculate breadth

    Your agent runs the math to determine the fundamental breadth metrics from your input.

    calculate_market_breadth
  3. Classify sentiment

    Your agent uses the resulting breadth to assign a sentiment classification to the market.

    calculate_market_breadth
  4. Report findings

    Your agent delivers the final sentiment and breadth numbers directly in your chat.

    calculate_market_breadth

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 Advance/Decline Calculator 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.

Paste these directly into your chat to begin.

Starting points

Swap the numbers in these prompts for your actual advancing and declining stock counts.

Advance/Decline Calculator Connector

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

Connector linkhttps://edge.vinkius.com/vk_preview_qZ9DCs6Q5HP0lCmUGjDtcjPMBe6tAdXo8GaYCCVl/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, Advance/Decline Calculator capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "advancedecline-percentage-calculator-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_qZ9DCs6Q5HP0lCmUGjDtcjPMBe6tAdXo8GaYCCVl/mcp"
    }
  }
}
Copy into chat04
  • 01

    Calculate market breadth using 250 advancing and 150 declining stocks.

  • 02

    What is the market sentiment for 400 advancing and 100 declining stocks?

  • 03

    Analyze the breadth for these counts: 30 advancing and 70 declining.

  • 04

    Classify the sentiment based on 500 advancing and 500 declining stocks.

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

Start here

Connect Advance/Decline Percentage Calculator once, then ask.

Connect the MCP to your preferred client. Your credentials stay encrypted, and you can start asking for calculations immediately.

Connect Advance/Decline Percentage Calculator to your agent

FAQ

How this task behaves.

  • 01

    Can your agent trade for me?

    No. Your agent only calculates sentiment and breadth metrics. You must handle all trading yourself.

  • 02

    Does your agent pull live market data automatically?

    No. You must provide the advancing and declining stock counts to your agent for it to perform the calculation.

  • 03

    Can your agent update my trading journal?

    No. Your agent only provides the calculated metrics and sentiment in your chat window.

  • 04

    What happens if I provide zero declining stocks?

    Your agent will process the counts provided and return the resulting sentiment and breadth metrics accordingly.

  • 05

    Can your agent predict future market moves?

    No. Your agent calculates current sentiment and breadth based on the data you provide; it does not predict the future.

  • More questions about Advance/Decline Percentage Calculator? See everything the Advance/Decline Percentage Calculator 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 Advance/Decline Calculator 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.

    Advance/Decline Calculator 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 Advance/Decline Calculator 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.