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
| Feature | Description |
|---|---|
| Entry Conditions | 15 independent buy signals (11 V9 series + 4 V6 series) |
| Exit Conditions | 3 basic exit signals |
| Protection Mechanisms | Custom stoploss logic + trailing stop |
| Timeframe | 5-minute main cycle + 1-hour information cycle |
| Dependencies | pandas, 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 Type | Parameter Description | Default Value Example |
|---|---|---|
| Volume Contraction | Current volume < Previous × 4 | 4 times |
| Volume Mean | 30-cycle mean volume > 30-cycle ago mean volume × 0.4 | 0.4 times |
| Minimum Volume | Volume > 0 | Must 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:
- ROI Take-Profit: 4-level time-based targets
- Trailing Stop: Dynamic profit protection
- Custom Stoploss: Intelligent judgment after 50 minutes
- 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
- Rich entry conditions (15 types)
- Multi-strategy integration
- Comprehensive volume filtering
- Custom stoploss protection
6.2 Limitations
- Very high complexity
- May be overfitted
- Requires significant understanding
- Hard to debug
VII. Applicable Scenarios
7.1 Recommended
- Oscillating markets
- High volatility environments
- Liquid trading pairs
7.2 Not Recommended
- 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.