Skip to main content

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

FeatureDescription
Buy Conditions34 independent conditions, all independently configurable
Sell SystemMulti-level profit management based on profit tiers
Timeframe5m (main) + 15m/1h/1d (informative)
ProtectionTrend 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

LayerTimeframeRole
Main5mSignal generation, execution
Auxiliary15mSignal confirmation, noise filtering
Informative1hTrend judgment, buy protection
Reference1dMacro 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 TypeDescription
ema_fastFast EMA (default 8) > EMA 200
ema_slow1h EMA (default 50) > EMA 100
sma200_risingSMA 200 rising (20-period check)
sma200_1h_rising1h SMA 200 rising
safe_dipsSafe pullback thresholds
safe_pumpSafe surge thresholds (6h/12h/24h/36h/48h)
btc_1h_not_downtrendBTC 1h not in downtrend
close_over/under_pivotPrice relative to pivot points

4.2 Condition Categories

CategoryConditionsCore Logic
Uptrend Pullback#5/#8/#14/#19/#27In clear uptrend, wait for pullback
Downtrend Rebound#9/#13/#23/#28/#29In downtrend, seek extreme oversold bounce
Local Bottom#1/#2/#3/#4/#6/#7/#10/#11Not trend-specific, local oversold
Deep Bottom#17/#31/#32/#34Extreme oversold, bottom-fishing
Trend Shift#16/#25MA 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

MethodPurpose
sell_profit_aboveHigh profit exits
sell_over_mainBull market exits
sell_under_mainBear market exits
sell_rWilliams %R based exits
sell_dipLoss/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.