Skip to main content

Chispei Strategy In-Depth Analysis

Strategy ID: #86 (6th in Batch 9) Strategy Type: Trend-Following + Momentum Confirmation Timeframe: 4 Hours (4h)


I. Strategy Overview

Chispei is a trend-following strategy combining Moving Average Crossovers with a Momentum Indicator. The strategy design is clean: uses 13-period SMA and 25-period SMA crossover to determine trend direction, while leveraging the 21-period Momentum indicator (MOM) to filter false signals and confirm entry timing.

Core Logic: Enter when short-term moving averages break above long-term moving averages (golden cross) in the relative bottom area of a downtrend (MOM<15); exit when momentum weakens (MOM<80) and moving averages form a death cross.

Key Features

FeatureDescription
Buy Conditions2 independent conditions (AND relationship)
Sell Conditions2 basic conditions (AND relationship)
ProtectionNo additional entry protection mechanism; pure technical signals
Timeframe4 Hours (4h)
Dependenciestalib, technical, numpy

II. Strategy Configuration Analysis

2.1 Core Risk Parameters

# Staged Profit-Taking Table (ROI)
minimal_roi = {
"5127": 0, # ~3.56 days: force close
"1836": 0.676, # ~30.6 hours: 67.6% return
"2599": 0.079, # ~43.3 hours: 7.9% return
"120": 0.10, # 2 hours: 10%
"60": 0.10, # 1 hour: 10%
"30": 0.05, # 30 minutes: 5%
"20": 0.05, # 20 minutes: 5%
"0": 0.04 # Immediate: 4%
}

# Stop-Loss Setting
stoploss = -0.32336 # -32.336% stop-loss

Design Philosophy:

  • Ultra-Long Stop-Loss (-32.336%): Indicates strategy is willing to endure significant drawdowns to capture trending moves; aligns with "let profits run" trend-following philosophy
  • Multi-Tier ROI Structure: Sets higher profit targets (10%) in the first 120 minutes, then gradually lowers them; reflects pursuit of quick short-term profits
  • Force Close Mechanism: After 5127 minutes (~3.56 days), force close regardless of profit/loss; prevents excessive holding

2.2 Timeframe Configuration

timeframe = '4h'  # 4-hour candles

Design Philosophy: The 4-hour timeframe sits between intraday and interday; filters short-term noise while capturing medium-term trends; suitable for medium-short-term trading.


III. Entry Conditions Details

3.1 Buy Conditions Logic

The strategy has 1 group of buy conditions with 2 sub-conditions (AND relationship):

Condition Group: Momentum Bottom + MA Bullish Alignment

# Buy Signal: Momentum oversold + MA golden cross
(
(dataframe['mom'] < 15) & # Momentum indicator below 15 (oversold zone)
(dataframe['fastMA'] > dataframe['slowMA']) # 13-day MA > 25-day MA (bullish alignment)
)
Sub-ConditionIndicatorThresholdMeaning
Condition #1MOM (21)< 15Momentum at relatively low point; rebound opportunity possible
Condition #2SMA (13/25)Fast > SlowShort-term MA breaks above long-term MA; golden cross formed

Satisfaction: Both conditions must be met simultaneously to trigger buy signal.

3.2 Buy Conditions Analysis

Condition GroupCondition #Core LogicSignal Strength
Trend Reversal#1MOM<15 indicates market is in oversold state; rebound opportunity existsModerate
Trend Confirmation#2MA golden cross confirms trend shift to bullish; improves signal reliabilityStrong

IV. Exit Logic Details

4.1 Multi-Tier Profit-Taking System

The strategy uses a staged ROI mechanism that automatically triggers different profit levels based on holding time:

Holding TimeReturnNotes
0-20 minutes4%Triggers lowest profit-taking immediately
20-30 minutes5%Short holding profit-taking
30-60 minutes10%10% profit-taking within 1 hour
60-120 minutes10%Maintains 10% target within 2 hours
120-2599 minutes7.9%Medium holding reduces expectations
2599-1836 minutes67.6%Special time window high profit
5127+ minutes0%Force close

Design Feature: There is an abnormally high 67.6% profit (1836-2599 minute window) that may be a backtesting optimization result; live trading requires careful verification.

4.2 Basic Sell Signal

# Sell Signal: Momentum high pullback + MA death cross
(
(dataframe['mom'] < 80) & # Momentum below 80 (pullback from high)
(dataframe['fastMA'] < dataframe['slowMA']) # 13-day MA < 25-day MA (death cross)
)
Sub-ConditionIndicatorThresholdMeaning
Condition #1MOM (21)< 80Momentum pulling back from highs; market momentum weakening
Condition #2SMA (13/25)Fast < SlowShort-term MA falls below long-term MA; death cross formed

V. Technical Indicator System

5.1 Core Indicators

Indicator CategorySpecific IndicatorParameterPurpose
Trend IndicatorSMA (Simple Moving Average)13 periodsFast moving average; captures short-term trend
Trend IndicatorSMA (Simple Moving Average)25 periodsSlow moving average; confirms long-term trend
Momentum IndicatorMOM (Momentum)21 periodsMeasures price change rate; identifies overbought/oversold

5.2 Indicator Calculation Logic

# Indicator Calculations
dataframe['fastMA'] = ta.SMA(dataframe, timeperiod=13) # 13-day Simple Moving Average
dataframe['slowMA'] = ta.SMA(dataframe, timeperiod=25) # 25-day Simple Moving Average
dataframe['mom'] = ta.MOM(dataframe, timeperiod=21) # 21-day Momentum indicator

Momentum Indicator (MOM) Explanation:

  • MOM = Current Price - N-Period-Ago Price
  • MOM > 0: Price in uptrend
  • MOM < 0: Price in downtrend
  • MOM near 0: Price oscillating or at turning point

VI. Risk Management Features

6.1 High Stop-Loss Strategy

Risk ParameterValueDescription
stoploss-0.32336Allows maximum 32.336% loss

Design Logic:

  • High stop-loss means strategy is willing to endure large drawdowns in exchange for trending move profits
  • Suitable for markets with clear and sustained trends; but may cause frequent stop-loss triggers in ranging markets

6.2 Force Close Mechanism

ParameterValuePurpose
ROI["5127"]0Force close after ~3.56 days

Design Logic: Prevents excessive holding leading to profit givebacks or unexpected risks.

6.3 Risk Assessment Summary

Risk TypeLevelDescription
Drawdown RiskHigh-32% stop-loss; significant volatility
False Signal RiskMediumMOM<15 condition filters some false signals
Trend Reversal RiskMediumRelies on MA crossover; may lag

VII. Strategy Pros & Cons

Advantages

  1. Simple and Efficient Indicators: Uses only 3 technical indicators; clear logic; easy to understand and optimize
  2. Multi-Indicator Confirmation: Combines momentum and moving average indicators; reduces false signal interference
  3. Strong Trend-Following Capability: High stop-loss design allows strategy to fully capture trending moves
  4. Moderate Timeframe: 4-hour framework balances trend judgment and trading frequency

Limitations

  1. High Stop-Loss Risk: -32% stop-loss may cause significant losses in ranging markets
  2. Parameter Sensitive: MOM thresholds (15/80) and MA periods (13/25) may need per-market adjustment
  3. Trend Reversal Lag: MA death cross typically occurs after trend reversal; sell may not be timely enough
  4. Lacks Protection Mechanism: No additional entry protection (volume filtering, RSI confirmation, etc.)

VIII. Applicable Scenarios

Market EnvironmentRecommendationAction
Clear uptrend in bull marketSuitableMA golden cross signals effective; high returns expected
Clear downtrend in bear marketSuitableShort selling also applicable via same logic; can capture downtrends
Ranging marketNot recommendedHigh stop-loss causes frequent losses
ConsolidationNot recommendedMA crossovers frequently produce false signals

IX. Applicable Market Environment Details

Chispei is a trend-following strategy trading based on technical indicator crossover signals. It is best suited for markets with clear trends and moderate volatility, and performs poorly in low-volatility ranging markets.

9.1 Core Strategy Logic

  • Momentum Filter: Enter when MOM<15, indicating relatively bottom area of downtrend; exit when MOM<80, indicating upward momentum weakening
  • MA Confirmation: Uses SMA golden/death cross to confirm trend direction; avoids being misled by short-term fluctuations
  • Let Profits Run: High stop-loss design allows strategy to hold positions until trend ends

9.2 Performance in Different Market Environments

Market TypeRatingAnalysis
UptrendFive StarsMA golden cross accurately captures uptrends; MOM rebounds from lows
DowntrendFour StarsSame logic applicable for shorting; can capture downtrends
Ranging MarketTwo StarsMA frequent crossovers produce false signals; high stop-loss causes losses
Fast FluctuationThree Stars4-hour framework may lag; high stop-loss protects capital

9.3 Key Configuration Suggestions

ConfigurationSuggested ValueNotes
Trading PairsMainstream coins (BTC/ETH)Good liquidity; more stable trends
Timeframe4hStrategy's native design; do not change
Initial CapitalRecommend 20%+ risk controlHigh stop-loss strategy needs sufficient capital buffer

X. Important Notes: The Cost of Complexity

10.1 Strategy Simplicity

Chispei is a relatively simple strategy with small code volume, containing only:

  • 3 technical indicator calculations
  • 1 buy condition group
  • 1 sell condition group

This means:

  • Low learning curve: Easy to understand strategy logic
  • Low overfitting risk: Few parameters; not prone to over-optimization
  • Better live stability: Simple logic; small difference between backtesting and live

10.2 Backtesting vs Live Trading Differences

DifferenceImpactSuggestion
MOM indicator calculationPossible platform differencesUse same data source
SlippageLive execution price may be worseConsider setting wider stop-loss
LiquidityLarge capital may not execute instantlyBuild positions in batches

10.3 Manual Trading Suggestions

Since strategy logic is clear, manual traders can easily implement:

  1. Check 4-hour candles before daily close
  2. Buy when MOM<15 AND 13-day MA > 25-day MA
  3. Sell when MOM<80 AND 13-day MA < 25-day MA
  4. Strictly adhere to 32% stop-loss line

XI. Summary

Chispei is a simple and efficient trend-following strategy, with core value in:

  1. Simple and Reliable: Uses only 3 indicators; clear logic; not prone to overfitting
  2. Strong Trend Capture: High stop-loss design lets profits run fully
  3. Good Adaptability: Works both long and short; applicable in bull and bear markets
  4. Medium-Low Frequency Trading: 4-hour framework reduces trading frequency; lowers fees

For quantitative traders, Chispei is an entry-level trend strategy suitable as a learning starting point for quantitative trading or as a foundational module for combined strategies. However, pay attention to its high stop-loss characteristic; must control single-trade risk when using.

Usage Recommendations:

  • Recommend testing with small capital on live trading for 1-2 months first
  • Monitor MOM threshold performance in different market environments
  • Consider adding additional filtering conditions (volume, RSI, etc.) to optimize signals