tradingview: Agent for Claude Code

.claude/agents/market-structure-analyst.md

market-structure-analyst is an agent for Claude Code from iamrichardD/tradingview. It costs 61 tokens per session (2,143 once invoked), scanned A, original, Apache-2.0.

An agent for analyzing financial market structure and institutional order flow across multiple timeframes. It uses terms such as CHoCH, BOS, and IDM for changes, breaks, and movements in market structure.

In plain words
What is it for?
Detecting and validating market-structure events across timeframes and analyzing institutional order flow for trading-strategy development.
Why use it?
It is intended to organize complex price-structure and order-flow analysis across different chart timeframes.

Agent for Claude Code

Written for Claude Code: installed under .claude/.

This is iamrichardD/tradingview's own configuration. It tells Claude Code how to work on tradingview itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything tradingview configures →

Reuse

Borrowing it

Nothing to install: this file belongs to iamrichardD/tradingview. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/iamrichardD/tradingview/main/.claude/agents/market-structure-analyst.md
Clone the repo
git clone --depth 1 https://github.com/iamrichardD/tradingview

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for market-structure-analyst

README.md
[![agentmods](https://agentmods.dev/badge/agents/iamrichardd/tradingview/market-structure-analyst/github.svg)](https://agentmods.dev/agents/iamrichardd/tradingview/market-structure-analyst)
Your own site
<a href="https://agentmods.dev/agents/iamrichardd/tradingview/market-structure-analyst"><img src="https://agentmods.dev/badge/agents/iamrichardd/tradingview/market-structure-analyst/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for market-structure-analyst

Your own site · 80×15
<a href="https://agentmods.dev/agents/iamrichardd/tradingview/market-structure-analyst"><img src="https://agentmods.dev/badge/agents/iamrichardd/tradingview/market-structure-analyst.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 61 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,143 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00061 $0.02143
Opus 5.5 $0.00024 $0.00857
Sonnet 5.5 $0.00012 $0.00429
Haiku 4.5 $0.00006 $0.00214

Measured 2mo ago against content hash ba9fe5588e69, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

market-structure-analyst scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/agents/market-structure-analyst.md · 172 lines

How it starts

The opening of the file, as written. The whole thing — 172 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Market Structure Analyst (Titan)

Core Philosophy & Influences

Institutional Order Flow Mastery: Inspired by professional institutional trading methodologies where understanding market structure, order flow dynamics, and multi-timeframe analysis form the foundation of successful trading strategies. Named after Titan, representing the powerful and foundational forces that shape market movements.

LuxAlgo Methodology Excellence: Deep commitment to advanced market structure analysis using proven LuxAlgo methodologies for Change of Character (CHoCH), Break of Structure (BOS), and Induced Market Movement (IDM) detection with institutional-grade precision.

Multi-Timeframe Intelligence: Sophisticated understanding that market structure operates across multiple timeframes simultaneously, requiring comprehensive cross-timeframe validation and analysis for accurate institutional-grade trading decisions.

Core Responsibilities

1. Advanced Market Structure Detection & Multi-Timeframe Analysis

  • Institutional-grade implementation of CHoCH (Change of Character) detection systems
  • Advanced BOS (Break of Structure) identification with multi-timeframe validation
  • Sophisticated IDM (Induced Market Movement) recognition and classification systems
  • Cross-timeframe market structure correlation analysis and validation protocols

2. LuxAlgo Methodology Implementation & Institutional Pattern Recognition

  • Professional implementation of LuxAlgo market structure methodologies
  • Advanced pattern recognition systems using institutional-grade algorithms
  • Sophisticated market structure scoring and strength assessment systems
  • Real-time market structure validation with institutional compliance standards

3. Institutional Order Flow Analysis & Smart Money Tracking

  • Advanced order flow analysis for institutional trading pattern identification
  • Smart money flow detection using sophisticated volume and price action analysis
  • Institutional accumulation and distribution pattern recognition systems
  • Advanced liquidity analysis and institutional order flow validation

Read the full file on GitHub · 172 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 172 lines · 61 tokens per session scan A ba9fe5588e69

Subscribe to this mod's changes

market-structure-analyst is an agent published in the GitHub repository iamrichardD/tradingview (57 stars, last pushed 1y ago), licensed Apache-2.0. It adds 61 tokens to every session and 2,143 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

market-structure-analyst compared with agents from other repositories

market-structure-analyst next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
market-structure-analystiamrichardD/tradingviewAgent571y agoApache-2.0A61Claude Code
ic-challengermariourquia/cre-skills-pluginAgent519d agononeA85Claude Code
token-economics-designerMatt-Dionis/claude-code-configsAgent6191y agoMITA28Claude Code
soleur-finance-budget-analystjikig-ai/soleurAgent21todaynoneA78Claude Code
pm-business-analystgeekatron/jerryAgent375d agononeB107Claude Code
financial-integrity-auditorblendsdk/claude-codeopsAgent43mo agoMITA142Claude Code
royalty-audit-analystrecoupable/skillsAgent9todaynoneA46Claude Code