Skip to main content

BigZ0407 Strategy Analysis

I. Strategy Overview

BigZ0407 is a high-frequency trading strategy created by developer ilya, with its core philosophy centered on pursuing extremely low drawdown while capturing rebound opportunities after market declines. The strategy's design philosophy emphasizes: surviving in the cryptocurrency market is more important than pursuing high returns, therefore the strategy employs multiple protection mechanisms to control risk.

Core Features Overview

FeatureValue/Setting
Strategy Authorilya
Timeframe5 minutes (main) + 1 hour (information)
Minimum ROI0% (relies on custom exit mechanism)
Stoploss Setting-99% (default stoploss disabled)
Trailing StopEnabled (1% take-profit, 2.5% offset)
Recommended Positions2-4 pairs
Entry Signals11 conditions
Exit MechanismCustom smart take-profit/stop-loss
Startup Candles200 candles

From a technical implementation perspective, BigZ0407 employs a complex combination of indicators, including Bollinger Bands, Relative Strength Index (RSI), Moving Average Convergence Divergence (MACD), Exponential Moving Averages (EMA), and volume analysis across multiple dimensions of technical analysis tools. The strategy's uniqueness lies in its multi-timeframe analysis approach—the main timeframe uses 5-minute candles, while auxiliary information comes from 1-hour candle data. This design enables the strategy to capture both short-term volatility and long-term trends simultaneously.

The strategy's design inspiration comes from CombinedBinHAndClucV6, but with significant enhancements and optimizations in risk control. The developer explicitly states that the strategy's core objective is to minimize drawdown as much as possible, buying quality assets during market declines and then quickly taking profits when prices rebound, releasing capital for the next buying opportunity. This "buy low, sell high, fast in and fast out" trading pattern makes BigZ0407 perform well in oscillating markets.


II. Strategy Configuration Analysis

BigZ0407's configuration parameters are extremely rich, reflecting its designer's deep understanding of market complexity. The strategy's parameters can be roughly divided into the following main categories: entry condition enable switches, entry parameter configuration, exit condition configuration, and custom stop-profit/stop-loss parameters.

2.1 Basic Configuration Parameters

The strategy's timeframe setting uses a main cycle of 5 minutes and an information cycle of 1 hour. This setting means the strategy checks trading signals every 5 minutes but references 1-hour level technical indicators to filter false signals. The process_only_new_candles parameter is set to True, ensuring the strategy only calculates when new candles form, avoiding redundant calculations and improving operational efficiency. The startup_candle_count is set to 200, which is the minimum historical data volume required for the strategy to calculate technical indicators.

Order type configuration uses limit orders as the default order placement method, meaning the strategy will attempt to execute at specified prices or better. Stop-loss orders use market orders to ensure quick execution during severe market volatility. stoploss_on_exchange is set to False, indicating stop-loss is controlled by the strategy itself rather than executed by the exchange, providing greater flexibility.

2.2 Entry Condition Configuration

The strategy defines 14 entry conditions (buy_condition_0 to buy_condition_13), each of which can be independently enabled or disabled via corresponding enable parameters. This modular design allows traders to flexibly adjust the strategy's entry behavior based on market conditions. All entry conditions are enabled by default, but in actual use, traders can disable certain conditions as needed to reduce trading frequency or change strategy behavior.

Each entry condition has a set of associated parameters, such as RSI thresholds, Bollinger Band position thresholds, volume ratios, etc. Most of these parameters have been optimized, but the strategy retains the possibility for further optimization. Parameters like buy_bb20_optimize, buy_rsi_optimize, buy_macd_optimize control whether to optimize corresponding parameters. When these parameters are set to False, the strategy uses preset default parameter values.

2.3 Exit and Fund Management Configuration

In exit configuration, the strategy provides 8 exit conditions (sell_condition_1 to sell_condition_8), also controllable via enable parameters. Notably, the strategy uses exit_profit_only parameter set to True, meaning exit signals are only executed when positions are in profit, helping avoid being stopped out by small fluctuations in oscillating markets.

Trailing stop configuration is enabled, with trailing_stop_positive set to 0.01 (1%) and trailing_stop_positive_offset set to 0.025 (2.5%). This means when position profit exceeds 1%, if price falls 2.5% from the highest point, trailing stop-loss is triggered. This design allows the strategy to lock in more profits during trending markets while avoiding premature exits due to short-term volatility.


III. Entry Conditions Details

BigZ0407 strategy's entry logic is the embodiment of its core competitiveness. The strategy defines 11 different entry conditions, each targeting specific market patterns or technical indicator combinations. The following will analyze the specific trigger mechanisms of each entry condition one by one.

3.1 Condition 0: RSI Oversold Rebound Entry

Entry condition 0 is a typical RSI oversold rebound strategy. It triggers when the closing price is above the 200-day EMA, while the 5-minute RSI is below 30 (default value, configurable), and the 1-hour RSI is below 71 (default value). Additionally, it requires meeting volume contraction conditions, meaning current volume is significantly below average levels from earlier periods. The core concept of this condition is to buy during short-term market oversold conditions and wait for technical rebounds.

Specific parameter configuration: buy_condition_0_rsi default value 30, buy_condition_0_close default value 1.024 (used to judge price position relative to 3-day ago opening price), buy_condition_0_rsi_1h default value 71. These parameters can be adjusted based on market volatility, with lower values meaning stricter entry conditions.

3.2 Condition 1: Bollinger Band Lower Rail Buy Option

Condition 1 requires price to be above both 200-day EMA and 1-hour EMA, while closing price is near the Bollinger Band lower rail (a certain proportion of bb_lowerband), and 1-hour RSI below 69. This condition also requires the current candle to be a declining candle (opening price greater than closing price), and volume to show a specific pattern—earlier volume was high but current volume significantly declined. This entry pattern captures rebound opportunities when price finds support at the Bollinger Band lower rail.

3.3 Condition 2: Bollinger Band Lower Rail Safe Entry

Condition 2 is similar to condition 1, but doesn't require 1-hour RSI to be below a specific value, only needing closing price near the Bollinger Band lower rail. This condition similarly requires meeting volume contraction patterns, meaning current volume is significantly below the previous candle. This entry condition is relatively loose, capturing broader oversold rebound opportunities.

3.4 Condition 3: Oversold Entry Above 1-Hour EMA

Condition 3 requires price to be above the 1-hour 200-day EMA but below the 5-minute Bollinger Band lower rail, while 5-minute RSI is extremely low (default 14.2). Volume conditions similarly require contraction patterns. The uniqueness of this condition lies in its combination of long-term trend judgment (1-hour EMA direction) and short-term oversold signals (5-minute RSI and Bollinger Band position).

3.5 Conditions 4-6: RSI and MACD Combination Entry

Condition 4 requires 1-hour RSI to be extremely low (below 16.5) and price at the Bollinger Band lower rail. Conditions 5 and 6 combine MACD indicators, requiring MACD's fast line (ema_26) to be above the slow line (ema_12), with sufficient difference between the two lines. Condition 5 also requires closing price below the Bollinger Band lower rail. These conditions aim to capture entry opportunities accompanying oversold patterns after MACD golden crosses.

3.6 Conditions 7-9: Multi-Indicator Resonance Entry

Conditions 7-9 further combine more technical indicators. Condition 7 requires 1-hour RSI below 15, MACD showing golden cross pattern, and volume contraction. Condition 8 combines 1-hour RSI (below 35) and 5-minute RSI (below 28), representing a pure RSI oversold strategy. Condition 9 adds volume conditions to condition 8, requiring volume to expand earlier then contract.

3.7 Condition 10: 1-Hour Oversold Rebound Entry

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

3.8 Conditions 11-12: Special Pattern Entry

Conditions 11 and 12 are more complex entry conditions. Condition 11 requires closing price above Bollinger Band middle rail but previous candle below the middle rail, while MACD histogram remains positive for 5 consecutive periods. Condition 12 is a "false breakout" entry pattern, requiring price to first break above Bollinger Band upper rail then fall back near the lower rail, while 1-hour RSI is within a specific range. These conditions capture reversal patterns and pullback opportunities after consolidation breakouts.


IV. Exit Conditions Details

BigZ0407 strategy's exit logic is the core component of its risk management system. Unlike traditional fixed stop-profit/stop-loss, this strategy employs a complex custom exit mechanism (custom_exit), dynamically deciding exit timing based on multiple dimensional factors including position profit status, market trend strength, RSI levels, etc.

4.1 Tiered Take-Profit Mechanism

The strategy defines 12 levels of take-profit conditions (signal_profit_0 to signal_profit_11), each corresponding to different profit ranges and RSI thresholds. Taking signal_profit_11 as an example, it triggers exit when profit exceeds 20% and RSI is below 34. By analogy, lower profit levels correspond to lower RSI thresholds. For example, signal_profit_1 corresponds to 1%-2% profit range, with RSI threshold below 35.

The benefit of this tiered design is: as profit increases, the strategy becomes more sensitive, and slight RSI increases trigger exits, helping lock in profits at high levels. Meanwhile, when profits are smaller, the strategy gives positions more room to rebound, reducing the possibility of being "shaken out."

4.2 Special Handling Below EMA200

The strategy designs dedicated exit conditions for situations where price is below EMA200 (signal_profit_u_0 to signal_profit_u_11). These conditions add the requirement that closing price must be below EMA200 on top of standard take-profit conditions. When price falls below EMA200, even if profit amplitude is not large, exits are triggered as long as RSI reaches corresponding thresholds, helping protect existing profits during downtrends.

4.3 Pump Protection Mechanism

For potential "pump" patterns (i.e., short-term sharp price increases followed by rapid declines), the strategy designs sell protection mechanisms across three time dimensions: 48 hours, 36 hours, and 24 hours. These mechanisms identify abnormal volatility by detecting price volatility (hl_pct_change and oc_pct_change), triggering exits when price reaches specific profit levels and RSI meets conditions.

4.4 Trend Reversal Detection Exit

The strategy contains multiple trend reversal detection exit conditions. The sma_200_dec_20 condition detects whether 200-day SMA is in a declining state, triggering exits when SMA is declining and profit is within specific ranges. sell_trail_ prefixed conditions combine trailing take-profit concepts, triggering when profit reaches certain levels and falls specific proportions from highest points.

4.5 Recovery Exit Mechanism

For positions already experiencing significant losses, the strategy designs recovery exit mechanisms (signal_profit_r_1 and signal_profit_r_2). These conditions trigger exits as long as slight profits occur and RSI meets conditions after position losses exceed specific proportions. This mechanism aims to minimize losses as much as possible, avoiding long-term holding of continuously declining assets.

4.6 Long-Term Position Special Handling

The strategy also considers long-term position situations. The sell_custom_long_profit_1 condition triggers exits for trades held over 900 minutes (approximately 15 hours) with profits in the 3%-4% range. This ensures that even without obvious market reversal signals, long-term positions won't be held indefinitely.


V. Technical Indicator System

BigZ0407 strategy uses rich technical indicators to build its trading decision system, covering multiple dimensions including trend judgment, overbought/oversold analysis, volume analysis, and volatility analysis.

5.1 Trend Indicators

The strategy primarily uses Exponential Moving Averages (EMA) to judge market trends. Key trend judgment indicators include: ema_12 (12-period EMA), ema_26 (26-period EMA, used for MACD calculation), ema_50 (50-period EMA), ema_100 (100-period EMA), and ema_200 (200-period EMA). Among these, the 200-day EMA serves as the core trend dividing line—when price is above the 200-day EMA it's considered a bull market pattern, and below it's considered a bear market pattern.

Additionally, the strategy uses Simple Moving Averages (SMA), particularly sma_200 for detecting long-term trend direction. sma_200_dec_20 and sma_200_dec_24 detect whether SMA200 has been continuously declining over the past 20 and 24 periods respectively, used to judge whether the market is in a downtrend.

5.2 Overbought/Oversold Indicators

Relative Strength Index (RSI) is the most important overbought/oversold indicator in the strategy. The strategy calculates both 5-minute timeframe RSI and 1-hour timeframe RSI (rsi_1h), comprehensively using RSI values from both time periods in entry and exit conditions. Generally, 5-minute RSI judges short-term oversold opportunities, while 1-hour RSI filters short-term signals opposite to long-term trends.

Bollinger Bands are another important overbought/oversold tool. The strategy uses two Bollinger Band settings: 20-period and 40-period. Bollinger Band lower rail (bb_lowerband) is typically viewed as support, while upper rail (bb_upperband) is viewed as resistance. When price touches the lower rail it often indicates oversold conditions, while touching the upper rail may indicate overbought conditions.

5.3 Momentum Indicators

MACD (Moving Average Convergence Divergence) is the strategy's primary momentum indicator. The strategy uses standard settings of 12-period fast line, 26-period slow line, and 9-period signal line. MACD histogram (hist) positive/negative changes are used as signals for momentum transitions—when histogram turns from negative to positive, it indicates short-term momentum is strengthening.

Elliot Wave Oscillator (EWO) is another momentum indicator, calculating the percentage difference between 5-period EMA and 35-period EMA relative to closing price. EWO helps identify trend strength and potential reversal points.

5.4 Volume Indicators

The strategy uses volume moving averages (volume_mean_slow and volume_mean_4) to evaluate current volume levels. volume_mean_slow uses 48-period calculation, representing long-term average volume. When current volume is significantly below long-term average, it's typically viewed as a signal of decreased market activity.

Additionally, the strategy uses Chaikin Money Flow (CMF) indicator to evaluate capital flow. CMF combines price and volume information, better reflecting true market buying/selling pressure.

5.5 Volatility Indicators

The strategy uses multiple custom volatility indicators to evaluate market state. The range_percent_change function calculates price change percentage over specific periods, used to detect abnormal volatility. The top_percent_change function calculates percentage change between current closing price and historical highest opening price, used to judge price position relative to recent highs.

These volatility indicators are primarily used to identify "pump"行情 (sell_pump_48_1, sell_pump_36_1, sell_pump_24_1, etc.). When abnormal volatility is detected, the strategy enables additional protective exit conditions.


VI. Strategy Pros & Cons

6.1 Strategy Advantages

Excellent Drawdown Control: BigZ0407's most significant advantage is its exceptional drawdown control capability. The strategy's core philosophy is "keep drawdown as low as possible," which is fully reflected in actual trading. The combination of multiple stop-loss mechanisms (custom stop-loss, trailing stop, recovery stop-loss) enables the strategy to react quickly during unfavorable markets and cut losses.

Rich and Diverse Signals: The strategy provides 11 different entry conditions, covering various market patterns including oversold rebounds, breakout pullbacks, and trend pullbacks. This diversity enables the strategy to find trading opportunities in different market environments, rather than relying solely on one specific pattern.

Multi-Timeframe Analysis: By combining information from both 5-minute and 1-hour timeframes, the strategy can more comprehensively understand market state. 1-hour level indicators judge long-term trends and filter false signals, while 5-minute level indicators precisely grasp entry timing.

Intelligent Exit Mechanism: The strategy's custom_exit system is its most complex and powerful part. The combination of tiered take-profit, trend reversal detection, pump protection, recovery mechanisms, and various other exit logics enables the strategy to adopt optimal exit strategies based on different market conditions.

Strong Parameter Adjustability: Every entry and exit condition in the strategy can be independently enabled or disabled, providing traders with great flexibility. Traders can adjust strategy behavior based on their risk preferences and market judgments.

6.2 Strategy Limitations

Large Number of Parameters: The strategy has hundreds of configurable parameters. Although most have been optimized, such a large parameter count may be difficult for beginners to understand and adjust. Incorrect parameter settings may lead to significant strategy performance declines.

Potentially High Trading Frequency: Due to having 11 entry conditions with most enabled by default, the strategy may generate many trading signals during high market volatility. High trading frequency means higher trading costs (fees, slippage), which may erode strategy profitability.

May Perform Poorly in One-Sided Uptrends: The strategy's oversold rebound design makes it more suitable for oscillating markets and rebound行情 after declines. In sustained bull markets, the strategy may miss more profits due to premature exits.

Sensitive to Market Environment: Multiple conditions in the strategy are designed for specific market patterns. When market characteristics undergo fundamental changes (such as transitioning from oscillating to one-sided trends), the strategy may require parameter or condition setting readjustments.

Maintenance Difficulty from Complexity: The strategy code exceeds 2000 lines, containing大量 technical indicator calculations and condition judgments. This complexity makes strategy debugging and maintenance relatively difficult, requiring experienced traders to effectively optimize and adjust.


VII. Applicable Scenarios

Oscillating Market Environment: BigZ0407 is most suitable for oscillating markets. When prices fluctuate within a relatively fixed range, the strategy's oversold buying and quick profit-taking logic can effectively capture range volatility profits. In this environment, the strategy's multiple entry conditions can trigger frequently, while the exit mechanism can timely exit when prices rebound to reasonable levels.

High Volatility Markets: The strategy's pump protection mechanism and volatility detection functions enable it to adapt to high volatility markets. When abnormal volatility occurs, the strategy can automatically adjust exit strategies, protecting acquired profits during volatility. This is particularly important for cryptocurrency markets with high volatility.

Rebound Opportunities After Downtrends: The strategy's core philosophy is "buy after declines," therefore it often performs well in technical rebound opportunities after prices experience significant declines. When markets begin recovering from lows, oversold RSI and prices touching Bollinger Band lower rails provide ideal entry signals for the strategy.

7.2 Scenarios Requiring Caution

Strong One-Sided Uptrends: In sustained bull markets, the strategy's exit mechanism may be too conservative, leading to premature exits and missing larger gains. If the market is in a clear uptrend, consider disabling some strict exit conditions or adjusting take-profit parameters.

Prolonged Sideways Consolidation: When markets remain sideways for extended periods, although the strategy's entry conditions may trigger frequently, each rebound amplitude may be limited. Frequent small profits may难以 cover trading costs, leading to poor overall performance.

Low Liquidity Markets: Multiple conditions in the strategy rely on volume analysis. In low liquidity markets, volume signals may be distorted, potentially leading to false entry signals or unnecessary trades.

7.3 Use with Other Tools

It's recommended to use BigZ0407 with other risk management tools. For example, overall fund management rules can be set to limit the strategy's maximum exposure on single tokens. Daily or weekly trading frequency limits can also be set to avoid overtrading.

Additionally, regularly reviewing strategy performance and adjusting parameters based on market conditions is necessary. As market characteristics change, certain entry conditions may need to be enabled or disabled, or take-profit/stop-loss parameters adjusted.


VIII. Parameter Optimization

8.1 Default Parameter Philosophy

The strategy's default parameters have been carefully optimized by the developer. 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 are suitable for long-term trends, while shorter periods are 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

BigZ0407 is a well-designed, comprehensive cryptocurrency trading strategy, with its core philosophy centered on controlling drawdown to minimum levels through multiple protection mechanisms while capturing rebound opportunities after market declines. The strategy's 11 entry conditions and complex custom exit system enable it to adapt to various market environments.

From a technical implementation perspective, the strategy comprehensively uses classic technical indicators such as Bollinger Bands, RSI, MACD, and EMA, and innovatively combines multi-timeframe analysis, volatility detection, volume analysis, and other methods. This complex technical system provides the strategy with comprehensive market insight capabilities, but also means higher understanding and maintenance thresholds.

The strategy's greatest advantage lies in its risk management capability. Through multiple protective measures including custom stop-loss, trailing take-profit, pump protection, and recovery mechanisms, the strategy can react quickly during unfavorable markets and cut losses. Meanwhile, the strategy's flexibility also provides sufficient optimization space for experienced traders.

However, investors should also clearly recognize the strategy's limitations. The large number of parameters may bring over-optimization risks, complex logic increases understanding and maintenance difficulty, and the strategy's oversold rebound characteristics determine its performance in one-sided uptrends may not be as good as in oscillating markets.

Overall, BigZ0407 is a strategy suitable for investors with certain quantitative trading experience. For beginners, it's recommended to start with simpler strategies, and only attempt to use or modify BigZ0407 after accumulating sufficient experience. During use, sufficient backtesting should be conducted, parameters should be adjusted cautiously, and continuous monitoring should be maintained to ensure effective strategy operation.