Skip to main content

BinClucMad Strategy Analysis

I. Strategy Overview

BinClucMad is a highly complex quantitative trading strategy that integrates entry logic from multiple classic trading strategies (including BinCluc, CombinedBinHCluc, MAD variants, etc.). The strategy pursues capturing rebound opportunities in oscillating markets through multi-timeframe analysis and multi-condition stacking.

Core Features

FeatureDescription
Entry Conditions15 independent buy signals (11 V9 series + 4 V6 series)
Exit Conditions3 basic exit signals
Protection MechanismsCustom stoploss logic + trailing stop
Timeframe5-minute main cycle + 1-hour information cycle
Dependenciespandas, numpy, talib

II. Strategy Configuration Analysis

2.1 Basic Risk Parameters

# ROI Exit Table
minimal_roi = {
0: 0.038, # Within 10 minutes: 3.8%
10: 0.028, # 10-40 minutes: 2.8%
40: 0.015, # 40-180 minutes: 1.5%
180: 0.018 # Above 180 minutes: 1.8%
}

# Stoploss Setting
stoploss = -0.99 # Actually disabled, relies on custom stoploss

# Trailing Stop
trailing_stop = True
trailing_stop_positive = 0.01
trailing_stop_positive_offset = 0.025

Design Thinking:

  • ROI ladder design reflects "earlier take-profit requires higher" philosophy
  • stoploss=-0.99 means completely relies on custom stoploss logic
  • Trailing stoploss starts after 1% profit, triggers at 2.5% pullback

2.2 Order Type Configuration

order_types = {
"entry": "market",
"exit": "market",
"stoploss": "market",
"stoploss_on_exchange": False,
}

Uses market orders to ensure quick execution, but need to pay attention to slippage costs.


III. Entry Conditions Details

3.1 Protection Mechanisms (Volume Filtering)

Each entry condition is equipped with independent protection parameter groups, including:

Protection TypeParameter DescriptionDefault Value Example
Volume ContractionCurrent volume < Previous × 44 times
Volume Mean30-cycle mean volume > 30-cycle ago mean volume × 0.40.4 times
Minimum VolumeVolume > 0Must have trading

3.2 Typical Entry Condition Examples

Condition #1: Bollinger Band Lower Rail Rebound (V9 Series)

  • Price above EMA200
  • Closing price < Bollinger Band lower rail × 0.99
  • Volume contraction
  • 1-hour RSI < 69

Condition #2: Conservative Bollinger Band Entry

  • Closing price < Bollinger Band lower rail × 0.982
  • Volume contraction
  • Trend confirmation

Condition #3: RSI Extreme Oversold

  • RSI(14) < 14.2
  • Price at Bollinger Band lower rail
  • Volume contraction

Condition #4: 1-Hour RSI Oversold

  • 1-hour RSI < 16.5
  • Price at Bollinger Band lower rail
  • Volume contraction

Conditions #5-7: MACD Golden Cross + Bollinger Band

  • MACD golden cross (EMA26 > EMA12)
  • Price at Bollinger Band lower rail
  • Volume confirmation

Conditions #8-9: Dual RSI Oversold

  • 1-hour RSI < 20-35
  • 5-minute RSI < 10-28
  • Volume contraction

Condition #10: 1-Hour Bollinger Band + MACD Reversal

  • 1-hour price at Bollinger Band lower rail
  • MACD histogram turns positive
  • 5-minute RSI < 40.5

Condition #11: Bollinger Band Narrowing + MACD Continuous Rise

  • Bollinger Band width narrows
  • MACD histogram positive for 5 consecutive periods
  • RSI > 51

V6 Series Conditions (4 conditions)

Additional variant conditions from CombinedBinHClucV6 logic.


IV. Exit Logic Details

4.1 Exit System

Strategy implements exit protection through:

  1. ROI Take-Profit: 4-level time-based targets
  2. Trailing Stop: Dynamic profit protection
  3. Custom Stoploss: Intelligent judgment after 50 minutes
  4. Basic Exit Signals: 3 conditions

4.2 Exit Conditions

  • Exit only when profitable (exit_profit_only = True)
  • Custom stoploss evaluates after 50 minutes holding
  • Trailing stop protects profits

V. Technical Indicator System

Trend Indicators

  • EMA200 (5-minute and 1-hour)
  • EMA50 (1-hour)

Momentum Indicators

  • RSI (14-period, dual timeframe)
  • MACD (12,26,9)

Volatility Indicators

  • Bollinger Bands (20,2)

Volume Indicators

  • Volume mean (30-period, 48-period)
  • CMF

VI. Strategy Pros & Cons

6.1 Advantages

  1. Rich entry conditions (15 types)
  2. Multi-strategy integration
  3. Comprehensive volume filtering
  4. Custom stoploss protection

6.2 Limitations

  1. Very high complexity
  2. May be overfitted
  3. Requires significant understanding
  4. Hard to debug

VII. Applicable Scenarios

  • Oscillating markets
  • High volatility environments
  • Liquid trading pairs
  • Strong one-sided trends
  • Low volatility markets
  • Illiquid pairs

VIII. Summary

BinClucMad is a complex multi-strategy integration strategy. Through 15 entry conditions, volume filtering, and custom stoploss, it builds a comprehensive trading system for oscillating markets.

Key Features:

  • 15 independent entry conditions
  • Multi-strategy integration (V9 + V6)
  • Volume filtering on all conditions
  • Suitable for oscillating markets

Risk Warning: Very high complexity requires thorough understanding. The strategy may be overfitted to historical data. Conduct extensive backtesting and paper trading before live use. Start with small capital.