Skip to main content

NFI_UO Strategy: In-Depth Analysis

Strategy ID: #242 (Strategy #242 of 465) Strategy Type: NFI Series - Ultimate Oscillator Mode Timeframe: 15 Minutes (15m)


I. Strategy Overview

NFI_UO is a strategy variant within the NFI (Nostalgia For Infinity) series that specifically uses the Ultimate Oscillator (UO). The Ultimate Oscillator, developed by Larry Williams in 1985, is a multi-period momentum indicator that reduces false signals by synthesizing data from multiple timeframes.

The "UO" in the strategy name directly points to the Ultimate Oscillator indicator, meaning this strategy uses UO as its core analytical tool, combined with NFI's multi-condition architecture to achieve more reliable trade signal filtering.

Core Characteristics

FeatureDescription
Entry ConditionsMultiple UO-based entry signal groups
Exit ConditionsMulti-layer take-profit + stop-loss protection
Protection MechanismsUO trend filtering + multi-layer protection
Timeframe15-minute primary + higher-period information
Dependenciespandas, numpy, TA-Lib

II. Strategy Configuration Analysis

2.1 Core Risk Parameters

# ROI Exit Table (Time: Minimum Profit Rate)
minimal_roi = {
"0": 0.13, # Immediate exit: 13% profit
"30": 0.09, # After 30 minutes: 9% profit
"60": 0.05, # After 60 minutes: 5% profit
"120": 0.02 # After 120 minutes: 2% profit
}

# Stop-Loss Settings
stoploss = -0.11 # -11% hard stop-loss

# Trailing Stop
trailing_stop = True
trailing_only_offset_is_reached = True
trailing_stop_positive = 0.045 # 4.5% trailing activation point
trailing_stop_positive_offset = 0.075 # 7.5% offset trigger

Design Philosophy:

  • Higher Initial ROI (13%): Expects to capture larger price movements
  • Moderate Stop-Loss (-11%): Between conservative and aggressive
  • Trailing Stop: 4.5% activation, 7.5% offset, suitable for trending markets

2.2 Order Type Configuration

order_types = {
"entry": "limit",
"exit": "limit",
"stoploss": "limit",
"stoploss_on_exchange": False,
"exit_timeout_count": 0,
}

III. Entry Conditions Details

3.1 Protection Mechanisms (Multiple Groups)

NFI_UO's protection mechanisms are centered on the UO indicator, combined with other technical indicators:

Protection TypeParametersFunction
UO Trend ProtectionUO vs. MA relationshipFilters counter-trend signals
Multi-Period Confirmation15m + 1h UO crossoverReduces false breakouts
RSI ConfirmationRSI auxiliary judgmentVerifies momentum
Volume VerificationOBV trendConfirms fund flow direction

3.2 Core Entry Conditions

Condition Group 1: UO Bullish Divergence

  • UO makes a new low but price does not make a new low
  • Classic bullish divergence signal
  • Confirmed with RSI oversold

Condition Group 2: UO Zero-Line Crossover Up

  • UO crosses above the zero line from below
  • Momentum strengthening signal
  • Confirmed with volume expansion

Condition Group 3: UO Oversold Zone Reversal

  • UO enters oversold zone (< 30)
  • Subsequently reverses upward
  • Confirmed with other indicators

3.3 Entry Conditions Summary

Condition GroupCore LogicSignal Type
Bullish DivergenceUO divergence + price supportReversal signal
Zero-Line CrossoverUO zero-line breakoutMomentum signal
Oversold ReversalUO oversold bounceRebound signal

IV. Exit Logic Details

4.1 Multi-Layer Take-Profit System

Profit Rate Zone     Threshold       Signal Name
─────────────────────────────────────────────
0-30 minutes 13% Quick Profit
30-60 minutes 9% Medium-term Target
60-120 minutes 5% Conservative Exit
120+ minutes 2% End-of-Session Breakeven

4.2 Special Exit Scenarios

ScenarioTrigger ConditionSignal Name
UO Bearish DivergenceUO makes new high but price does notDivergence Exit
UO Zero-Line Crossover DownUO crosses below zero from aboveMomentum Exit
UO OverboughtUO > 70Overbought Exit
Stop-Loss TriggeredLoss exceeds 11%Hard Stop

4.3 Basic Exit Signals

  1. UO Bearish Divergence: Momentum weakening, potential trend reversal
  2. UO Zero-Line Crossover Down: Momentum weakening
  3. Price Breaks Below MA Group: Trend turns bearish

V. Technical Indicator System

5.1 Core Indicator: Ultimate Oscillator

IndicatorCalculationPeriod Parameters
UO(7-period AVG × 4) + (14-period AVG × 2) + (28-period AVG) / 77, 14, 28

5.2 Auxiliary Indicators

Indicator CategorySpecific IndicatorsPurpose
MomentumRSI, UOMeasure momentum
TrendEMA, SMADetermine direction
VolumeOBVVerify fund flow

5.3 UO Signal Interpretation

SignalUO PositionMeaning
BuyUO < 30 and risingOversold bounce
SellUO > 70 and fallingOverbought pullback
DivergenceUO diverges from priceTrend reversal

VI. Risk Management Features

6.1 UO-Specific Risk Control

Risk Control TypeDescription
Multi-Period ConfirmationReduces false signals
Divergence DetectionEarly warning of reversals
Overbought/OversoldAvoids chasing highs and lows

6.2 Traditional Risk Control Retained

TypeParameters
Fixed Stop-Loss-11%
Trailing Stop4.5-7.5%
ROI Take-ProfitTiered exit

VII. Strategy Pros & Cons

✅ Pros

  1. UO Multi-Period Design: Reduces false signals, improves signal quality
  2. Divergence Detection: Early warning of trend reversals
  3. Momentum Confirmation: RSI verifies signals
  4. NFI Architecture: Mature multi-condition system

⚠️ Cons

  1. Indicator Lag: UO calculation has a longer cycle
  2. Parameter Sensitivity: Period parameters significantly affect results
  3. Average Ranging Market Performance: Common trend strategy weakness
  4. Requires Trends: Momentum indicators fail in ranging markets

VIII. Applicable Scenarios

Market EnvironmentRecommended ConfigDescription
Trending UpEnable long conditionsTrend trading
Trending DownEnable short conditionsCapture declines
Ranging MarketReduce trading frequencyFilter false signals
High VolatilityParticipate moderatelyAmplify returns

IX. Applicable Market Environment Details

9.1 NFI_UO Positioning

NFI_UO is a strategy variant within the NFI series with Ultimate Oscillator as its core. UO's biggest feature is synthesizing short-term, medium-term, and long-term momentum data across three periods, effectively reducing false signals from single-period indicators.

Its Profit Philosophy: Use multi-period momentum indicators to filter noise, use divergence detection to capture turning points.

  • UO Core: Multi-period comprehensive momentum
  • Divergence Detection: Early warning
  • Multi-Condition Confirmation: Improves win rate
  • NFI Architecture: Mature and reliable

9.2 Performance in Different Market Environments

Market TypeRatingAnalysis
📈 Trending Up⭐⭐⭐⭐⭐UO zero-line crossover confirms trend
🔄 Ranging Market⭐⭐⭐☆☆Fewer false signals but trading frequency decreases
📉 Downtrend⭐⭐⭐⭐☆Divergence detection catches bottoms
⚡️ Extreme Volatility⭐⭐⭐☆☆High volatility but direction is clear

9.3 Key Configuration Recommendations

Config ItemRecommended ValueDescription
Number of Pairs5-15Diversify risk
UO Period Parameters7, 14, 28Default values are optimal
Backtest Period6+ monthsSufficient sample validation

X. Summary

NFI_UO is a professional strategy within the NFI series that integrates the Ultimate Oscillator. Its core value lies in:

  1. Multi-Period Momentum: UO synthesizes multi-period data, reducing false signals
  2. Divergence Detection: Early warning of trend reversals
  3. Momentum Confirmation: RSI verifies signal strength
  4. NFI Architecture: Mature multi-condition trading system

For quantitative traders, NFI_UO provides unique UO-driven trading logic, suitable for investors pursuing momentum trading. UO's multi-period design makes it excel in trending markets.


This document is written based on the NFI series strategy common architecture