42 Sweet Spots: Mercury Bot's Market Analysis Patterns
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:
- Pure Indicator Focus: No reliance on subjective candlestick patterns
- Multi-Factor Confirmation: Each setup requires multiple indicators to align
- 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
- Implement volume-based setups
- Add momentum patterns
- Integrate basic multi-indicator conditions
Phase 2: Advanced Setups
- Add specialized chart type patterns (Renko, Heikin-Ashi)
- Implement multi-timeframe confirmations
- Add volatility-based conditions
Phase 3: Pattern Combinations
- Create meta-patterns from basic setups
- Add confidence scoring
- 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:
- Condition Strength: How strongly each indicator condition is met
- Volume Confirmation: Supporting volume evidence
- Trend Alignment: Multiple timeframe trend agreement
- Market Context: Overall market conditions
Future Enhancements
-
Machine Learning Integration
- Pattern success rate tracking
- Dynamic parameter optimization
- Market regime detection
-
Advanced Filtering
- Market cap considerations
- Volatility adjustments
- Volume profile context
-
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.
