NFI5MOHO Strategy Analysis
Strategy ID: #269 (269th of 465 strategies)
Strategy Type: Multi-condition Trend Following + Multiple Protection Mechanisms
Timeframe: 5 Minutes (5m), Auxiliary Timeframe 1 Hour (1h)
I. Strategy Overview
NFI5MOHO is a highly complex quantitative strategy evolved from NostalgiaForInfinityV5, fusing MultiOffsetLamboV0 and hyperparameter optimization techniques. The strategy captures various market opportunities through 21 independent entry conditions and 8 sell conditions, paired with multi-layer protection mechanisms, building a highly adaptive trading system.
Core design philosophy: "Multi-Entry, Strict Protection, Flexible Take-Profit" — capturing various market opportunities through rich entry conditions while filtering dangerous signals through strict protection mechanisms, ultimately locking in profits through a tiered take-profit system.
Core Features
| Feature | Description |
|---|---|
| Entry Conditions | 21 independent buy signals, independently enableable/disableable |
| Exit Conditions | 8 basic sell signals + 5-level custom take-profit + 3 trailing take-profit systems |
| Protection Mechanisms | 3 Dip protection classes + 9 Pump protection parameter groups + 5 MA offset systems |
| Timeframe | 5m primary + 1h informational |
| Dependencies | freqtrade, talib, numpy, pandas, qtpylib |
II. Strategy Configuration Analysis
2.1 Basic Risk Parameters
# ROI Exit Table
minimal_roi = {
"0": 0.08, # 0 minutes: 8% profit
"60": 0.04, # 60 minutes: 4% profit
"90": 0.02, # 90 minutes: 2% profit
"120": 0.01 # 120 minutes: 1% profit
}
# Stop Loss
stoploss = -0.1 # 10% fixed stop loss
# Trailing Stop
trailing_stop = True
trailing_only_offset_is_reached = True
trailing_stop_positive = 0.02 # Starts trailing after 2% profit
trailing_stop_positive_offset = 0.06 # Activates trailing only after 6% profit
Design Philosophy:
- ROI uses progressive design: the longer the holding period, the lower the take-profit threshold, encouraging quick profit-taking
- 10% fixed stop loss is relatively loose, giving price fluctuations ample room
- Trailing stop design is sophisticated: only trails after profit reaches 6%, with 2% trailing distance, avoiding being shaken out too early
III. Entry Conditions Details
3.1 Protection Mechanisms (3 Classes, 9 Groups)
Dip Protection (Decline Protection)
| Protection Type | Parameter Count | Mechanism |
|---|---|---|
| Normal Dip Protection | 4 thresholds | Check current, 2-period, 12-period, 144-period max decline |
| Strict Dip Protection | 4 thresholds | Stricter decline limits, prevents bottom-fishing during crashes |
| Loose Dip Protection | 4 thresholds | Relatively loose decline limits, allows larger fluctuations |
Pump Protection (Surge Protection)
3 sets of time windows (24h/36h/48h), each with Normal/Strict/Loose:
| Time Window | Normal Threshold | Strict Threshold | Loose Threshold |
|---|---|---|---|
| 24 hours | 1.75 / 0.50 | 2.20 / 0.40 | 1.70 / 0.66 |
| 36 hours | 1.75 / 0.56 | 2.00 / 0.56 | 1.70 / 0.70 |
| 48 hours | 1.75 / 0.85 | 2.00 / 0.68 | 1.40 / 1.30 |
3.2 Multi-MA Offset Buy System
5 MA types with independent offset buy logic:
| MA Type | Buy Offset Parameter | Sell Offset Parameter | Description |
|---|---|---|---|
| SMA | 0.955 | 1.051 | Simple Moving Average |
| EMA | 0.929 | 1.047 | Exponential Moving Average |
| TRIMA | 0.949 | 1.096 | Triangular Moving Average |
| T3 | 0.975 | 0.999 | T3 Smooth Moving Average |
| KAMA | 0.972 | 1.070 | Kaufman Adaptive Moving Average |
3.3 Classification of 21 Entry Conditions
| Condition Group | Condition Numbers | Core Logic |
|---|---|---|
| Basic Bottom-Fish | 1-4 | Dip protection + Pump protection, buy at safe decline |
| Strict Bottom-Fish | 5-8 | Stricter conditions, RSI, MFI, Bollinger Band |
| Loose Bottom-Fish | 9-12 | Relaxed conditions, capture more opportunities |
| Trend Pullback | 13-17 | EWO indicator combined with MA offset, capture trend pullbacks |
| Extreme Oversold Rebound | 18-21 | RSI extreme oversold + 1h RSI confirmation, bet on rebound |
IV. Exit Conditions Details
4.1 Multi-Layer Take-Profit System
5-level custom take-profit + 3 trailing take-profit combination:
| Profit Range | RSI Threshold | Signal Name |
|---|---|---|
| 1% - 10% | RSI < 33 | Custom take-profit level 0 |
| 1% - 10% | RSI < 38 | Custom take-profit level 1 |
| 1% - 10% | RSI < 43 | Custom take-profit level 2 |
| 6% - 30% | RSI < 48 | Custom take-profit level 3 |
| 30% - 60% | RSI < 50 | Custom take-profit level 4 |
4.2 Trailing Take-Profit System
| Trailing System | Profit Range | Trailing Drawback Threshold |
|---|---|---|
| Trailing System 1 | 15% - 46% | 18% drawback |
| Trailing System 2 | 1% - 12% | 14% drawback |
| Trailing System 3 | 5% - 10% | 1% drawback |
V. Risk Management Highlights
5.1 Triple Dip Protection System
| Protection Level | Current Candle | 2-Period | 12-Period | 144-Period | Applicable Scenario |
|---|---|---|---|---|---|
| Normal | <2% | <14% | <32% | <50% | Normal markets |
| Strict | <1.5% | <6% | <24% | <40% | Ranging/bear markets |
| Loose | <2.6% | <24% | <42% | <66% | Bull markets |
5.2 EWO Trend Filtering
The strategy only enters when EWO is at extreme values:
# Entry condition
(ewo < -8.5) | (ewo > 4.3) # Extreme oversold or overbought
This ensures entries only when trends are clear, avoiding false signals in ranging markets.
VI. Strategy Pros & Cons
✅ Pros
- Rich Entry Conditions: 21 entry conditions covering various market scenarios
- Complete Protection: Triple Dip protection + nine Pump protection groups, effectively avoiding buying at highs and bottom-fishing in crashes
- Flexible Take-Profit System: 5-level custom take-profit + 3 trailing take-profit, balancing quick profit-taking and trend-following
- Multi-Timeframe Confirmation: Primary 5m + informational 1h, dual confirmation improves reliability
- Strong Optimizability: Large parameter count supports Hyperopt optimization
⚠️ Cons
- High Complexity: Code exceeds 600 lines, parameters exceed 100, extremely high understanding and tuning cost
- Overfitting Risk: Large parameter count optimized through Hyperopt, historical performance may be better than live performance
- Computationally Intensive: Requires computing many indicators, demanding on VPS performance
- Delay Risk: Complex logic may cause signal delays, missing optimal entry timing
VII. Summary
NFI5MOHO is a highly complex, parameter-rich multi-condition trend-following strategy. Its core value lies in:
- Rich Signals: 21 entry conditions capturing opportunities from multiple angles, "wide net" strategy
- Comprehensive Protection: Dip/Pump dual protection mechanism, effectively reducing risk exposure
- Flexible Take-Profit: Tiered take-profit + trailing take-profit combination, balancing profit locking and trend-following
- Strong Optimizability: Large parameter count supports Hyperopt, customizable to personal style
For quantitative traders, this strategy suits users with some experience who can understand complex logic, have sufficient hardware resources, and are willing to invest time in parameter tuning. Beginners should start with simplified versions and gradually understand before using the full version.