Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
tradermonty avatar

Uptrend Analyzer

  • 970 installs
  • 2.6k repo stars
  • Updated August 4, 2026
  • tradermonty/claude-trading-skills

uptrend-analyzer is a trading analysis skill that determines whether a market sector or the overall market is in a confirmed uptrend for developers who must validate regime before committing capital or building trading t

About

uptrend-analyzer is an agent skill that applies Monty's Uptrend Ratio methodology to classify US equity market conditions before trading decisions. It reads daily CSV data from the tradermonty/uptrend-dashboard GitHub repository, which tracks roughly 2,800 US stocks across 11 GICS sectors and flags uptrend names using Finviz Elite screener rules. A stock counts as uptrend only when price exceeds $10, average volume tops 100K, and all additional Finviz criteria pass simultaneously. Developers reach for uptrend-analyzer when building trading agents or dashboards that need a sector-level or market-wide uptrend confirmation gate before entries or strategy deployment.

  • Analyzes Monty's daily Uptrend Ratio from 2,800 US stocks across 11 GICS sectors
  • Applies strict 8-criteria Finviz Elite screener including golden cross and 52-week recovery
  • Delivers both overall market and sector-level uptrend signals with historical context
  • Consumes live CSV data from tradermonty/uptrend-dashboard updated daily
  • Provides clear bullish-structure confirmation before any trading strategy or product decision

Uptrend Analyzer by the numbers

  • 970 all-time installs (skills.sh)
  • +87 installs in the week ending Aug 5, 2026 (Skillselion tracking)
  • Ranked #306 of 2,064 Data Science & ML skills by installs in the Skillselion catalog
  • Security screen: MEDIUM risk (skills.sh audit)
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/tradermonty/claude-trading-skills --skill uptrend-analyzer

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs970
repo stars2.6k
Security audit2 / 3 scanners passed
Last updatedAugust 4, 2026
Repositorytradermonty/claude-trading-skills

How do you confirm a market sector uptrend before trading?

Quickly determine whether a market sector or the overall market is in a confirmed uptrend before committing capital or building trading tools.

Who is it for?

Quant developers and trading tool builders who gate entries on confirmed sector or market-wide uptrend regimes.

Skip if: Long-term investors who ignore technical trend filters or developers building non-US equity strategies without Finviz-compatible data.

When should I use this skill?

User asks whether a sector or the market is in an uptrend before trading or building a trend-filtered strategy.

What you get

Sector and market uptrend ratio readings with per-stock uptrend classifications from dashboard CSV data.

  • sector uptrend ratios
  • market regime classification
  • stock uptrend flags

By the numbers

  • Tracks approximately 2,800 US stocks across 11 GICS sectors
  • Requires price > $10 and average volume > 100K for uptrend classification

Files

SKILL.mdMarkdownGitHub ↗

Uptrend Analyzer Skill

Purpose

Diagnose market breadth health using Monty's Uptrend Ratio Dashboard, which tracks ~2,800 US stocks across 11 sectors. Generates a 0-100 composite score (higher = healthier) with exposure guidance.

Unlike the Market Top Detector (API-based risk scorer), this skill uses free CSV data to assess "participation breadth" - whether the market's advance is broad or narrow.

When to Use This Skill

English:

  • User asks "Is the market breadth healthy?" or "How broad is the rally?"
  • User wants to assess uptrend ratios across sectors
  • User asks about market participation or breadth conditions
  • User needs exposure guidance based on breadth analysis
  • User references Monty's Uptrend Dashboard or uptrend ratios

Japanese:

  • 「市場のブレドスは健全?」「上昇の裾野は広い?」
  • セクター別のアップトレンド比率を確認したい
  • 相場参加率・ブレドス状況を診断したい
  • ブレドス分析に基づくエクスポージャーガイダンスが欲しい
  • Montyのアップトレンドダッシュボードについて質問

Prerequisites

  • Python 3.9+ with the requests library (CSV parsing uses the stdlib csv/io modules)
  • Internet connection to fetch CSV data from GitHub (no API key required)
  • No paid API subscriptions needed

Difference from Market Top Detector

AspectUptrend AnalyzerMarket Top Detector
Score DirectionHigher = healthierHigher = riskier
Data SourceFree GitHub CSVFMP API (paid)
FocusBreadth participationTop formation risk
API KeyNot requiredRequired (FMP)
MethodologyMonty Uptrend RatiosO'Neil/Minervini/Monty

---

Execution Workflow

Phase 1: Execute Python Script

Run the analysis script (no API key needed):

python3 skills/uptrend-analyzer/scripts/uptrend_analyzer.py

The script will: 1. Download CSV data from Monty's GitHub repository 2. Calculate 5 component scores 3. Generate composite score and reports

Phase 2: Present Results

Present the generated Markdown report to the user, highlighting:

  • Composite score and zone classification
  • Exposure guidance (Full/Normal/Reduced/Defensive/Preservation)
  • Sector heatmap showing strongest and weakest sectors
  • Key momentum and rotation signals

---

5-Component Scoring System

#ComponentWeightKey Signal
1Market Breadth (Overall)30%Ratio level + trend direction
2Sector Participation25%Uptrend sector count + ratio spread
3Sector Rotation15%Cyclical vs Defensive balance
4Momentum20%Slope direction + acceleration
5Historical Context10%Percentile rank in history

Scoring Zones

ScoreZoneExposure Guidance
80-100Strong BullFull Exposure (100%)
60-79BullNormal Exposure (80-100%)
40-59NeutralReduced Exposure (60-80%)
20-39CautiousDefensive (30-60%)
0-19BearCapital Preservation (0-30%)

7-Level Zone Detail

Each scoring zone is further divided into sub-zones for finer-grained assessment:

ScoreZone DetailColor
80-100Strong BullGreen
70-79Bull-UpperLight Green
60-69Bull-LowerLight Green
40-59NeutralYellow
30-39Cautious-UpperOrange
20-29Cautious-LowerOrange
0-19BearRed

Warning System

Active warnings trigger exposure penalties that tighten guidance even when the composite score is high:

WarningConditionPenalty
Late CycleCommodity avg > both Cyclical and Defensive-5
High SpreadMax-min sector ratio spread > 40pp-3
DivergenceIntra-group std > 8pp, spread > 20pp, or trend dissenters-3

Penalties stack (max -10) + multi-warning discount (+1 when ≥2 active). Applied after composite scoring.

Momentum Smoothing

Slope values are smoothed using EMA(3) (Exponential Moving Average, span=3) before scoring. Acceleration is calculated by comparing the recent 10-point average vs prior 10-point average of smoothed slopes (10v10 window), with fallback to 5v5 when fewer than 20 data points are available.

Historical Confidence Indicator

The Historical Context component includes a confidence assessment based on:

  • Sample size: Number of historical data points available
  • Regime coverage: Proportion of distinct market regimes (bull/bear/neutral) observed
  • Recency: How recent the latest data point is

Confidence levels: High, Medium, Low.

---

API Requirements

Required: None (uses free GitHub CSV data)

Output Files

  • JSON: uptrend_analysis_YYYY-MM-DD_HHMMSS.json
  • Markdown: uptrend_analysis_YYYY-MM-DD_HHMMSS.md

Reference Documents

references/uptrend_methodology.md

  • Uptrend Ratio definition and thresholds
  • 5-component scoring methodology
  • Sector classification (Cyclical/Defensive/Commodity)
  • Historical calibration notes

When to Load References

  • First use: Load uptrend_methodology.md for full framework understanding
  • Regular execution: References not needed - script handles scoring

Related skills

How it compares

Pick uptrend-analyzer when you need sector-level uptrend ratio gates backed by a published 2,800-stock dashboard dataset.

FAQ

How many stocks does the uptrend dashboard track?

Monty's Uptrend Ratio Dashboard tracks approximately 2,800 US stocks across 11 GICS sectors, publishing daily CSV uptrend classifications on GitHub.

What defines an uptrend stock in uptrend-analyzer?

uptrend-analyzer classifies a stock as uptrend when Finviz Elite screener conditions all pass, including price above $10 and average volume above 100,000 shares.

Where does uptrend-analyzer source its data?

uptrend-analyzer reads daily CSV exports from the tradermonty/uptrend-dashboard GitHub repository and references the live Streamlit dashboard at uptrend-dashboard.streamlit.app.

Is Uptrend Analyzer safe to install?

skills.sh reports 2 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.

Data Science & MLresearchautomation

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.