Skip to main content

42 Sweet Spots: Mercury Bot's Market Analysis Patterns

· 3 min read
Max Kaido
Architect

Introduction

Mercury Bot's market analysis system is evolving beyond traditional candlestick patterns to focus on pure indicator-based setups. This guide introduces 42 "sweet spots" - specific market conditions that can trigger high-probability trading signals. Each setup is defined by a combination of technical indicators and specific market conditions.

Core Principles

Our sweet spots follow three key principles:

  1. Pure Indicator Focus: No reliance on subjective candlestick patterns
  2. Multi-Factor Confirmation: Each setup requires multiple indicators to align
  3. Timeframe Optimization: Each pattern is optimized for specific timeframes

Implementation in Mercury Bot

Each sweet spot is implemented using this structure:

interface SweetSpot {
name: string;
definition: string;
timeframe: string;
requiredIndicators: string[];
conditions: IndicatorCondition[];
confidence: number;
}

interface IndicatorCondition {
indicator: string;
condition: 'ABOVE' | 'BELOW' | 'CROSSING_UP' | 'CROSSING_DOWN';
value: number | string;
lookback?: number;
}

High-Probability Setups

1. HIGH_VOL_SPOT_LONG

  • Definition: Volatility surge with Stochastic RSI oversold recovery
  • Timeframe: 1h/4h
  • Required Indicators:
    • Stochastic RSI
    • Historical Volatility Percentile/ATR
const HIGH_VOL_SPOT_LONG: SweetSpot = {
name: 'HIGH_VOL_SPOT_LONG',
timeframe: '4h',
requiredIndicators: ['stochRSI', 'hvp'],
conditions: [
{
indicator: 'hvp',
condition: 'ABOVE',
value: 80,
},
{
indicator: 'stochRSI',
condition: 'CROSSING_UP',
value: 20,
},
],
};

2. VOLUME_CLIMB_BREAKOUT

  • Definition: Price breaks Donchian Channel with rising volume
  • Timeframe: 4h
  • Required Indicators:
    • Volume
    • Donchian Channels
    • VWAP (optional filter)

3. VWAP_HOLD_BUY

  • Definition: Price holds above VWAP for multiple periods
  • Timeframe: 1h or lower
  • Required Indicators:
    • VWAP
    • Price close data

Momentum-Based Patterns

4. SUPER_TREND_PULLBACK

  • Definition: Price pullback to SuperTrend in strong trend
  • Timeframe: 4h/daily
  • Required Indicators:
    • SuperTrend
    • ADX

5. KELTNER_SQUEEZE_EXPANSION

  • Definition: Breakout from tight Keltner Channel range
  • Timeframe: 4h
  • Required Indicators:
    • Keltner Channels
    • Volume

Volume-Based Setups

6. PIVOT_CLAIM_BUY

  • Definition: Reclaim of pivot level with volume confirmation
  • Timeframe: 1h/4h
  • Required Indicators:
    • Pivot Points
    • Volume

7. HEIKIN_ASHI_TREND_RALLY

  • Definition: Consecutive bullish Heikin-Ashi bars with volume
  • Timeframe: 1h/4h
  • Required Indicators:
    • Heikin-Ashi candles
    • Volume

Advanced Multi-Indicator Patterns

8. RENKO_BREAK_BUY

  • Definition: Renko breakout above swing high
  • Timeframe: Renko-based
  • Required Indicators:
    • Renko bars
    • Price swing detection

9. ELDER_FORCE_THROTTLE

  • Definition: Elder Force Index confirmation of EMA trend
  • Timeframe: Daily
  • Required Indicators:
    • Elder's Force Index
    • EMA(20)

10. STOCH_RSI_OVERLAP

  • Definition: Stochastic RSI and RSI alignment
  • Timeframe: 4h/1h
  • Required Indicators:
    • Stochastic RSI
    • RSI

Implementation Strategy

Phase 1: Basic Patterns

  1. Implement volume-based setups
  2. Add momentum patterns
  3. Integrate basic multi-indicator conditions

Phase 2: Advanced Setups

  1. Add specialized chart type patterns (Renko, Heikin-Ashi)
  2. Implement multi-timeframe confirmations
  3. Add volatility-based conditions

Phase 3: Pattern Combinations

  1. Create meta-patterns from basic setups
  2. Add confidence scoring
  3. Implement pattern ranking system

Integration Example

Here's how these patterns integrate with Mercury Bot:

class PatternDetector {
async detectPatterns(
symbol: string,
timeframe: string,
): Promise<DetectedPattern[]> {
const indicators = await this.getIndicators(symbol, timeframe);

return SWEET_SPOTS.filter((spot) =>
this.hasRequiredIndicators(spot, indicators),
)
.map((spot) => ({
name: spot.name,
matched: this.checkConditions(spot, indicators),
confidence: this.calculateConfidence(spot, indicators),
}))
.filter((result) => result.matched);
}

private calculateConfidence(spot: SweetSpot, indicators: Indicators): number {
// Implement confidence scoring based on:
// 1. How strongly conditions are met
// 2. Additional confirming factors
// 3. Market context
return confidence;
}
}

Pattern Confidence Scoring

Each pattern's confidence is calculated based on:

  1. Condition Strength: How strongly each indicator condition is met
  2. Volume Confirmation: Supporting volume evidence
  3. Trend Alignment: Multiple timeframe trend agreement
  4. Market Context: Overall market conditions

Future Enhancements

  1. Machine Learning Integration

    • Pattern success rate tracking
    • Dynamic parameter optimization
    • Market regime detection
  2. Advanced Filtering

    • Market cap considerations
    • Volatility adjustments
    • Volume profile context
  3. Risk Management

    • Pattern-specific stop loss levels
    • Position sizing recommendations
    • Risk/reward calculations

Conclusion

These 42 sweet spots form the foundation of Mercury Bot's next-generation market analysis system. By focusing on pure indicator-based patterns rather than subjective candlestick formations, we create a more robust and quantifiable trading approach.

The implementation roadmap allows for incremental addition of patterns, starting with the highest-probability, easiest-to-implement setups. As we gather performance data, we can refine and optimize these patterns for even better results.


Note: Always use proper risk management and consider market conditions before trading. Pattern detection should be part of a comprehensive trading strategy.