NostalgiaForInfinityX — Strategy Analysis
I. Strategy Overview
NostalgiaForInfinityX is one of the most influential strategies in the Freqtrade quantitative trading framework ecosystem. Developed by the iterativ team, it has gone through multiple version iterations, with the "X" designation representing the current-generation version.
Strategy Positioning
Medium-short-term trend-following strategy, specifically designed for the crypto spot market. Uses 5-minute K-lines as the primary timeframe, with 15-minute, 1-hour, and 1-day timeframes for verification.
Core Features
| Feature | Description |
|---|---|
| Buy Conditions | 34 independent conditions, all independently configurable |
| Sell System | Multi-level profit management based on profit tiers |
| Timeframe | 5m (main) + 15m/1h/1d (informative) |
| Protection | Trend filter, Safe Dips/Pump, BTC filter, pivot points |
II. Technical Indicator System
2.1 Trend Indicators
EMA: 8/12/13/16/20/25/26/50/100/200 periods — trend direction, golden/death cross SMA: 15/21/28/30/75/200 periods — trend confirmation, MA offset entry
Key Application:
- EMA 50 > EMA 200: Medium-term uptrend
- Price > EMA 200: Bull market confirmation
- SMA 200 slope: Long-term trend direction
2.2 Oscillators
RSI (14/4/20): Overbought/oversold, dual timeframe verification Williams %R: 14/24/32/64/96/480 periods — extreme overbought/oversold CTI: Closing Trend Index, -1 to +1 — trend strength
2.3 Volatility
Bollinger Bands: BB20-2 (standard), BB20-3 (wide), BB40-2 (longer period)
2.4 Volume/Flow
CMF (20-period): Chaikin Money Flow — fund flow direction EWO: Elder-Ray Oscillator (EMA50 - EMA200)
III. Multi-Timeframe Architecture
4-Layer Design
| Layer | Timeframe | Role |
|---|---|---|
| Main | 5m | Signal generation, execution |
| Auxiliary | 15m | Signal confirmation, noise filtering |
| Informative | 1h | Trend judgment, buy protection |
| Reference | 1d | Macro direction, key levels |
Cross-Timeframe Verification
- Trend Consistency: Main timeframe signal must align with higher timeframe trends
- Multi-Timeframe Indicators: 5m/15m/1h CMF all negative = strong fund flow exit confirmation
IV. Buy Signal System
4.1 Protection Parameters
| Protection Type | Description |
|---|---|
| ema_fast | Fast EMA (default 8) > EMA 200 |
| ema_slow | 1h EMA (default 50) > EMA 100 |
| sma200_rising | SMA 200 rising (20-period check) |
| sma200_1h_rising | 1h SMA 200 rising |
| safe_dips | Safe pullback thresholds |
| safe_pump | Safe surge thresholds (6h/12h/24h/36h/48h) |
| btc_1h_not_downtrend | BTC 1h not in downtrend |
| close_over/under_pivot | Price relative to pivot points |
4.2 Condition Categories
| Category | Conditions | Core Logic |
|---|---|---|
| Uptrend Pullback | #5/#8/#14/#19/#27 | In clear uptrend, wait for pullback |
| Downtrend Rebound | #9/#13/#23/#28/#29 | In downtrend, seek extreme oversold bounce |
| Local Bottom | #1/#2/#3/#4/#6/#7/#10/#11 | Not trend-specific, local oversold |
| Deep Bottom | #17/#31/#32/#34 | Extreme oversold, bottom-fishing |
| Trend Shift | #16/#25 | MA cross and fund flow shift |
4.3 Key Conditions
Condition #5 (Uptrend Pullback):
- 1h EMA 200 rising
- Price below SMA 75 by 6.8%+
- EWO > 3.4
- CTI < -0.93
- Williams %R < -97
Condition #13 (Downtrend Rebound):
- Price below EMA 20
- EWO < -5.7
- CTI < -0.97
- CRSI_1h > 12
Condition #17 (Deep Bottom):
- Williams %R 480 < -99
- Williams %R 14 = -100
- RSI 14 + RSI 1h < 40
V. Sell Signal System
5.1 Profit Tier Architecture
The strategy divides profits from 0.1% to 20%+ into multiple tiers, each with different exit conditions.
Design Philosophy:
- Micro profit (0.1%–1%): Extremely conservative, any reversal signal triggers exit
- Low profit (1%–5%): Conservative, requires multiple indicator confirmations
- Medium profit (5%–10%): Balanced, moderate thresholds
- High profit (10%–20%): Relaxed thresholds, allows more price movement
- Ultra-high (>20%): Very relaxed, tracks major trends
5.2 Market Environment Adaptation
Bull Market (Price > EMA 200): Higher RSI thresholds — more patient Bear Market (Price < EMA 200): Lower RSI thresholds — faster exits
5.3 Specialized Exit Methods
| Method | Purpose |
|---|---|
| sell_profit_above | High profit exits |
| sell_over_main | Bull market exits |
| sell_under_main | Bear market exits |
| sell_r | Williams %R based exits |
| sell_dip | Loss/drawdown exits |
VI. Risk Management
6.1 Entry Risk Control
- Trend filtering (MA direction, price position)
- Safe boundaries (Safe Dips/Pump)
- BTC global filter
- Backtest age protection (30-day minimum)
6.2 Holding Risk Control
- Dynamic stop loss via custom_stoploss
- Trailing stop
- Multi-level take profit
6.3 Capital Management
- Recommended positions: 3–5 concurrent
- Single trade risk: 2%–5% of capital
- Dynamic allocation based on risk level
VII. Summary
NostalgiaForInfinityX is a meticulously designed quantitative trading strategy. Core advantages:
- Multi-dimensional entry logic
- Layered profit management
- Multi-timeframe verification
- Intelligent market environment adaptation
For experienced quantitative traders, this is a strategy framework worthy of deep research. Beginners should start simple and progress gradually.