BigZ04HO2 Strategy Analysis
I. Strategy Overview
BigZ04HO2 is a high-frequency trading strategy developed by ilya, originating from the design philosophy of the classic strategy CombinedBinHAndClucV6. The strategy's core design philosophy is: minimize drawdown as much as possible, buy during price dips, sell quickly to release capital for the next trade.
| Core Feature | Details |
|---|---|
| Strategy Type | Entry signal type (no active exit signals) |
| Timeframe | 5 minutes (main) + 1 hour (information) |
| Entry Conditions | 14 independent conditions |
| Maximum Positions | Recommended 2-4 pairs |
| stoploss | -0.99 (actually disabled, relies on custom stoploss) |
| Trailing Stop | Enabled (1% take-profit level, 2.5% trigger) |
| Take-Profit Mode | ROI (ladder-style) |
Design Philosophy
- Soft checks: Whether market is in uptrend
- Hard checks: Whether market has declined
- Fast turnover: Sell quickly, don't be greedy
- Low drawdown priority: Rather earn less than control losses
II. Strategy Configuration Analysis
2.1 Timeframe Configuration
timeframe = '5m' # Main timeframe
inf_1h = '1h' # Information timeframe (1 hour)
The strategy simultaneously analyzes two time periods: 5-minute candles as trade execution cycle, 1-hour candles as trend judgment assistance.
2.2 Order Type Configuration
order_types = {
'entry': 'market',
'exit': 'market',
'stoploss': 'market',
'stoploss_on_exchange': False
}
All executed using market orders, ensuring execution speed.
2.3 Take-Profit Strategy (ROI)
minimal_roi = {
"0": 0.028, # Sell immediately: 2.8%
"10": 0.018, # After 10 minutes: 1.8%
"40": 0.005, # After 40 minutes: 0.5%
"180": 0.018, # After 3 hours: 1.8%
}
Ladder-style take-profit design reflects the "sell quickly" core philosophy.
III. Entry Conditions Details
The strategy contains 14 entry conditions (Buy Condition 0-12, with some numbering gaps), each independently switchable.
3.1 Condition 0: RSI Oversold + Strong Breakout
- Price needs to stand above EMA200 (short-term strong)
- 5-minute RSI below 34 (oversold)
- 1-hour RSI below 73
- Closing price has sufficient decline compared to 3 days ago opening price
- Volume needs to show "first expand then contract" characteristics
3.2 Condition 1: Bollinger Band Lower Rail + High RSI
- Price stands above EMA200 and EMA200_1h (dual cycle strong)
- Closing price below Bollinger Band lower rail (4% safety margin)
- 1-hour RSI below 69
- Volume contraction confirmation
3.3 Condition 2: Pure Bollinger Band Strategy
- Price stands above EMA200
- Closing price below 7.4% position of Bollinger Band lower rail
- Volume contraction pattern
3.4 Condition 3: 1-Hour Trend Confirmation
- 1-hour EMA200 upward
- Price below Bollinger Band lower rail
- 5-minute RSI extremely low (below 14.2)
3.5 Condition 4: 1-Hour RSI Extremely Oversold
- 1-hour RSI below 20.3
- Price below Bollinger Band lower rail
- Volume contraction pattern
3.6 Condition 5: MACD Golden Cross + Bollinger Band
- Price stands above EMA200 and EMA200_1h
- MACD shows golden cross (EMA26 > EMA12)
- MACD difference continuously expanding
- Price below Bollinger Band lower rail
3.7 Condition 6: MACD+1-Hour RSI
- 1-hour RSI below 35.7
- MACD golden cross pattern
- Price below Bollinger Band lower rail
3.8 Condition 7: MACD+Ultra-Short RSI
- 1-hour RSI below 17.6
- MACD golden cross
- Volume contraction
3.9 Condition 8: Dual RSI Oversold
- 1-hour RSI below 21.4
- 5-minute RSI below 28
- Volume contraction
3.10 Condition 9: RSI Combination
- 1-hour RSI below 36.2
- 5-minute RSI below 10
- Volume analysis
3.11 Condition 10: 1-Hour Bollinger Band Breakout
- 1-hour RSI below 36.2
- 1-hour price below Bollinger Band lower rail
- MACD Histogram turns positive
- 5-minute RSI below 40.5
3.12 Condition 11: Trend Pullback
- Price stands above EMA200
- MACD Histogram positive for 5 consecutive periods
- Bollinger Band narrows
- Price breaks above Bollinger Band middle rail
- Volume contraction
3.13 Condition 12: Composite Filter
- Price stands above EMA200 and EMA200_1h
- Both closing price and lowest price touch Bollinger Band lower rail
- 1-hour RSI below 72.5
- Volume contraction
- Shadow line filter
IV. Exit Logic Details
Important Note: BigZ04HO2 has no traditional active exit signals.
4.1 Exit Method One: ROI Take-Profit
Strategy relies on ladder-style ROI to implement exits:
- Immediately obtains 2.8% return after position entry
- Drops to 1.8% after 10 minutes
- Only needs 0.5% to sell after 40 minutes
- Returns to 1.8% after 3 hours
4.2 Exit Method Two: Custom Stoploss
Custom stoploss logic (custom_stoploss):
- Starts monitoring after position held 145 minutes
- If 1-hour RSI below 30, viewed as bottom region, continue holding
- If price above EMA200 and current price below opening price 1.5%, stoploss and exit
- Otherwise exit when price below opening price 1.5%
4.3 Exit Method Three: Trailing Stop
- Take-profit trigger line: 1%
- Trailing pullback amplitude: 2.5%
4.4 exit_profit_only = True
This parameter ensures exit signals are only executed when in profitable state.
V. Technical Indicator System
5.1 Trend Indicators
| Indicator | Period | Usage |
|---|---|---|
| EMA200 | 5 minutes | Short-term trend judgment |
| EMA200 | 1 hour | Medium-term trend judgment |
| EMA50 | 1 hour | Auxiliary trend |
| EMA12/26 | 5 minutes | MACD components |
5.2 Momentum Indicators
| Indicator | Period | Usage |
|---|---|---|
| RSI | 14 | Overbought/oversold judgment |
| RSI | 14 (1 hour) | Trend strength |
| MACD | 12,26,9 | Trend momentum |
| Histogram | - | Momentum changes |
5.3 Volatility Indicators
| Indicator | Parameters | Usage |
|---|---|---|
| Bollinger Bands | 20,2 | Support/resistance identification |
| BB Lower Band | - | Entry timing judgment |
| BB Middle Band | - | Exit trigger |
5.4 Volume Indicators
| Indicator | Period | Usage |
|---|---|---|
| Volume | - | Execution confirmation |
| Volume Mean Slow | 48 | Volume smoothing |
VI. Strategy Pros & Cons
6.1 Advantages
- Drawdown Control: Through multi-condition filtering and fast selling, theoretical drawdown relatively low
- High Win Rate: Multiple independent conditions increase signal reliability
- Adaptability: 14 conditions can be independently switched, adapting to different markets
- High Automation: No manual intervention needed
- Trend Filtering: EMA200 avoids counter-trend trading
6.2 Limitations
- Too Complex: 14 conditions difficult to fully understand each signal
- Low Profit-Loss Ratio: Fast selling means limited profit per trade
- Average Bull Market Performance: "Low drawdown" design may underperform market in bull markets
- Signal Conflicts: Multiple conditions may produce contradictory signals
- Parameter Sensitivity: Default parameters may not apply to all coins
VII. Applicable Scenarios
7.1 Recommended Scenarios
- Oscillating Markets: When prices fluctuate back and forth, easy to capture dip entry opportunities
- High Volatility Coins: Signals more reliable when volume expands
- Combined Use: Recommended to use with other trend strategies
- Small Capital: Suitable for running 2-4 pairs simultaneously
7.2 Not Recommended Scenarios
- One-Sided Uptrends: Strategy will sell too early, missing main upward wave
- Long-Term Holding: Design original intention is short-term high-frequency
- Low Volatility Markets: Volume contraction conditions difficult to satisfy
- Extreme Markets: May produce unexpected losses
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
BigZ04HO2 is an entry strategy emphasizing low drawdown, high-frequency turnover. Its core design philosophy is: buy when price touches Bollinger Band lower rail (representing price dip), then sell quickly to lock in profits.
Key Features:
- 14 independent entry conditions, can be flexibly switched
- No active exit signals, relies on ROI and custom stoploss
- Multi-cycle RSI + volume dual filtering
- Trailing stop protects profits
- Suitable for oscillating markets and portfolio investment
Usage Suggestions:
- Recommended to use with trend strategies
- Verify with small capital live trading before increasing position
- Monitor each condition's trigger frequency, optimize timely
- Understand each condition's logic before adjusting parameters
Risk Warnings: The strategy's "fast selling" design means limited profit per trade, needs high win rate support. Be sure to use after full understanding, and do risk control well.