Skip to content
TheChatArchiveThe Chat Archive
Claudeclaude-sonnet-4-20250514· AnthropicHugging Face LMArena Human Preference 140K

I want to come up with swing trading strategies, i want to combine multiple trading…

From a Chatbot Arena battleThe same person sent this prompt to two anonymous models at once. Compare it with Amazon Novaamazon.nova-pro-v1:0’s answer.
  1. User

    I want to come up with swing trading strategies, i want to combine multiple trading indicators for it (Trend Indicators, momentum, volume, volatility, support resistance, oscillators). for swing of 3 days to max 2 months. Now i want to do with math, can you tell me how to approach this, think deep and let me know. I want to have math involved too, by that i mean, let's say you are suggesting a combination of indicators, tell me why we are choosing for that time frame, math's behind it. Also, its okay if you want to add any other indicator or fundamental analysis, i know no trading system is perfect so don't worry about the risks. i will back test and have stop loss

  2. Claude Assistant

    Here's a mathematical approach to building a multi-indicator swing trading system for your 3-day to 2-month timeframe:

    Mathematical Framework for Timeframe Selection

    For swing trading in the 3-day to 2-month range, we need indicators that capture intermediate-term cycles. Market cycles typically follow fractal patterns, so we'll use lookback periods based on mathematical relationships:

    Primary Timeframe Logic:

    • Daily charts for signal generation
    • 21-day period (≈1 trading month) as base cycle
    • Fibonacci-based periods: 8, 13, 21, 34, 55 days
    • This captures the mathematical relationship where each period ≈ 1.618x the previous

    Core Mathematical Indicator Combination

    1. Trend Component (40% weight)

    Exponential Moving Average Crossover System:

    • Fast EMA: 13-day (α = 2/14 = 0.143)
    • Slow EMA: 34-day (α = 2/35 = 0.057)
    • Signal strength = (EMA13 - EMA34) / EMA34

    Mathematical reasoning: The 13/34 ratio (≈0.38) approximates the golden ratio's inverse, providing optimal sensitivity for swing timeframes while filtering noise.

    2. Momentum Component (25% weight)

    Modified RSI with Rate of Change:

    • RSI(14) combined with ROC(21)
    • Composite momentum = 0.6 × RSI(14) + 0.4 × [50 + ROC(21)]
    • Entry threshold: >60 for long, <40 for short

    Mathematical reasoning: 14-day RSI captures short-term momentum, while 21-day ROC captures intermediate momentum. The weighted combination reduces false signals by requiring alignment across timeframes.

    3. Volume Confirmation (15% weight)

    Volume-Weighted Average Price (VWAP) Deviation:

    • Calculate 21-day VWAP
    • Volume momentum = (Current Volume / 21-day Avg Volume)
    • Price-volume alignment = (Price - VWAP) × Volume momentum

    Mathematical reasoning: Volume leads price, so we need volume confirmation that's proportional to price movement magnitude.

    4. Volatility Filter (10% weight)

    Bollinger Band Position with ATR:

    • BB Position = (Close - BB_Lower) / (BB_Upper - BB_Lower)
    • Volatility factor = ATR(14) / Close
    • Combined volatility score = BB Position × (1 + Volatility factor)

    Mathematical reasoning: This normalizes volatility across different price levels and identifies optimal entry points when volatility is expanding but not extreme.

    5. Support/Resistance (10% weight)

    Pivot Point Strength:

    • Calculate 21-day pivot highs/lows
    • Distance factor = |Current Price - Nearest Pivot| / ATR(14)
    • Strength = 1 / (1 + Distance factor)

    Mathematical Scoring System

    Overall Signal Score = Σ(Indicator_i × Weight_i)

    Where each indicator is normalized to [-1, 1] scale:

    Long Signal Criteria:
    - Overall Score > 0.6
    - Trend Component > 0.3
    - At least 3 of 5 components positive
    - Volume confirmation present
    
    Short Signal Criteria:
    - Overall Score < -0.6
    - Trend Component < -0.3
    - At least 3 of 5 components negative
    - Volume confirmation present
    

    Advanced Mathematical Enhancements

    1. Adaptive Periods Using Market Efficiency

    Calculate the Hurst Exponent (H) over rolling 55-day windows:

    • If H > 0.55 (trending): Use longer periods (multiply by 1.3)
    • If H < 0.45 (mean-reverting): Use shorter periods (multiply by 0.8)

    2. Correlation-Based Weight Adjustment

    Dynamically adjust indicator weights based on their correlation with future returns over the past 89 days:

    Weight_adjusted = Weight_base × (1 + Correlation_coefficient)
    

    3. Volatility-Adjusted Position Sizing

    Position Size = (Risk per Trade) / (2 × ATR(14))
    

    Entry and Exit Mathematics

    Entry Timing: Use a confirmation system requiring signal persistence:

    • Initial signal must maintain for 2 consecutive days
    • Signal strength must increase or remain stable

    Exit Strategy:

    • Profit target: 2.5 × ATR(14) from entry
    • Stop loss: 1.5 × ATR(14) from entry
    • Time-based exit: If no 10% move within 21 days, reassess

    Mathematical expectation: This gives a risk-reward ratio of 1.67:1, requiring a win rate of approximately 38% to be profitable.

    Fundamental Analysis Integration

    Add a fundamental momentum score based on:

    • Earnings revision trends (quarterly)
    • Revenue growth acceleration
    • Sector relative strength

    Weight this as 5% of total signal for longer-term swings (>3 weeks).

    Backtesting Framework

    Test this system using:

    • Walk-forward analysis with 252-day training periods
    • Monte Carlo simulation for robustness testing
    • Maximum drawdown analysis with 95% confidence intervals

    The mathematical foundation ensures each component serves a specific purpose in capturing different market dynamics while maintaining statistical significance across your target timeframe.

Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.