Technical Analysis logo

Technical Analysis

Community
yennanliu
technical-analysis

Technical analysis of US stocks using charts and indicators

Overview

Publisheryennanliu
RepositoryInvestSkill
Skill nametechnical-analysis
Stars
254
Forks
61
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by yennanliu on GitHub. Read the source before you install it.

Installation

Install the Technical Analysis AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/yennanliu/InvestSkill/tree/main/plugins/us-stock-analysis/skills/technical-analysis
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/yennanliu/InvestSkill.git /tmp/InvestSkill
mkdir -p .claude/skills
cp -r /tmp/InvestSkill/plugins/us-stock-analysis/skills/technical-analysis .claude/skills/technical-analysis
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Technical Analysis in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Technical Analysis on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Technical Analysis is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Technical Analysis

⚠️ Data Verification — Do This Before Any Analysis

Before running any analysis, always retrieve the latest market data for the ticker:

  1. Fetch current price — use web search or ask the user for the live price, 52-week range, and market cap. Never assume a price from training data.
  2. Confirm key figures — recent earnings, revenue, key ratios (P/E, P/S, etc.) as applicable to this skill.
  3. State your data source — fill in the Data & Sources header (next section) so the origin, as-of date, retrieval path, and confidence of every figure are explicit at the top of the output.
  4. Flag stale data explicitly — if live data is unavailable, display this warning before proceeding:

⚠️ Live data unavailable. The following analysis uses training-data estimates which may be significantly out of date. Verify all prices and metrics before making any decisions.

Never silently substitute training-data estimates for current prices. When in doubt, ask the user to paste the latest quote.


📋 Data & Sources Header — Open Every Output With It

The first thing in the output is this provenance block, filled in — never left as placeholders. It is the standard documented on the Data & Accuracy page and the first thing result-validator looks for:

Data & Sources
  As of:      <date the figures represent, e.g. 2026-06-30>
  Source:     <primary docs — SEC EDGAR 10-K/10-Q, company IR, FRED, exchange data …>
  Retrieval:  <pasted by user | web/tool retrieval | model memory>
  Confidence: <HIGH | MEDIUM | LOW>
  • Retrieval: model memory must be paired with Confidence: LOW — memory is a placeholder until confirmed against a primary source.
  • Mixed sources: list each with its own as-of date rather than blending them.
  • Sources disagree on the same figure (a closing price, a deal term): prefer the primary source (SEC filing, company release, exchange data) over an aggregator, then the most recent dated one. Show both values with their sources and dates, say which you used and why, and never average them.
  • Data the user pasted is reported as pasted by user; do not upgrade its confidence beyond what the user's own source supports.

Perform technical analysis of US stocks using price action, chart patterns, and technical indicators.

Chart Pattern Analysis

  1. Trend Identification

    • Primary trend (uptrend, downtrend, sideways)
    • Trend strength and momentum
    • Support and resistance levels
    • Trendline analysis
  2. Classic Chart Patterns

    • Head and shoulders, inverse H&S
    • Double/triple tops and bottoms
    • Cup and handle
    • Triangles (ascending, descending, symmetrical)
    • Flags and pennants
    • Wedges and channels
  3. Candlestick Patterns

    • Reversal patterns (doji, hammer, shooting star, engulfing)
    • Continuation patterns
    • Multi-candle formations

Technical Indicators

  1. Trend Indicators

    • Moving averages (SMA, EMA: 20, 50, 200-day)
    • Moving average crossovers
    • MACD (Moving Average Convergence Divergence)
    • ADX (Average Directional Index)
  2. Momentum Indicators

    • RSI (Relative Strength Index)
    • Stochastic oscillator
    • Williams %R
    • Rate of Change (ROC)
  3. Volume Indicators

    • Volume trends and patterns
    • On-Balance Volume (OBV)
    • Volume-weighted average price (VWAP)
    • Accumulation/Distribution line
  4. Volatility Indicators

    • Bollinger Bands
    • Average True Range (ATR)
    • Volatility Index correlation

Price Levels

  • Key support and resistance zones
  • Fibonacci retracement levels
  • Pivot points
  • Round number psychology
  • Gap analysis

Market Context

  • Relative strength vs. market indices
  • Sector rotation analysis
  • Market breadth indicators
  • Correlation with related assets

Moving Average Chart Analysis

When given a stock ticker, always generate an MA chart and trade recommendation table as part of the analysis. This is the first required output section.

MA Chart — Markdown Format

Retrieve or estimate recent price data and compute the following MAs:

MA PeriodLabelTrend Role
30-day SMAMA30Short-term trend
60-day SMAMA60Intermediate trend
90-day SMAMA90Medium-term trend
200-day SMAMA200Long-term bull/bear line
365-day SMAMA365Annual trend baseline

Required output — MA Position Table:

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
  MOVING AVERAGE CHART — [TICKER]          [DATE]
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
  Current Price : $[PRICE]

  MA       Value      vs Price    Signal
  ──────   ────────   ─────────   ───────────────────
  MA30     $[val]     ▲ +X.X%     [Above/Below] ← Short-term
  MA60     $[val]     ▲ +X.X%     [Above/Below] ← Intermediate
  MA90     $[val]     ▲ +X.X%     [Above/Below] ← Medium-term
  MA200    $[val]     ▼ -X.X%     [Above/Below] ← Long-term bull/bear
  MA365    $[val]     ▼ -X.X%     [Above/Below] ← Annual baseline
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
  MA Stack: [BULLISH / BEARISH / MIXED]
  (Bullish = MA30 > MA60 > MA90 > MA200 > MA365)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

ASCII Trend Chart (last ~90 trading days):

Price ($)
[HIGH] ┤         ╭──╮    ╭──╮
       ┤    ╭────╯  ╰────╯  ╰──╮       ← Price
       ┤────╯                   ╰──╮
       ┤·  ·  ·  ·  ·  ·  ·  ·  · ╰──  ← MA30
       ┤══════════════════════════════   ← MA60
       ┤- - - - - - - - - - - - - - -   ← MA90
[LOW]  ┤══════════════════════════════   ← MA200
       └─┬─────┬─────┬─────┬─────┬──→
       -90d  -70d  -50d  -30d  -10d  Today

Legend: ──── Price  · · · MA30  ════ MA60/MA200  - - - MA90

MA Crossover Signals

Look for and report these high-significance crossover events. The standard data set is MA30 / MA60 / MA90 / MA200 / MA365 (the position table above); MA50 is computed in addition, solely because the classic 50/200 cross is what the market watches — state its value when you report it:

CrossoverTypeSignificance
MA30 crosses above MA60Golden Cross (short)Short-term bullish momentum
MA30 crosses below MA60Death Cross (short)Short-term bearish reversal
MA50 crosses above MA200Golden Cross (classic)Major long-term bullish signal
MA50 crosses below MA200Death Cross (classic)Major long-term bearish signal
Price reclaims MA200 from belowBreakoutShift from bear to bull regime
Price loses MA200 supportBreakdownShift from bull to bear regime

State: most recent crossover event + how many days ago it occurred.


Trade Recommendation from MA Analysis

After computing MAs, output a clear, specific trade recommendation table:

╔══════════════════════════════════════════════════════════════════╗
║              MA-BASED TRADE RECOMMENDATION — [TICKER]           ║
╠══════════════════════════════════════════════════════════════════╣
║  Current Price : $[PRICE]                                       ║
╠══════════════════════════════════════════════════════════════════╣
║  OPERATION      │ ENTRY PRICE   │ TARGET        │ STOP-LOSS     ║
║  ───────────────┼───────────────┼───────────────┼────────────── ║
║  [BUY/SELL/HOLD]│ $[price]      │ $[price]      │ $[price]      ║
╠══════════════════════════════════════════════════════════════════╣
║  Rationale: [1-sentence MA-based reason]                        ║
║  Basis:     MA[X] = $[val] acting as [support/resistance]       ║
║  R/R Ratio: 1 : [X.X]                                          ║
║  Horizon:   [SHORT / SWING / LONG-TERM]                         ║
╚══════════════════════════════════════════════════════════════════╝

Examples of well-formed recommendations:

  • "$185 is a good BUY entry for AAPL — price pulled back to MA90 ($183) which held as support, targeting MA resistance at $198 with stop below MA200 ($175). R/R 1:2.1."
  • "$310 is a good SELL/SHORT entry for TSLA — price rejected MA60 ($312) as resistance while MA30 crossed below MA60, targeting $275 with stop at $320. R/R 1:2.5."
  • "HOLD for MSFT — price is compressing between MA30 ($415) and MA60 ($420); wait for a confirmed break above MA60 before adding."

Decision rules:

  • Price above all 5 MAs in bullish stack → BUY on MA30/MA60 dips
  • Price below MA200 but reclaiming MA90 → speculative BUY with tight stop
  • Price below all 5 MAs → SELL/AVOID; short only if MA30 < MA60 confirmed
  • Price between MAs with no clear stack → HOLD, wait for resolution

Chart Visualization Support

When --chart flag is used, include chart specifications and data tables:

1. Price Chart with Moving Averages

Chart Type: Candlestick chart with overlay lines Data Table:

Date        Open      High      Low       Close     Volume      SMA_30    SMA_60    SMA_200
2024-01-01  [price]   [price]   [price]   [price]   [volume]    [price]   [price]   [price]
2024-01-02  [price]   [price]   [price]   [price]   [volume]    [price]   [price]   [price]
...
[Last 90 trading days for detailed view]

Visual Specifications:

  • Candlesticks: Green for up days, red for down days
  • SMA 30: Blue line (short-term trend)
  • SMA 60: Orange line (intermediate trend)
  • SMA 200: Purple line (long-term trend)
  • Support/resistance: Horizontal dashed lines with labels

2. Volume Bars

Chart Type: Bar chart (synchronized with price chart) Data Table:

Date        Volume      Avg_Volume_20    Above_Avg    Color
2024-01-01  [volume]    [volume]         [Yes/No]     [Green/Red]
2024-01-02  [volume]    [volume]         [Yes/No]     [Green/Red]
...

Visual Specifications:

  • Green bars: Volume on up days
  • Red bars: Volume on down days
  • Dashed line: 20-day average volume
  • Highlight bars exceeding 2x average volume

3. RSI Indicator Panel

Chart Type: Line chart with overbought/oversold zones Data Table:

Date        RSI_14    Overbought_70    Oversold_30    Signal
2024-01-01  [value]   70               30             [Neutral/OB/OS]
2024-01-02  [value]   70               30             [Neutral/OB/OS]
...

Visual Specifications:

  • RSI line: Blue
  • Overbought zone (>70): Red shaded area
  • Oversold zone (<30): Green shaded area
  • Midline (50): Dashed gray line
  • Divergence annotations if present

4. MACD Indicator Panel

Chart Type: Line chart with histogram Data Table:

Date        MACD      Signal    Histogram    Crossover
2024-01-01  [value]   [value]   [value]      [None/Bullish/Bearish]
2024-01-02  [value]   [value]   [value]      [None/Bullish/Bearish]
...

Visual Specifications:

  • MACD line: Blue
  • Signal line: Red
  • Histogram: Green (positive), Red (negative)
  • Zero line: Black dashed
  • Crossover markers: Arrows or dots

5. Bollinger Bands

Chart Type: Overlay on price chart Data Table:

Date        Price     BB_Upper    BB_Middle    BB_Lower    %B       Bandwidth
2024-01-01  [price]   [price]     [price]      [price]     [value]  [value]
2024-01-02  [price]   [price]     [price]      [price]     [value]  [value]
...

Visual Specifications:

  • Upper band: Red dashed line
  • Middle band (20 SMA): Blue solid line
  • Lower band: Green dashed line
  • Shaded area between bands: Light gray
  • Price line: Black candlesticks

6. Support & Resistance Levels

Annotation Overlay:

Level Type       Price      Strength    Touches    Last Test    Notes
Resistance       $[price]   Strong      5          [date]       Historical high
Resistance       $[price]   Medium      3          [date]       Recent rejection
Support          $[price]   Strong      4          [date]       Key accumulation zone
Support          $[price]   Weak        2          [date]       Minor bounce level
Fibonacci 61.8%  $[price]   N/A         -          -            Retracement level

7. Pattern Recognition Annotations

Chart Overlays:

Pattern Type              Start Date    End Date      Status        Target        Risk/Reward
Head & Shoulders          2024-01-15    2024-02-10    Confirmed     $[price]      1:3.2
Ascending Triangle        2024-02-01    Current       Forming       $[price]      1:2.5
Flag Pattern             2024-02-05    2024-02-08    Complete      $[price]      1:2.8

Visual Elements:

  • Pattern boundaries: Colored rectangles or polygons
  • Trendlines: Dashed connecting lines
  • Breakout points: Arrows indicating direction
  • Target levels: Horizontal lines with labels

ASCII Chart Example (Terminal Display)

Technical Chart: AAPL (Last 30 Days)

Price ($)
180 ┤                                    ╭─╮
175 ┤                              ╭─────╯ ╰─╮
170 ┤                        ╭─────╯         ╰──╮
165 ┤                  ╭─────╯                  ╰─╮  ← Current: $172.50
160 ┤            ╭─────╯                          ╰──
155 ┤      ╭─────╯                                      SMA 30: $168.23
150 ┤──────╯                                            SMA 60: $165.80
    └──┬─────┬─────┬─────┬─────┬─────┬─────┬──          ══════ Resistance: $178
     1/15  1/22  1/29  2/05  2/12  2/19  2/26          ══════ Support: $155

RSI (14)
 70 ┤                                    ● ← 68 (approaching OB)
 50 ┤                        ●     ●
 30 ┤            ●
    └──┬─────┬─────┬─────┬─────┬─────┬─────┬──

Volume (M)
100M┤                                    █
 75M┤                              █     █
 50M┤            █     █     █     █  █  █  █
 25M┤      █  █  █  █  █  █  █  █  █  █  █  █
    └──┬─────┬─────┬─────┬─────┬─────┬─────┬──

Signals:
↗ Bullish: Price above SMA 30 & 60
● RSI approaching overbought (68) - potential pullback
📊 Volume increasing on up days - healthy uptrend
🎯 Target: $178 (resistance), Stop: $165 (below SMA 60)

Integration with Report Generator

When --chart flag is used, output is optimized for /report-generator:

  • All chart data tables formatted for Chart.js/Plotly
  • Color schemes specified for consistent visualization
  • Annotations and overlays clearly defined
  • Time axis formatting (date range, granularity)
  • Y-axis scaling recommendations (log scale for long-term charts)

Chart Configuration Recommendations

Timeframe Selection:

  • Day Trading: 1-minute to 1-hour candles, last 5-10 days
  • Swing Trading: 4-hour to daily candles, last 3-6 months
  • Position Trading: Daily to weekly candles, last 1-3 years

Indicator Combinations:

  • Trend Following: SMA 50/200 + MACD + ADX
  • Mean Reversion: Bollinger Bands + RSI + Stochastic
  • Momentum: RSI + MACD + Volume
  • Breakout: Bollinger Bands + Volume + Pattern Recognition

Multi-Timeframe Analysis (MTF)

Framework

Analyze 3 timeframes simultaneously — higher timeframe establishes the trend, primary timeframe identifies the setup, lower timeframe refines the entry. Trade only in the direction of the higher timeframe trend.

Trading Setups by Approach

ApproachHigher TF (Trend)Primary TF (Setup)Lower TF (Entry)
Day TradingWeeklyDaily1-Hour
Swing TradingMonthlyWeeklyDaily
Position TradingQuarterlyMonthlyWeekly

MTF Alignment Scoring

Alignment ScoreInterpretation
3/3 BullishStrong long setup — all timeframes confirm uptrend
3/3 BearishStrong short setup — all timeframes confirm downtrend
2/3 AlignedModerate setup — primary direction clear, minor conflict
1/3 AlignedWeak/conflicting — avoid new positions, wait for clarity
0/3 AlignedContradiction across all timeframes — no trade

MTF Confluence Table

TimeframeTrend DirectionKey SignalSupportResistanceAlignment
Higher TF
Primary TF
Lower TF
OverallScore: X/3

MTF Integration with --chart Flag

When --chart is used, MTF analysis adds the following data tables for report generation:

MTF Summary Table:
Timeframe   Candle   MA Trend    RSI     MACD       Volume Trend   Signal
Weekly      [data]   [Up/Down]   [val]   [Bull/Bear] [Rising/Fall]  [Bullish/Bearish/Neutral]
Daily       [data]   [Up/Down]   [val]   [Bull/Bear] [Rising/Fall]  [Bullish/Bearish/Neutral]
4-Hour      [data]   [Up/Down]   [val]   [Bull/Bear] [Rising/Fall]  [Bullish/Bearish/Neutral]
Alignment Score: X/3

Rule: Never take a trade rated 1/3 or lower on MTF alignment. Wait for 2/3 minimum before entry.


Volume Profile Analysis

Key Concepts

  • Point of Control (POC): The price level with the highest volume traded over the selected period. Acts as a magnetic price level — markets frequently return to and consolidate around the POC.
  • Value Area (VA): The price range where approximately 70% of total volume was traded. Defines the "fair value zone" as agreed upon by market participants.
  • Value Area High (VAH): Upper boundary of the Value Area. Strong resistance when price is approaching from below.
  • Value Area Low (VAL): Lower boundary of the Value Area. Strong support when price is approaching from above.
  • Low Volume Node (LVN): A price range with minimal volume. Price passes through LVNs quickly — acts as a gap zone.
  • High Volume Node (HVN): A price range with dense volume. Price is magnetically attracted and consolidates around HVNs.

Volume Profile Shapes

ShapeDescriptionImplication
Normal (Bell Curve)Symmetric distribution, clear POC in the middleBalanced, range-bound market — fair value accepted
P-ShapeHigh volume at top, thin tail at bottomBuying tail below = short-covering rally, bullish
b-ShapeHigh volume at bottom, thin tail at topSelling tail above = distribution/top, bearish
Double DistributionTwo high-volume nodes with low-volume gap betweenMarket in transition — break of LVN is directional
Thin ProfileVolume evenly spread, no clear POCTrending market — follow the trend, no anchoring

Volume Profile Trading Rules

ScenarioInterpretationAction
Price > VAH (above Value Area)Bullish — market accepted higher prices, strong trendBuy breakouts above VAH with volume
Price < VAL (below Value Area)Bearish — market rejected higher prices, breakdownSell breakdowns below VAL with volume
Price at POCHigh acceptance zone — balanced, range-bound likelyFade edges of range; buy VAL, sell VAH
Price enters LVN (thin area)Fast move — price moves quickly through low-volume gapExpect acceleration; don't fade momentum
Price at HVNMagnetic zone — consolidation, range trade likelyMean-reversion strategies appropriate

Session vs. Composite Profile

  • Session Profile: Volume profile for a single trading day or week. Identifies intraday POC, VAH, VAL.
  • Composite Profile: Aggregated over weeks, months, or custom date range. Identifies major structural levels.
  • Integration rule: Composite HVNs = major structural support/resistance levels. LVNs = breakout acceleration zones. Session POC = short-term magnet.

Advanced Indicators: Ichimoku Cloud

Five Components

ComponentCalculationDefault PeriodPurpose
Tenkan-sen(9-period High + 9-period Low) / 29 periodsShort-term trend / momentum line
Kijun-sen(26-period High + 26-period Low) / 226 periodsMedium-term trend / baseline
Senkou Span A(Tenkan-sen + Kijun-sen) / 2, plotted 26 aheadLeadingFast cloud boundary
Senkou Span B(52-period High + 52-period Low) / 2, plotted 26 ahead52 periodsSlow cloud boundary
Chikou SpanCurrent close plotted 26 periods backLaggingConfirms trend vs. historical price

The shaded area between Senkou Span A and Senkou Span B is the Kumo (Cloud).

Bullish Ichimoku Signals

SignalConditionStrength
Price above CloudPrice above both Span A and Span BBase condition
Green CloudSpan A > Span B (cloud is green/bullish)Trend support
TK Cross (Bullish)Tenkan-sen crosses above Kijun-senMedium signal
TK Cross above CloudBullish TK cross while price is above the cloudStrong signal
Chikou above priceChikou Span is above historical price 26 periods agoConfirms uptrend
All 5 elements alignedAll conditions bullish simultaneouslyStrongest signal

Bearish Ichimoku Signals

SignalConditionStrength
Price below CloudPrice below both Span A and Span BBase condition
Red CloudSpan B > Span A (cloud is red/bearish)Trend resistance
TK Cross (Bearish)Tenkan-sen crosses below Kijun-senMedium signal
TK Cross below CloudBearish TK cross while price is below the cloudStrong signal
Chikou below priceChikou Span is below historical price 26 periods agoConfirms downtrend
All 5 elements alignedAll conditions bearish simultaneouslyStrongest signal

Kumo Twist

  • A Kumo Twist occurs when Senkou Span A and Span B cross — changing the cloud color from green to red (bearish twist) or red to green (bullish twist).
  • The cloud is plotted 26 periods ahead, so a Kumo Twist is an early warning signal visible in advance.
  • Thin cloud: Weak support/resistance — price can break through easily.
  • Thick cloud: Strong support/resistance — price will struggle to penetrate.

Ichimoku Signal Strength Matrix

# Bullish Conditions MetSignal GradeSuggested Bias
5/5Maximum BullishStrong long bias
4/5Strong BullishLong bias
3/5Moderate BullishLean long
2/5Mixed / TransitioningNeutral
1/5 or 0/5BearishShort bias

Options Flow Integration

Put/Call Ratio Interpretation

The Put/Call ratio measures options market sentiment — the ratio of put volume to call volume on a given day.

P/C RatioInterpretation
< 0.6Extreme bullishness / complacency — contrarian warning (overbought)
0.6–0.7Bullish — call buyers dominating, positive sentiment
0.7–1.0Neutral — balanced activity
1.0–1.3Bearish fear — put buyers dominating, defensive hedging
> 1.3Extreme fear — potential contrarian buy signal (maximum bearishness)

CBOE Total P/C vs. Equity-Only P/C: Equity-only P/C more directly reflects retail/institutional directional bets (excludes index hedging).

Unusual Options Activity (UOA) Signals

  • Large block trades: Single orders of 500+ contracts, especially OTM (out-of-the-money)
  • OTM sweeps: Aggressive market orders sweeping multiple exchanges at ask — directional conviction
  • Dark pool prints: Large, off-exchange block prints can signal institutional accumulation/distribution
  • Short-dated OTM calls on takeover candidates: One of the most reliable pre-announcement signals
  • Key UOA filters: Volume > 5x open interest, expiry within 30 days, OTM strike, market order execution

Implied Volatility (IV) vs. Historical Volatility (HV)

ConditionDescriptionOptions Strategy Implication
IV >> HVOptions are expensive — market pricing elevated movesPremium selling opportunity (write options)
IV ≈ HVOptions fairly pricedNo directional vol edge
IV << HVOptions are cheap — market underpricing movesBuying options (long vol opportunity)
  • IV Rank (IVR): Current IV relative to its 52-week range. IVR > 50 = elevated; IVR < 25 = depressed.
  • IV Percentile: % of days in the past year where IV was lower than current. More robust than IV Rank.

Max Pain Theory

  • Max Pain = The strike price at which the total value of all outstanding options (puts and calls) would expire worthless — the price that causes maximum loss for option buyers.
  • Near expiration, market prices have a tendency to gravitate toward the max pain level (due to dealer hedging flows).
  • Most useful in the final 5–7 days before monthly options expiration (OPEX).
  • Application: If stock is significantly above max pain near OPEX, short-term mean reversion is possible.

Gamma Exposure (GEX) and Spot Price Impact

  • Gamma measures how much a dealer's delta changes per $1 move in the underlying.
  • Positive GEX (Dealer Long Gamma): Dealers buy into dips and sell into rallies — suppresses volatility, market stays range-bound.
  • Negative GEX (Dealer Short Gamma): Dealers sell into dips and buy into rallies — amplifies moves, increases volatility.
  • GEX Flip Level: The price at which market transitions from positive to negative gamma — crossing this level can accelerate directional moves.
  • Practical rule: Low realized volatility + tightening range = likely high positive GEX environment. Breakouts become more powerful when negative GEX zone is entered.

Note: This section provides interpretive framework. Actual real-time options flow data, IV readings, and GEX levels must be sourced from the user's options data provider (e.g., Market Chameleon, Unusual Whales, SpotGamma, Thinkorswim).


Output

Provide technical analysis report with:

  • Current trend and momentum assessment
  • Key chart patterns identified
  • Support and resistance levels
  • Technical indicator signals
  • Volume and volatility analysis
  • Entry/exit points and price targets
  • Stop-loss recommendations
  • Risk/reward ratio for trade setups
  • Time horizon (short-term, swing, position trading)
  • MTF alignment score and summary table
  • Ichimoku Cloud status (price above/below/inside cloud)
  • Volume Profile POC, VAH, VAL levels

Enhanced Output (with --chart flag)

  • All standard output sections above
  • Chart data tables for price, volume, and indicators
  • MTF confluence table with signal direction per timeframe
  • ASCII charts for terminal display
  • Pattern recognition overlays with annotations
  • Support/resistance level visualizations
  • Volume Profile data (POC, VA, LVN/HVN zones)
  • Technical indicator panels (RSI, MACD, Bollinger Bands, Ichimoku)
  • Chart specifications for HTML report generation
  • Color-coded signals (bullish/bearish/neutral)

Keep analysis objective and data-driven, avoiding emotional bias.

Standard Signal Output

All analysis concludes with this standardized block:

## Thesis Invalidation

After delivering the analysis signal, specify what would reverse it:

**If signal is BULLISH — thesis breaks if:**
- Price closes below the MA200 / key support level identified in this analysis on above-average volume
- MA30 crosses below MA60 (death cross) AND RSI drops below 40
- Macro regime shift: Fed pivots hawkish unexpectedly, recession probability >60%

**If signal is BEARISH — thesis breaks if:**
- Price closes above key resistance / MA200 level with volume confirmation
- price reclaims MA200 AND MA30 turns up AND volume confirms
- Fundamental improvement: surprise earnings beat >20% with guidance raise

**Re-run this analysis when:**
- [ ] Next earnings release
- [ ] Price moves ±15% from current level
- [ ] 60 days have elapsed
- [ ] Material news event (acquisition, leadership change, regulatory decision)

╔══════════════════════════════════════════════╗
║              INVESTMENT SIGNAL               ║
╠══════════════════════════════════════════════╣
║ Signal:      BULLISH / NEUTRAL / BEARISH     ║
║ Confidence:  HIGH / MEDIUM / LOW             ║
║ Horizon:     SHORT / MEDIUM / LONG-TERM      ║
║ Score:       X.X / 10                        ║
╠══════════════════════════════════════════════╣
║ Action:      BUY / HOLD / SELL               ║
║ Conviction:  STRONG / MODERATE / WEAK        ║
╚══════════════════════════════════════════════╝

Score Guide: 8.0–10.0 Strongly Bullish | 6.0–7.9 Moderately Bullish | 4.0–5.9 Neutral | 2.0–3.9 Moderately Bearish | 0.0–1.9 Strongly Bearish Confidence: HIGH (strong data, clear signals) | MEDIUM (mixed signals) | LOW (limited data, conflicting signals) Horizon: SHORT-TERM (1 week–3 months) | MEDIUM-TERM (3 months–1 year) | LONG-TERM (1+ years)

Disclaimer: Educational analysis only. Not financial advice.

Frequently asked questions

What does the Technical Analysis AI skill do?

Technical analysis of US stocks using charts and indicators

Why use Technical Analysis on TypingMind?

Because you install it once and use it with any model. Technical Analysis is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Technical Analysis in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/yennanliu/InvestSkill/tree/main/plugins/us-stock-analysis/skills/technical-analysis. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Technical Analysis?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Technical Analysis?

As many as you like. As long as a model supports skills, you can use Technical Analysis with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Technical Analysis AI skill free?

Yes. It is published on GitHub by yennanliu under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇