• SIGNAL
  • METRIC
  • DATA
  • HUMAN

How to detect market divergence with your agent

Connect your agent to market data and let it watch for cracks in price trends. It handles the math so you can spot the signal.

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 divergence?

Your agent compares price action against advancing and declining stock counts to find momentum mismatches. This reveals when a trend is losing steam even if prices are still rising. You get a clear view of these shifts through automated calculations.

The outcomes

What you get from the analysis

Your agent processes raw market data into specific divergence signals.

SIGNAL

Divergence alerts

Your agent identifies when price trends and breadth metrics move in opposite directions. You get specific warnings when a trend looks exhausted.

METRIC

Momentum snapshots

Your agent calculates momentum indicators for your chosen assets. You see the underlying strength of a move without doing the math yourself.

DATA

Breadth summaries

Your agent aggregates advancing and declining counts. You get a high-level view of market participation.

HUMAN

Trade decisions

Your agent provides the math, but you decide if the divergence warrants a position. It stays out of your execution.

The workflow

What your agent does when the data arrives.

Your agent takes raw market feeds and turns them into divergence signals.

  1. Gather market data

    Your agent pulls the latest price and volume data for the symbols you specify.

    calculate_breadth_metrics
  2. Compute breadth

    It calculates the ratio of advancing to declining stocks to check market health.

    calculate_breadth_metrics
  3. Identify divergence

    Your agent compares these breadth levels against price momentum to find mismatches.

    calculate_breadth_metrics
  4. Report findings

    Your agent summarizes the strength of the trend and flags potential reversals.

    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 Strategy 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 kick off your analysis.

Starting points

Swap out the ticker symbols or timeframes to match your specific strategy.

Market Breadth Strategy Connector

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

Connector linkhttps://edge.vinkius.com/vk_preview_ZdKGfjikjUO17c1XVS1keWRiSx3I96v7o5S4luqB/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 Strategy capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "market-breadth-strategy-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_ZdKGfjikjUO17c1XVS1keWRiSx3I96v7o5S4luqB/mcp"
    }
  }
}
Copy into chat04
  • 01

    Calculate the breadth metrics for the S&P 500 over the last 20 days.

  • 02

    Check for divergence between the current price trend and breadth in the tech sector.

  • 03

    Analyze the momentum indicators for the Nasdaq to see if the rally is supported by breadth.

  • 04

    Compare the advancing/declining ratio against the price of the Dow Jones for the last week.

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

Start here

Connect Market Breadth Strategy once, then ask.

One click connects this MCP to your client. Your credentials stay encrypted, and you can start asking for math immediately.

Connect Market Breadth Strategy to your agent

FAQ

How this task behaves.

  • 01

    Can your agent place trades based on divergence?

    No. Your agent only calculates metrics and identifies signals. You must execute all trades yourself.

  • 02

    Does your agent change my existing market data?

    No. Your agent only reads and processes data to perform calculations. It cannot modify your data sources.

  • 03

    How does it detect a reversal?

    It looks for instances where price continues to move in one direction while breadth metrics move in the other.

  • 04

    Can I use this with any market data?

    Your agent uses the data provided through the calculate_breadth_metrics tool to perform its analysis.

  • 05

    Will your agent delete my historical charts?

    No. Your agent has no capability to delete or overwrite your files or data.

  • More questions about Market Breadth Strategy? The Connector page answers them. See everything the Market Breadth Strategy 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 Strategy 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 Strategy 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 Strategy 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.