🧠 Market Pattern Recognition

Advanced AI-powered technical pattern detection and analysis system

🚀 New Features (v2.1)

Recent updates have introduced powerful new capabilities to the Pattern Recognition system.

🔔 Real-time Alerts

Set custom alerts for Price, RSI, SMA, and VWAP conditions. Receive instant notifications when your criteria are met.

🛠️ Strategy Builder

Create complex trading strategies with multiple conditions (AND/OR logic). Backtest your strategies against historical data.

⏱️ Enhanced VWAP

Analyze VWAP with new anchoring options: Cumulative, 1D (Session), 1W, and 1M. Harmonized across Charts and Strategy Builder.

📈 Institutional Activity

New Money Flow Multiplier logic visualizes Buying vs. Selling pressure. See top accumulation and distribution candidates instantly.

⚡ Fast SMAs

Added SMA 4 and SMA 6 for high-frequency trend detection. Available in Charts, Backtester, and Scanner.

🧪 Smart Backtesting

Backtester now captures Open Positions at the end of data. They are visualized on the chart but excluded from performance metrics to ensure accuracy.

♟️ Strategy Performance Lab

A powerful new environment for batch-testing your strategies against entire watchlists to validate their robustness.

🧪 Batch Analysis

Run any saved strategy against all stocks in your active watchlist simultaneously. No need to test one by one.

📊 Aggregate Metrics

Get a high-level view of strategy performance:

  • Win Rate: Average win rate across all symbols.
  • Total Return: Cumulative portfolio return.
  • Avg Return: Average return per stock.
  • Avg Duration: Average holding time in bars (days).

🔍 Deep Dive Details

Click the Details button to reveal the Top 5 and Bottom 5 performers. Identify which stocks are driving returns and which are dragging you down.

⚙️ Consistent Settings

The Lab respects your Strategy Builder settings (Position Size, Stop Loss, etc.), ensuring that the batch results match your individual backtests.

How to Use

  1. Open the Strategy Builder and save your strategy (ensure Backtest Settings like Position Size are correct).
  2. Navigate to the Strategy Performance Lab section (below the Pattern Dashboard).
  3. Select your strategy from the dropdown menu.
  4. Click Run on Watchlist.
  5. Analyze the results table. Use the Details view to find outliers.

🐉 TrendPredictor VIX Strategy

A sophisticated volatility term structure analysis tool designed for institutional-grade regime detection.

📊 VIX Term Structure

Analyzes the relationship between short-term volatility (VIX) and medium-term volatility (VIX3M) to detect market stress.

🚦 Risk On/Off Signals

Green Zone (Risk On): Ratio > 1.0. Safe for leverage (TQQQ).
Red Zone (Risk Off): Ratio < 1.0. Cash protection mode.

📉 TQQQ Visualization

Directly overlays TQQQ price action with regime background stripes to visualize strategy performance.

🛡️ Dual Data Sources

Robust data fetching with automatic failover from Financial Modeling Prep (Primary) to Yahoo Finance (Backup).

⚓ Signal-Anchored VWAP

Institutional Average: Calculates VWAP starting from the exact moment the Risk Regime flips.

Trend Confirmation: Price > VWAP confirms a strong trend. Price < VWAP suggests weakness.

Indicator Definitions

📉 VIX

CBOE Volatility Index (30-Day). Represents the market's expectation of near-term volatility. Often called the "Fear Gauge". Spikes in VIX usually correlate with market drops.

📅 VIX3M

CBOE 3-Month Volatility Index. Represents medium-term volatility expectations. In a stable bull market, VIX3M is typically higher than VIX (a state called Contango).

➗ Ratio (SMA10)

Smoothed Term Structure Ratio. Calculated as the 10-day Simple Moving Average of (VIX3M / VIX). This smooths out daily noise to reveal the true market regime.
> 1.0: Healthy (Risk On)
< 1.0: Dangerous (Risk Off)

📈 Trend

Price vs. Anchored VWAP. Determines the immediate health of the price action relative to the last major signal change. If Price is above the orange VWAP line, the trend is bullish.

💼 Allocation

Position Sizing. The strategy is binary:
Risk On: 100% Allocation to TQQQ (Leveraged Nasdaq-100).
Risk Off: 100% Allocation to Cash/SHV (Capital Preservation).

🎨 Visual Semiotics (Decoding the Chart)

🟢 Vibrant Green Background

Strong Risk On (Ratio > 1.10). The market is in deep Contango. Volatility is suppressed and momentum is strong.
Action: Full Allocation to TQQQ.

🔵 Teal/Cyan Background

Weak Risk On (Ratio 1.0 - 1.10). The market is still in Contango, but the curve is flattening. This indicates consolidation or rising uncertainty.
Action: Hold, but do not add size.

⚠️ Yellow Dots

"Yellow Flag" Warning. Indicates a sudden volatility spike (>5%) within an uptrend. Often signals momentum exhaustion or a "shakeout".
Action: Hedge (Covered Calls) or Tighten Stops.

🔴 Red/No Background

Risk Off (Ratio < 1.0). Backwardation. Immediate fear is higher than future expectations.
Action: 100% Cash. Protect Capital.

How to Interpret

📈 TrendPredictor Integration

The powerful VIX-based logic from the TrendMonster strategy is now fully integrated into the core analysis tools.

📊 Chart Visualization

See the Trend. You can now visualize the TrendPredictor % directly on the main chart. It appears as a histogram in the bottom pane (sharing space with RSI).

  • Green Bars: Positive Trend (Risk On)
  • Red Bars: Negative Trend (Risk Off)
  • Toggle: Enable via Chart Settings > Indicators > TrendPredictor (%)

🛠️ Strategy Builder Support

Trade the Trend. The "TrendPredictor (%)" is now available as a first-class indicator in the Strategy Builder.

  • Condition: "TrendPredictor (%)" > Value (e.g., 0)
  • Logic: Combine with other indicators (e.g., RSI < 30 AND TrendPredictor > 0)

� Trend Reversal Indicators

Catch the Turn. New specialized indicators detect exactly when the trend curve changes direction.

  • TrendBuy (Bottom): Detects when the trend stops falling and turns up (Concave). Value is the absolute delta from the previous turn.
  • TrendSell (Top): Detects when the trend stops rising and turns down (Convex). Value is the absolute delta from the previous turn.
  • Usage: Use "TrendBuy > 0" to catch any bottom, or "TrendBuy > 5.0" to catch strong reversals.

�📐 Advanced Sloping Conditions

Detect Momentum. New "Sloping Up" and "Sloping Down" conditions allow you to catch trends early.

  • Sloping Up: Checks if an indicator (SMA, RSI) is rising over X periods.
  • Sloping Down: Checks if an indicator is falling.
  • Use Case: "SMA20 Sloping Up" confirms an uptrend better than just "Price > SMA20".

🏦 Institutional Activity Analysis

Track the "Smart Money" with our new Institutional Activity monitor. This system uses advanced volume-price analysis to detect accumulation and distribution.

📊 Money Flow Multiplier

Calculates the relationship between the Close price and the High/Low range, weighted by Volume. This reveals if volume is flowing IN (Buying) or OUT (Selling).

🟢 Buying Pressure

Accumulation. Indicates that institutions are buying the dip or supporting the price. High buying pressure often precedes a breakout.

🔴 Selling Pressure

Distribution. Indicates that institutions are selling into strength or exiting positions. High selling pressure warns of a potential reversal.

🏆 Top Lists

Automatically ranks your watchlist to show the Top 3 Accumulation and Top 3 Distribution candidates for immediate focus.

🛠️ Advanced Strategy Tools

Take your trading to the next level with our suite of professional strategy development and monitoring tools.

♟️ Strategy Tester

Backtest Your Ideas. Define entry and exit rules using our visual builder (no coding required). Run simulations against historical data to verify win rates and profitability.

  • Visual Rule Builder (AND/OR Logic)
  • Multi-Condition Support (RSI, SMA, VWAP, Volume)
  • Smart Metrics: Excludes open positions from Win Rate/Return to prevent skewing data.
  • Visual Feedback: See "OPEN" trades on the chart and in the log.

📡 Strategy Scanner

Find Opportunities Instantly. Apply your custom strategies to the entire market. The scanner filters thousands of stocks to find only those matching your exact criteria in real-time.

  • Scan Universes: Scan Watchlists, Custom Lists, or the entire market.
  • Real-time "Match" Detection: Instantly identifies stocks meeting your criteria.
  • Signal Type: Clearly displays if the match is a BUY (Entry) or SELL (Exit) signal.
  • One-Click Action: Add matches directly to your watchlist or open detailed analysis.

🔔 Active Alerts Summary

Never Miss a Move. A centralized dashboard for all your active market monitors. Manage price alerts, technical condition triggers, and strategy signals in one place.

  • Live Status Monitoring
  • One-Click Enable/Disable
  • Visual "Triggered" History

📊 System Overview

The Market Pattern Recognition system provides real-time detection and analysis of technical trading patterns, integrated seamlessly with the existing Swan Score and Fundamental Analysis components.

🎯 Pattern Detection

Automatically identifies classic technical patterns like triangles, flags, head & shoulders, and more using advanced algorithms.

📈 Confidence Scoring

Each pattern receives a confidence score based on multiple technical factors including volume, price action, and historical reliability.

🎨 Visual Progress Bars

Component bars matching Swan Score design show overall confidence, volume confirmation, technical strength, and pattern diversity.

🎓 Grade System

Comprehensive A+ to F grading system provides quick assessment of pattern recognition quality and reliability.

🧩 Pattern Categories

📈 Breakout Patterns

Triangles, Flags, Pennants

🔄 Reversal Patterns

Head & Shoulders, Hammers, Dojis

📊 Volume Patterns

Volume Spikes, Accumulation

⚡ Momentum Patterns

RSI Divergence, MACD Signals

🚀 How to Use Pattern Recognition

Step 1: Access the Feature

Navigate to the Configuration tab in the main TradePro application and look for the "🧪 Test Pattern Recognition" button to try the demo functionality.

Step 2: Analyze Results

Pattern recognition results appear in the Analysis Results tab alongside Swan Score, Fundamental Analysis, and Checklist Evaluation.

Step 3: Interpret the Data

  • Overall Grade: A+ to F rating based on pattern confidence
  • Progress Bars: Visual indicators for confidence, volume, technical strength, and pattern diversity
  • Individual Patterns: Detailed breakdown of each detected pattern with confidence levels

🎮 Interactive Demo

Experience the pattern recognition system with realistic sample data:

🔗 System Integration

🦢 Swan Score Integration

Pattern recognition results are displayed alongside Swan Score components with matching visual design and progress bars.

📊 Fundamental Analysis

Combined with fundamental metrics to provide comprehensive stock analysis covering both technical and fundamental aspects.

✅ Checklist Evaluation

Pattern signals enhance checklist criteria evaluation, providing additional confirmation for investment decisions.

📱 Responsive Design

Fully responsive interface works seamlessly across desktop, tablet, and mobile devices with optimized layouts.

🔔 Smart Strategy Alerts

Stateful Monitoring

Unlike traditional price alerts, Smart Strategy Alerts track the entire lifecycle of your strategy. They know if you are currently "In a Trade" or "Waiting for Entry".

Seamless Backtest Integration

Create alerts directly from the Strategy Tester. If your backtest ends with an open position, the alert system automatically picks up where the simulation left off, starting in a "Waiting for Exit" state.

Detailed Signal History

Track every signal generated by your strategy. Click on any alert in the dashboard to expand its history and see exactly when and why trades were entered or exited.

How to Use Smart Alerts

  1. Build & Test: Create your strategy in the Strategy Builder and run a backtest on your chosen symbol.
  2. Set Alert: Click the "🔔 Set Alert" button in the Strategy Tester results panel.
  3. Monitor: The system will now run your strategy in real-time.
    • If the backtest ended Flat: The alert starts as "Waiting for Entry".
    • If the backtest ended In Position: The alert starts as "Waiting for Exit" (Active Trade).
  4. Review: Check the "Active Alerts Summary" dashboard to see the status of all your running strategies. Click an alert to view its full signal history.

🛠️ Troubleshooting

Common Issues

  • Pattern Recognition not showing: Ensure you have recent stock analysis data. Try running a fresh analysis.
  • Low confidence scores: This is normal for uncertain market conditions. Look for multiple pattern confirmations.
  • Missing pattern data: Check that the Live Market Pattern Recognition system is properly configured.

Best Practices

  • Use pattern recognition in combination with fundamental analysis for best results
  • Pay attention to volume confirmation - patterns with high volume are more reliable
  • Consider the overall grade and not just individual pattern confidence
  • Use pattern diversity as an indicator - multiple patterns increase reliability

📚 Related Resources

← Back to Help Center