Skip to main content

CombinedBinHAndClucV6 Strategy Analysis

Strategy Number: #118 (Batch 12, 118th Strategy) Strategy Type: Multi-Factor Mean Reversion · Oversold Rebound Strategy Timeframe: 5 Minutes (5m)


I. Strategy Overview​

CombinedBinHAndClucV6 is a multi-factor mean reversion trading strategy that combines BinHV45 and ClucMay72018 signal logic to capture oversold rebound opportunities in sideways markets.

The core idea is: when price deviates from the lower Bollinger Band and shows a clear contracting pattern, it is identified as a potential mean reversion signal. Volume filtering and EMA trend judgment reduce false breakout probability.

V6's Core Upgrade over V5:

  • Take-profit raised from 2.0% to 2.2%, pursuing higher per-trade returns
  • Trailing stop activation raised from 2.75% to 3.0%, letting profits run further
  • Trailing stop pullback deepened from 1.25% to 1.5%, avoiding being shaken out
  • Exit signal changed from 6 to 7 consecutive candles breaking the upper rail
  • New EMA200 trend filter added: Entry signals require price near or below EMA200

II. Strategy Configuration Analysis​

2.1 Basic Parameters​

ParameterValueDescription
timeframe5m5-minute candles
minimal_roi{"0": 0.022}Take-profit at 2.2% cumulative return
stoploss-0.99Stop-loss nearly disabled (-99%)
use_exit_signalTrueEnable exit signal judgment
exit_profit_onlyTrueOnly sell in profitable state
exit_profit_offset0.001Only allow selling after profit exceeds 0.1%
ignore_roi_if_entry_signalTrueIgnore ROI limit when entry signal appears

2.2 Trailing Stop Configuration​

ParameterValueDescription
trailing_stopTrueEnable trailing stop
trailing_only_offset_is_reachedTrueOnly activate trailing after profit reaches offset
trailing_stop_positive0.015Trailing stop distance 1.5%
trailing_stop_positive_offset0.03Activate trailing when profit reaches 3.0%

V6 Key Change: Trailing stop activation raised from V5's 2.75% to 3.0%, pullback depth deepened from 1.25% to 1.5%.


III. Entry Conditions Details​

The strategy's buy signals are generated by three independent conditions—meeting any one triggers a buy:

3.1 Condition One: BinHV45 Strategy (Rapid Sell-off Rebound)​

(dataframe['lower'].shift().gt(0) &
dataframe['bbdelta'].gt(dataframe['close'] * 0.008) &
dataframe['closedelta'].gt(dataframe['close'] * 0.0175) &
dataframe['tail'].lt(dataframe['bbdelta'] * 0.25) &
dataframe['close'].lt(dataframe['lower'].shift()) &
dataframe['close'].le(dataframe['close'].shift()) &
(dataframe['volume'] > 0))

Combined Logic: Price drops rapidly and pierces the lower Bollinger Band with sufficient volatility and a short lower wick—typical oversold rebound pattern.

3.2 Condition Two: ClucMay72018 Strategy (Volume-Shrinking Oversold)​

((dataframe['close'] < dataframe['ema_slow']) &
(dataframe['close'] < 0.985 * dataframe['bb_lowerband']) &
(dataframe['volume'] < (dataframe['volume_mean_slow'].shift(1) * 20)) &
(dataframe['volume'] > 0))

Combined Logic: In a downtrend, price rapidly breaks below the lower Bollinger Band, but volume does not expand—downward momentum is insufficient.

3.3 Condition Three: V6 New EMA200 Trend Confirmation (Optional Filter)​

(dataframe['close'] < dataframe['ema200'] * 1.05) &
(dataframe['volume'] > 0)

Combined Logic: V6's new trend filter ensures price hasn't deviated significantly from EMA200, avoiding entry at extreme rally highs.

3.4 Entry Signal Trigger Rules​

The three conditions have an OR relationship—meeting any one generates a buy signal.


IV. Exit Conditions Details​

4.1 Take-Profit Logic​

  • Take-profit triggers when cumulative return reaches 2.2%
  • exit_profit_only = True ensures selling only in profitable state

V6 Change: Take-profit raised from V5's 2.0% to 2.2%.

4.2 Trailing Stop Logic​

When open profit reaches 3.0% (trailing_stop_positive_offset), trailing stop activates:

  • Stop-loss line moves up, locking in at least 1.5% of profit
  • If price continues to rise, the stop-loss line follows

V6 Key Change: Activation raised from 2.75% to 3.0%, pullback tolerance deepened from 1.25% to 1.5%.

4.3 Exit Signal Conditions​

(dataframe['close'] > dataframe['bb_upperband']) &
(dataframe['close'].shift(1) > dataframe['bb_upperband'].shift(1)) &
(dataframe['high'].shift(2) > dataframe['bb_upperband'].shift(2)) &
(dataframe['high'].shift(3) > dataframe['bb_upperband'].shift(3)) &
(dataframe['high'].shift(4) > dataframe['bb_upperband'].shift(4)) &
(dataframe['high'].shift(5) > dataframe['bb_upperband'].shift(5)) &
(dataframe['high'].shift(6) > dataframe['bb_upperband'].shift(6)) &
(dataframe['high'].shift(7) > dataframe['bb_upperband'].shift(7)) &
(dataframe['volume'] > 0)

V6 Change: Changed from 6 consecutive candles to 7 consecutive candles.

4.4 Custom Stop-Loss Logic​

def custom_stoploss(self, pair, trade, current_time, current_rate, current_profit, **kwargs):
if (current_time - timedelta(minutes=300) > trade.open_date_utc) & (current_profit < 0):
return 0.01
return 0.99

V. Risk Management Features​

5.1 Multi-Layer Risk Control System​

  1. Fixed Stop-Loss: -99% nearly disabled
  2. Time Stop-Loss: Force exit at market if still in loss after 5 hours
  3. Trailing Stop: Activate 1.5% trailing when profit exceeds 3.0%
  4. Take-Profit Threshold: 2.2% cumulative return triggers automatic take-profit
  5. EMA200 Trend Filter: V6 new, ensures buying at reasonable trend levels

VI. Strategy Pros & Cons​

✅ Pros​

  1. Three-Factor Complementarity: BinHV45 + ClucMay72018 + EMA200 trend filter, broadest adaptability
  2. V6 Optimized Trend Space: Trailing stop at 3.0%, pullback depth 1.5%
  3. V6 Higher Take-Profit: From 2.0% to 2.2%
  4. V6 Stricter Exits: 7 consecutive candles before selling
  5. V6 Trend Filter: New EMA200 confirmation avoids chasing rally highs
  6. Clear Signals: Entry conditions specific and quantifiable

⚠️ Cons​

  1. 5-Minute Period Noise: High-frequency trading generates frequent costs
  2. V6 More "Greedy": 2.2% take-profit harder to reach
  3. Volatility-Dependent: Mean reversion, performs limitedly in trending markets
  4. V6 Stricter Exits: 7 consecutive candles may miss optimal exit
  5. Loose Stop-Loss: -99% nearly disabled
  6. V6 New Filter: EMA200 filter may reduce some valid signals

VII. Summary​

CombinedBinHAndClucV6 is a hybrid mean reversion strategy combining BinHV45 and ClucMay72018, with a new EMA200 trend filter to optimize entry timing.

V6's Core Upgrades:

  • Take-profit raised to 2.2%, trailing stop at 3.0%/1.5%, stricter 7-candle exits
  • New EMA200 trend filter prevents chasing rally highs

This strategy performs excellently in high-volatility sideways markets and trend continuation/pullback markets.

Key Takeaways:

  • ✅ Suitable for sideways markets, oversold rebounds
  • ✅ V6 optimized for trend continuation, higher returns
  • ✅ V6 new EMA200 trend filter, pullback entries more robust
  • ⚠️ Loose stop-loss, risk control relies on time stop-loss and trailing stop
  • ⚠️ EMA200 filter may be too conservative in strong trends