Skip to main content

BigZ0307HO Strategy Analysis

Strategy Number: #57
Strategy Type: BigZ03 HyperOpt Optimized Version with Complete Exit Protection
Timeframe: 5 minutes (5m) + Information Timeframe 1h


I. Strategy Overview

BigZ0307HO is the HyperOpt optimized version of BigZ03, developed by ilya. This strategy has undergone deep parameter optimization and exit logic enhancement on the basis of BigZ03, forming one of the most complete BigZ series variants. The strategy's core goal is to maintain strict risk management while pursuing high returns, achieving profit maximization through complex exit protection mechanisms.

Core Features

FeatureConfiguration Value
Timeframe5 minutes (5m)
Information Timeframe1 hour (1h)
Take-Profit (ROI)0-10 min: 10%, 10-40 min: 5%, 40-180 min: 2%, 180+ min: 10%
Stoploss-0.99 (disabled, use complex custom stoploss)
Trailing StopEnabled, positive 1%, trigger offset 2.5%
Number of Entry Conditions12 independent conditions
Number of Exit Conditions8 independent conditions
FeaturesComplete exit protection mechanisms, multi-layer Pump protection
Recommended Number of Pairs2-4

II. Strategy Configuration Analysis

2.1 Base Configuration

timeframe = "5m"
inf_1h = "1h"

minimal_roi = {
"0": 0.10, # Immediate 10% profit (aggressive target)
"10": 0.05, # 5% after 10 minutes
"40": 0.02, # 2% after 40 minutes
"180": 0.10 # 10% after 180 minutes
}

stoploss = -0.99 # Disable default stoploss

# Trailing stop configuration
trailing_stop = True
trailing_only_offset_is_reached = False
trailing_stop_positive = 0.01
trailing_stop_positive_offset = 0.025

# Exit signal configuration
use_exit_signal = True
exit_profit_only = True
exit_profit_offset = 0.001

# Only process new candles
process_only_new_candles = True

2.2 Optimized Entry Parameters

BigZ0307HO's parameters have been optimized through HyperOpt, with significant changes compared to original BigZ03:

buy_params = {
# Bollinger Band parameters - more aggressive
"buy_bb20_close_bblowerband_safe_1": 0.957, # Closer to lower band (original 0.989)
"buy_bb20_close_bblowerband_safe_2": 0.766, # Deep lower band (original 0.982)

# Volume filtering - stricter
"buy_volume_drop_1": 4.0, # Volume contraction multiple (original 3.8)
"buy_volume_pump_1": 0.1, # 48-hour volume expansion (original 0.4)
"buy_volume_drop_2": 1.3,
"buy_volume_drop_3": 1.4,

# RSI parameters - looser
"buy_rsi_1h_1": 39.8, # Condition 4 (original 16.5)
"buy_rsi_1h_2": 37.9,
"buy_rsi_1h_3": 38.2,
"buy_rsi_1h_4": 38.1,
"buy_rsi_1h_5": 58.9,

# MACD parameters - more sensitive
"buy_macd_1": 0.07, # Threshold increased (original 0.02)
"buy_macd_2": 0.02,

# 5-minute RSI
"buy_rsi_1": 16.0, # Lowered (original 28.0)
"buy_rsi_2": 14.8,
"buy_rsi_3": 10.8,
}

2.3 Core Configuration Differences Comparison

ParameterBigZ03BigZ0307HOChange Explanation
First Target ROI2.8%10%Increased return expectation
bb_lowerband_safe_10.9890.957More aggressive entry
bb_lowerband_safe_20.9820.766Allow deeper lower band
volume_drop_13.84.0Stricter volume filtering
volume_pump_10.40.1Exclude extreme volatility
rsi_1h_116.539.8Relaxed 1-hour RSI limit
Exit LogicBasicComplete ProtectionAdded 50+ rules

III. Entry Conditions Details

BigZ0307HO retains the same 12 entry condition framework as BigZ03, but entry logic slightly different after parameter optimization.

Condition 0: RSI Oversold + Decline Pattern

(
(dataframe["close"] > dataframe["ema_200"]) &
(dataframe["rsi"] < 30) &
(dataframe["close"] * 1.024 < dataframe["open"].shift(3)) &
(dataframe["rsi_1h"] < 71)
)

Optimization Effect: Lower RSI threshold (16.0 vs 28.0) means signals more concentrated at extreme oversold points.

Condition 1: Lower Bollinger Band + Volume Contraction

(
(dataframe["close"] > dataframe["ema_200"]) &
(dataframe["close"] > dataframe["ema_200_1h"]) &
(dataframe["close"] < dataframe["bb_lowerband"] * 0.957) &
(dataframe["rsi_1h"] < 69) &
(dataframe["open"] > dataframe["close"]) &
# Volume conditions (stricter)
(dataframe["volume"] < (dataframe["volume"].shift() * 4.0))
)

Condition 2: Deep Lower Band Break

(
(dataframe["close"] > dataframe["ema_200"]) &
(dataframe["close"] < dataframe["bb_lowerband"] * 0.766)
)

This is the most aggressive condition, allowing price to deeply break below lower Bollinger Band by 23.4% (1-0.766), capturing extreme rebounds.

Conditions 3-9: Multi-Condition Combinations

Similar to BigZ03, but parameters more optimized, e.g., RSI thresholds generally lowered to capture more extreme oversold points.

Condition 10: 1-hour Oversold + MACD Reversal

(
(dataframe["rsi_1h"] < 35.0) &
(dataframe["close_1h"] < dataframe["bb_lowerband_1h"]) &
(dataframe["hist"] > 0) &
(dataframe["hist"].shift(2) < 0) &
(dataframe["rsi"] < 40.5) &
(dataframe["hist"] > dataframe["close"] * 0.0012) &
(dataframe["open"] < dataframe["close"])
)

This condition adds extra filtering: MACD histogram must be greater than 0.12% of open price, ensuring reversal has sufficient momentum.

Condition 11: Narrow Range Oscillation Breakout

Consecutive 10 candles range less than 1% of open price, waiting for breakout.

Condition 12: False Breakout Pattern

(
(dataframe["close"] < dataframe["bb_lowerband"] * 0.993) &
(dataframe["low"] < dataframe["bb_lowerband"] * 0.985) &
(dataframe["close"].shift() > dataframe["bb_lowerband"]) &
(dataframe["rsi_1h"] < 72.8) &
(dataframe["open"] > dataframe["close"]) &
# Extra filtering
(dataframe["volume"] > 0)
)

Added volume and range extra filtering, making signals more reliable.


IV. Exit Logic Explained (Core Feature)

BigZ0307HO implements extremely complex exit logic, which is its main difference from BigZ03. Original strategy was "no exit signals,relies entirely on ROI and stoploss", while HO version added 50+ active exit rules.

4.1 custom_exit Exit Signals

Strategy implements custom_exit function, containing following categories of exit rules:

  1. Basic Profit Protection (12 levels): Exit at different profit thresholds
  2. Below EMA200 Profit Protection: Special handling when price below EMA200
  3. Pump Protection (48/36/24h): Triple time frame detection
  4. Trailing Stop Activation: Dynamic stoploss based on profit
  5. Recovery Exit: Exit after rebound from loss
  6. Long-term Holding Exit: Forced exit after holding specific days
  7. Downtrend Protection: Exit when trend reverses

4.2 Multi-Level Profit Protection

Automatically trigger exit when reaching different profit thresholds:

Profit ThresholdTrigger Behavior
10%Exit
8%Exit
6%Exit
5%Exit
4%Exit
3%Exit
2%Exit

4.3 Pump Protection (Triple)

# 48-hour Pump protection
if holding < 48 hours and 48-hour gain > threshold:
Special handling, avoid selling at lowest point during extreme volatility

# 36-hour Pump protection
if holding < 36 hours and 36-hour gain > threshold:
Stricter check

# 24-hour Pump protection
if holding < 24 hours and 24-hour gain > threshold:
Strictest check

4.4 Recovery Exit

Loss followed by rebound to specific point → Automatically exit

In Plain English:

"Doesn't matter if lost, run after rebounding a bit, reduce losses."

4.5 Long-term Holding Protection

Holding exceeds specific days → Forced exit

In Plain English:

"Don't keep holding forever, run when you should run."


V. Technical Indicator System

5.1 5-Minute Cycle Indicators

Indicator NameParametersUsage
EMA200200Long-term trend judgment
EMA12/2612,26MACD calculation
RSI14Momentum
Bollinger Bands20,2Overbought/oversold
Volume Mean48Volume anomaly detection
CMF20Capital flow judgment

5.2 1-Hour Cycle Indicators

Indicator NameParametersUsage
EMA5050Mid-term trend
EMA200200Long-term trend confirmation
RSI141-hour momentum
Bollinger Bands20,21-hour overbought/oversold

VI. Risk Management Features

6.1 Complex Custom Stoploss

Strategy implements multi-layer dynamic stoploss based on profit, holding time, and market state.

6.2 Pump Protection

Triple time frame (48/36/24 hours) pump detection, reduce probability of buying at pump top.

6.3 Recovery Exit Mechanism

Automatically exit after loss followed by rebound, reduce losses.

6.4 Long-term Holding Limit

Forced exit after holding too long, avoid capital lock-up.


VII. Strategy Pros & Cons

✅ Advantages

  1. Most Complete Protection: 50+ rules, 360-degree no dead angle
  2. Pump Protection: Triple time frame, reduce probability of being deceived
  3. Recovery Exit: Can stoploss timely after loss
  4. High Return Target: 10% first target, more aggressive than original
  5. Parameter Optimized: Deeply tuned through HyperOpt

⚠️ Limitations

  1. Complexity Exploded: 50+ rules, hard to troubleshoot when problems occur
  2. Too Many Parameters: About 200 adjustable parameters, extremely high overfitting risk
  3. Hard to Understand: Ordinary people hard to fully understand all logic
  4. Over-Protection: May miss big moves, sell too early
  5. Maintenance Difficult: Need to adjust many parameters when market changes

VIII. Applicable Scenarios

Market EnvironmentRecommended ConfigurationExplanation
Wide Range OscillationDefault ConfigurationVarious protections can play role
Rebound After Big DropEnable Pump ProtectionPump protection very useful
Strong Trend⚠️ CautionMay sell too early
Low Volatility❌ Don't UseStrategy complex but no opportunities

IX. Summary

BigZ0307HO is the "complete body" of BigZ series, achieving comprehensive protection through complex exit logic:

  • ✅ 12 entry conditions, cover various patterns
  • ✅ 50+ exit rules, all-around protection
  • ✅ Pump protection, reduce deception probability
  • ⚠️ Extremely complex, hard to understand and maintain
  • ⚠️ About 200 parameters, extremely high overfitting risk

Suitable for: Advanced traders with rich quantitative experience, able to understand and maintain complex logic.


This document is based on BigZ0307HO strategy source code, for learning reference only, not investment advice.