Skip to main content

BigZ04HO Strategy Analysis

I. Strategy Overview

BigZ04HO is a cryptocurrency trading strategy created by developer ilya, belonging to the 4th version of the BigZ series strategies and optimized through HyperOpt (HO stands for HyperOpt). The strategy's core design philosophy is pursuing extremely low drawdown in the high-volatility cryptocurrency market, achieving continuous capital rolling operation by buying when prices are oversold, quickly taking profits to release capital for the next trade.

Core Features Overview

FeatureValue/Setting
Strategy Authorilya
Timeframe5 minutes (main) + 1 hour (information)
Minimum ROI0.028 (0-10 min), 0.018 (10-40 min), 0.005 (40-180 min)
Stoploss Setting-99% (default stoploss disabled, uses custom)
Trailing StopEnabled (1% take-profit, 2.5% offset)
Recommended Positions2-4 pairs
Entry Signals14 conditions (buy_condition_0 to 13)
Exit MechanismFixed ROI + Trailing Stop + Custom Stoploss
Startup Candles200 candles

From the strategy's design philosophy, BigZ04HO pursues "surviving is more important than making money." The strategy author explicitly states that the strategy's four core objectives are: minimize drawdown as much as possible, buy during price rebounds, sell quickly to release capital for the next opportunity, and judge market trends through a combination of soft and hard indicators. This design makes the strategy have good adaptability in oscillating markets and high-volatility environments.


II. Strategy Configuration Analysis

BigZ04HO's configuration system includes four major categories: basic operation parameters, entry condition parameters, exit configuration, and risk control parameters. The strategy's configuration complexity is at a high level in the BigZ series, with 14 independent entry conditions each equipped with adjustable parameters.

2.1 Basic Operation Configuration

The strategy's timeframe setting adopts a dual-cycle design: main timeframe is 5-minute candles, used to capture short-term trading opportunities; information timeframe is 1-hour candles, used to obtain medium to long-term trend judgment basis. This design enables the strategy to balance short-term flexibility and long-term trend judgment simultaneously.

The process_only_new_candles parameter is set to True, ensuring the strategy only calculates signals when new candles form, avoiding redundant calculations and false signals. startup_candle_count is set to 200, which is the minimum historical data volume required for calculating various technical indicators, including 200-day EMA, RSI, Bollinger Bands, etc.

Order type configuration uses market orders as the default order placement method, which ensures quick execution during severe market volatility. stoploss_on_exchange is set to False, indicating stoploss logic is controlled by the strategy itself through the custom_stoploss function, rather than relying on the exchange's stoploss function.

2.2 Entry Condition Configuration

BigZ04HO's entry condition configuration is one of the strategy's core features. The strategy defines 14 independent entry conditions (buy_condition_0 to buy_condition_13), each can be independently enabled or disabled, with corresponding parameter adjustment space.

Main parameter categories include:

Bollinger Band Related Parameters: buy_bb20_close_bblowerband_safe_1 and buy_bb20_close_bblowerband_safe_2 control the degree of price approaching Bollinger Band lower rail, default values are 0.951 and 0.981 respectively.

Volume Filter Parameters: buy_volume_pump_1 controls the volume expansion threshold (default 0.4), buy_volume_drop_1 controls the degree of volume contraction (default 8.3), buy_volume_drop_3 used for specific volume contraction judgment (default 4.1).

RSI Threshold Parameters: The strategy uses a large number of RSI-related parameters, including 5 thresholds for 1-hour RSI (buy_rsi_1h_1 to buy_rsi_1h_5) and 3 thresholds for 5-minute RSI (buy_rsi_1 to buy_rsi_3), used for oversold judgment under different entry conditions.

MACD Parameters: buy_macd_1 and buy_macd_2 control the thresholds for MACD momentum judgment.

2.3 Exit Configuration

BigZ04HO's exit mechanism adopts a triple protection design: minimal_roi, trailing stop, and custom stoploss.

minimal_roi Configuration: The strategy uses 4 levels of ROI settings, 2.8% within 0-10 minutes (high risk high return), 1.8% for 10-40 minutes, 0.5% for 40-180 minutes (almost break-even), and returns to 1.8% after 180 minutes. This ladder-style design encourages fast trading, avoiding long-term position holding.

Trailing Stop Configuration: trailing_stop set to True, trailing_stop_positive at 0.01 (1%), trailing_stop_positive_offset at 0.025 (2.5%). This means when position profit exceeds 1%, the system continuously tracks the highest price point, triggering take-profit when price falls 2.5% from the highest point.

Custom Stoploss Configuration: use_custom_stoploss set to True, custom_stoploss function dynamically calculates stoploss position based on position holding time, relationship between current price and EMA200, RSI levels, and other factors. This design is more flexible than fixed stoploss, capable of intelligently adjusting based on market conditions.

2.4 Take-Profit and Exit Configuration

exit_profit_only set to True, meaning exit signals are only executed when positions are in profit. exit_profit_offset set to 0.001, used to ensure minimum profit exists. ignore_roi_if_entry_signal set to False, allowing ROI limits to be overridden when new entry signals appear.


III. Entry Conditions Details

BigZ04HO's 14 entry conditions target different market patterns and technical indicator combinations. These conditions cover everything from simple RSI oversold to complex multi-indicator resonance, providing the strategy with rich entry options.

3.1 Condition 0: RSI Oversold Rebound Entry

Entry condition 0 is a classic RSI oversold rebound strategy. Trigger conditions include: closing price above 200-day EMA (ensuring long-term trend upward), 5-minute RSI below 30 (short-term oversold), closing price has significant decline compared to 3 days ago opening price (price has pulled back certain amplitude), 1-hour RSI below 71 (medium-term also in relatively weak state). Additionally requires meeting volume contraction conditions, meaning long-term volume moving average higher than 48 periods ago level, but current volume significantly below earlier levels.

The core concept of this condition is buying at favorable prices during short-term market oversold conditions, then quickly taking profits after waiting for technical rebounds.

3.2 Condition 1: Bollinger Band Lower Rail Rebound Entry

Condition 1 requires price above both 200-day EMA and 1-hour EMA, while closing price near Bollinger Band lower rail. 1-hour RSI needs to be below 69, candle pattern as declining candle (opening price greater than closing price). Volume conditions require long-term volume moving average to rise first then contract, current volume significantly below previous candle.

This entry pattern captures rebound opportunities when price finds support at Bollinger Band lower rail. Bollinger Band lower rail is typically viewed as strong support, when price touches here technical rebounds often occur.

3.3 Condition 2: Bollinger Band Lower Rail Safe Entry

Condition 2 is similar to condition 1, but doesn't force 1-hour RSI below specific values. Only requires closing price above 98.1% position of Bollinger Band lower rail, while meeting volume contraction conditions. This design makes the condition more widely applicable, able to capture more oversold rebound opportunities.

3.4 Condition 3: Dual Timeframe Oversold Entry

Condition 3 requires price above 1-hour 200-day EMA (ensuring long-term trend upward), but 5-minute closing price below Bollinger Band lower rail, while 5-minute RSI extremely low (below buy_rsi_3 value). Volume conditions similarly require contraction patterns.

The uniqueness of this condition lies in simultaneously considering long-term trend direction (1-hour EMA) and short-term oversold signals (5-minute RSI and Bollinger Band position). This multi-timeframe analysis method ensures entry signals align with long-term trend direction.

3.5 Condition 4: 1-Hour RSI Extremely Low Entry

Condition 4 is a pure oversold strategy, only requiring 1-hour RSI below 20.3 (buy_rsi_1h_1 value), while 5-minute closing price below Bollinger Band lower rail, and meeting volume contraction conditions. This concise condition design enables the strategy to quickly enter when market is extremely oversold.

3.6 Condition 5: MACD Golden Cross + Bollinger Band Oversold Entry

Condition 5 combines MACD indicator and Bollinger Band position. First requires MACD's fast line (ema_26) above slow line (ema_12), with sufficient difference between the two lines. Simultaneously requires closing price below Bollinger Band lower rail, volume contracts. This condition captures entry opportunities accompanying oversold patterns after MACD golden cross.

3.7 Condition 6: RSI+MACD Enhanced Entry

Condition 6 is similar to condition 5, but uses different parameter configuration. It requires 1-hour RSI below 35.7 (buy_rsi_1h_5 value), MACD difference meets looser conditions. This design enables condition 6 to supplement condition 5's entry signals in different market environments.

3.8 Condition 7: 1-Hour RSI+MACD Combination Entry

Condition 7 requires 1-hour RSI below 17.6 (buy_rsi_1h_2 value), MACD showing golden cross pattern, while volume contracts. This condition captures resonance opportunities of medium to long-term oversold with short-term momentum strengthening.

3.9 Condition 8: Dual RSI Oversold Entry

Condition 8 is a pure RSI oversold strategy, requiring 1-hour RSI below 21.4 (buy_rsi_1h_3 value), while 5-minute RSI below 20.3 (buy_rsi_1 value), and meeting volume contraction conditions. This dual oversold condition can filter out false signals that only have single timeframe oversold.

3.10 Condition 9: Dual RSI+Volume Contraction Entry

Condition 9 adds more conditions based on condition 8: requires 1-hour RSI below 36.2 (buy_rsi_1h_4 value), 5-minute RSI below 10.0 (buy_rsi_2 value), volume contracts, and long-term volume moving average shows specific patterns. This multi-condition combination can provide higher quality entry signals.

3.11 Condition 10: 1-Hour Oversold+MACD Reversal Entry

Condition 10 is a 1-hour and 5-minute combined oversold rebound strategy. It requires 1-hour RSI below 36.2 (buy_rsi_1h_4 value), while 1-hour closing price below 1-hour Bollinger Band lower rail, MACD histogram showing positive turn from negative (current positive, negative 2 candles ago), 5-minute RSI below 40.5, MACD histogram greater than specific threshold. This condition captures 1-hour level oversold conditions accompanied by short-term momentum strengthening.

3.12 Condition 11: Trend Confirmation Rebound Entry

Condition 11 is a relatively complex entry condition. It requires price above 200-day EMA, while MACD histogram remains positive for 5 consecutive candles, Bollinger Band opening narrows (upper and lower rail spacing less than 10% of closing price), closing price breaks above Bollinger Band middle rail but previous candle closed below middle rail, RSI above 51. This condition captures entry opportunities after consolidation upward breakout.

3.13 Condition 12: False Breakout Reversal Entry

Condition 12 is a "false breakout" entry pattern, requires price above both 200-day EMA and 1-hour EMA, but closing price below Bollinger Band lower rail (0.993 times), and previous candle closing price above Bollinger Band lower rail. 1-hour RSI needs to be below 72.8, volume shows specific contraction patterns. This condition captures opportunities where price briefly breaks below Bollinger Band lower rail then quickly rebounds.


IV. Exit Conditions Details

BigZ04HO's exit logic adopts multi-layer protection mechanisms, including fixed ROI, trailing stop, and custom stoploss. This design ensures the strategy can timely exit in different market environments, protecting existing profits.

4.1 Fixed ROI Ladder

The strategy's minimal_roi configuration defines 4 levels:

0-10 minutes: 2.8% - This is the strategy's "lucky" level, if price rises quickly within 10 minutes after entry, the strategy takes profits at 2.8%. This design reflects the strategy's "fast in fast out" core philosophy.

10-40 minutes: 1.8% - If position held over 10 minutes but less than 40 minutes, the strategy lowers take-profit expectation to 1.8%. This is still a relatively high return rate, able to ensure most successful trades obtain positive returns.

40-180 minutes: 0.5% - Long-term position take-profit point set very low, only 0.5%. This means the strategy unwilling to wait too long, as long as small profits appear within 3 hours will choose to exit, releasing capital for other opportunities.

After 180 minutes: 1.8% - After exceeding 3 hours, take-profit point returns to 1.8%. This may be because some positions need longer time to wait for suitable rebound opportunities.

4.2 Trailing Stop Mechanism

Trailing stop is the strategy's second protection layer. When position profit exceeds 1% (trailing_stop_positive), the system continuously records the highest price point. When price falls 2.5% (trailing_stop_positive_offset) from the highest point, the system automatically triggers take-profit.

trailing_only_offset_is_reached set to False, meaning trailing stop takes effect immediately after profit exceeds 1%, rather than waiting for certain conditions to be met before starting.

4.3 Custom Stoploss Logic

custom_stoploss function is the strategy's core risk management tool. It dynamically calculates stoploss position based on position's real-time state, rather than using fixed stoploss percentage.

Profit State Handling: When position in profit state, function returns 0.99, actually disabling stoploss, giving position more room to rise.

Loss State Handling: When position in loss state, function checks position holding time. If position held over 50 minutes, function attempts to judge market state by analyzing current candle data:

  • If 1-hour RSI below 30 (market in extremely weak state), returns 0.99 to continue waiting for rebound
  • If closing price above 1-hour EMA200, and current price at least 2.5% below opening price, returns 0.01 (stoploss 1%)
  • If current price at least 1.5% below opening price, similarly returns 0.01 to stoploss

This design enables the strategy to timely stoploss when market clearly turns weak, avoiding larger losses.

4.4 Exit Signal Trigger

The strategy's populate_exit_trend function defines simple exit signal trigger conditions: when closing price above 1.01 times Bollinger Band middle rail, and volume greater than 0, triggers exit signal.

This condition appears simple, but actually combines the previously mentioned ROI and trailing stop mechanisms, able to timely exit when price reaches certain gains, implementing the "don't be too greedy" design philosophy.


V. Technical Indicator System

BigZ04HO strategy uses rich technical indicators to build entry and exit conditions. These indicators cover multiple dimensions including trend judgment, overbought/oversold, momentum analysis, and volume analysis.

5.1 Trend Indicators

EMA (Exponential Moving Average):

  • EMA 200: Used to judge long-term trend direction, price above EMA200 viewed as bull market state
  • EMA 50: Only used for 1-hour timeframe, as auxiliary trend judgment
  • EMA 12 and EMA 26: Used to calculate MACD fast and slow lines

SMA (Simple Moving Average):

  • SMA 5: Used for short-term trend judgment

5.2 Overbought/Oversold Indicators

RSI (Relative Strength Index):

  • 5-minute RSI (14-period): Used to judge short-term overbought/oversold state
  • 1-hour RSI (14-period): Used to judge medium to long-term overbought/oversold state

The strategy's entry conditions extensively use RSI oversold region (typically below 30-40), indicating the strategy's core logic is finding entry opportunities in oversold regions.

Bollinger Bands:

  • 20-period, 2 standard deviations
  • Contains upper rail, middle rail, lower rail three parts
  • Strategy uses Bollinger Bands to identify price support and resistance levels, especially entry opportunities near lower rail

5.3 Momentum Indicators

MACD:

  • 12/26/9 parameter settings (fast line 12, slow line 26, signal line 9)
  • Contains MACD line, signal line, histogram three components
  • Strategy uses MACD to judge short-term momentum direction, especially golden cross (MACD line crosses above signal line) as one of entry signals

5.4 Volume Indicators

Volume Moving Average:

  • 48-period volume moving average (volume_mean_slow)
  • Used to judge volume trend and abnormal volatility
  • Strategy identifies volume contraction or expansion patterns by comparing current volume with moving average level

VI. Strategy Pros & Cons

6.1 Core Advantages

Excellent Drawdown Control: The strategy's primary design objective is controlling drawdown. Through multi-layer protection mechanisms and fast trading strategy, BigZ04HO can effectively protect capital safety during severe market volatility.

Adapts to Oscillating Markets: 14 different entry conditions enable the strategy to find entry opportunities in various market patterns, particularly performing well in oscillating markets.

Multi-Timeframe Analysis: By combining analysis from both 5-minute and 1-hour timeframes, the strategy can more accurately judge trend direction and entry timing.

Large Parameter Adjustment Space: 14 independent entry conditions each equipped with adjustable parameters, providing sufficient flexibility for optimization and adapting to different markets.

6.2 Potential Limitations

Depends on Parameter Optimization: Strategy effectiveness highly depends on parameter optimization degree, inappropriate parameter settings may lead to poor strategy performance.

Complex Protection Mechanisms: Multi-layer protection mechanisms although provide safety, also increase strategy complexity, making understanding and debugging difficult.

Fixed Stoploss Disabled: -99% stoploss setting means strategy completely relies on custom stoploss, may face larger losses in certain extreme market conditions.

Not Suitable for Trend Markets: The strategy's oversold rebound logic may perform poorly in strong trend markets, because prices may continuously decline without rebounding.


VII. Applicable Scenarios

7.1 Most Suitable Market Environments

Oscillating Markets: BigZ04HO excels at generating returns in oscillating markets. Repeated price fluctuations provide大量 entry opportunities for oversold rebound strategies.

High Volatility Markets: Cryptocurrency's high volatility characteristics正好 fit the strategy's design expectations, especially during volatile bull market pullbacks.

Sideways Consolidation Markets: When prices fluctuate within certain ranges, the strategy can repeatedly capture entry opportunities when touching Bollinger Band lower rail.

7.2 Unsuitable Scenarios

Strong Downtrend Markets: In continuous downtrends, the strategy may face consecutive losses, because oversold rebounds may never come.

Strong Uptrend Markets: In strong uptrends, the strategy may miss most gains due to premature exits.

Low Volatility Markets: When market volatility extremely low, the strategy's entry conditions may be difficult to trigger, leading to reduced trading opportunities.

7.3 Investor Type Adaptation

Risk-Averse Investors: The strategy's low drawdown design makes it suitable for investors hoping to protect capital.

Day Traders: The strategy's 5-minute timeframe and fast trading characteristics very suitable for day traders.

Medium to Long-term Investors: Not very suitable, because the strategy's design philosophy is fast turnover rather than long-term holding.


VIII. Parameter Optimization

8.1 Default Parameter Philosophy

The strategy's default parameters have been carefully optimized through HyperOpt. Most parameters balance signal frequency and quality, avoiding excessive trading while ensuring sufficient opportunities. Unless you have specific understanding of market characteristics, it's recommended to use default parameters.

8.2 Optimization Directions

If optimization is needed, the following directions can be considered:

RSI Threshold Adjustment: Adjust RSI thresholds based on market volatility. In high volatility markets, RSI thresholds can be appropriately lowered to filter false signals; in low volatility markets, thresholds can be raised to increase signal frequency.

Bollinger Band Parameter Adjustment: Adjust Bollinger Band period and standard deviation parameters based on market characteristics. Longer periods suitable for long-term trends, shorter periods suitable for short-term volatility.

Volume Condition Adjustment: Adjust volume condition thresholds based on trading pair liquidity. For high liquidity pairs, volume conditions can be relaxed; for low liquidity pairs, volume conditions should be stricter.

8.3 Optimization Precautions

When optimizing parameters, the following principles should be followed: change only one parameter at a time; conduct sufficient historical backtesting after changes; record the effects of each change; retain original parameter settings as reference. Additionally, most parameters can be systematically optimized through Freqtrade's optimization function, but the optimization process requires大量 historical data and time investment.


IX. Live Trading Notes

9.1 Preparation Before Live Trading

Before deploying the strategy for live trading, sufficient backtesting should be conducted. Backtesting should use long-term historical data, preferably covering different market environments (bull markets, bear markets, oscillating markets). Only strategies performing well in backtesting should be deployed for live trading.

Additionally, paper trading should be conducted before live trading. Paper trading can verify whether the strategy operates normally in real-market environments and whether there are any technical issues (such as data delays, order execution problems, etc.).

9.2 Monitoring During Live Trading

Even after the strategy is deployed and operating normally, continuous monitoring remains necessary. The strategy's exit mechanism relies on complex market state judgments and may produce unexpected behavior in certain edge cases. Regularly checking strategy trading logs, profit/loss situations, and position status can timely detect and correct problems.

It's recommended to set alert mechanisms to timely notify when the strategy exhibits abnormal behavior (such as sudden changes in trading frequency, large single-trade losses, consecutive losses, etc.). These alerts can help investors take action before problems escalate.

9.3 Parameter Adjustment During Live Trading

During live trading, parameters may need to be adjusted based on market environment changes. For example, during high volatility periods, some entry conditions can be disabled to reduce trading frequency; during low volatility periods, take-profit parameters can be adjusted to increase profit targets.

However, parameter adjustments should be cautious, avoiding frequent changes. Each adjustment should be based on sufficient market observation and data analysis, not emotional decisions.


X. Summary

BigZ04HO is a relatively complex version in the BigZ series strategies, through 14 entry conditions, multi-layer protection mechanisms and custom stoploss design, building a trading system centered on "low drawdown, fast turnover."

The strategy's core advantages include:

  1. Excellent drawdown control capability
  2. Rich entry conditions adapting to multiple market environments
  3. Intelligent custom stoploss mechanism
  4. Multi-timeframe analysis improving signal quality

Meanwhile, the strategy also has some issues needing attention:

  1. Parameter optimization requires professional knowledge
  2. Complex mechanisms increase understanding and debugging difficulty
  3. May perform poorly in strong trend markets

For risk-averse investors and day traders, BigZ04HO is a strategy choice worth considering. But before use, it's recommended to fully understand the strategy's design philosophy and the meaning of various parameters, and conduct sufficient testing in simulated environments.