Skip to main content

FvSympleStrategy Strategy Analysis

Strategy ID: Community Strategy (unofficial)
Strategy Type: Single MA Trend-Following Strategy
Timeframe: 5 Minutes (5m) / 15 Minutes (15m)


I. Strategy Overview

FvSympleStrategy is an ultra-minimalist trend-following strategy. The "Symple" in the name is likely a spelling variant of "Simple," reflecting the strategy's design philosophy — achieving trend-following with the most basic technical indicators, minimizing complexity. The strategy relies solely on one Simple Moving Average (SMA) as the core reference, generating trading signals through the crossover relationship between price and the moving average. It is suitable for traders pursuing simplicity, directness, and ease of understanding.

As the simplified version in the Fv (Freqtrade Version) series, FvSympleStrategy demonstrates how to achieve basic trend-following with the fewest tools, making it an ideal case for beginners to understand MA trading systems.

Core Characteristics

FeatureDescription
Buy ConditionsSingle condition: Price crosses above SMA 20 with volume confirmation
Sell ConditionsSingle condition: Price crosses below SMA 20
ProtectionHard stop-loss + time decay ROI
Timeframe5 Minutes / 15 Minutes (suitable for short-term trading)
DependenciesTA-Lib (technical indicator calculation)

II. Strategy Configuration Analysis

2.1 Basic Risk Parameters

# ROI Exit Table
minimal_roi = {
"0": 0.03, # Immediate exit: 3% profit
"30": 0.02, # After 30 minutes: 2% profit
"60": 0.015 # After 60 minutes: 1.5% profit
}

# Stop-Loss Settings
stoploss = -0.05 # Hard stop-loss: -5%

Design Philosophy:

  • Quick take-profit: Initial target set at 3%, reflecting the short-term trading philosophy of quick profit-taking
  • Time decay: The longer the holding time, the lower the profit threshold, avoiding profit pullback
  • Moderate stop-loss: -5% provides adequate price volatility room while controlling max single-trade loss

2.2 ROI Time Decay Logic

Holding Time        Target Profit      Design Logic
────────────────────────────────────────────────
0 minutes 3% Quickly lock short-term profits
30 minutes 2% Lower expectations if holding too long
60 minutes 1.5% Time cost consideration

This stepped ROI design reflects the strategy's core philosophy: short-term trading, quick profit-taking. The longer the holding time, the greater the market uncertainty, so gradually lowering take-profit targets to ensure profitable exit.


III. Entry Conditions Details

3.1 Core Buy Logic

The strategy employs the simplest MA crossover logic as its sole buy condition:

# Buy Condition
dataframe.loc[
(
# Condition 1: Previous candle's closing price below the MA
(dataframe['close'].shift(1) < dataframe['sma'].shift(1)) &
# Condition 2: Current candle's closing price above the MA
(dataframe['close'] > dataframe['sma']) &
# Condition 3: Volume greater than 0 (confirm signal validity)
(dataframe['volume'] > 0)
),
'buy'
] = 1

Logic Breakdown:

ConditionCode ExpressionTechnical Meaning
Previous close < Previous MAclose.shift(1) < sma.shift(1)Price below MA
Current close > Current MAclose > smaPrice crosses to above MA
Volume confirmationvolume > 0Ensure not a false breakout or zero-volume move

IV. Exit Conditions Details

4.1 Core Sell Conditions

The strategy's sell logic is equally simple and direct — reverse MA crossover:

# Sell Condition
dataframe.loc[
(
# Condition 1: Previous candle's closing price above the MA
(dataframe['close'].shift(1) > dataframe['sma'].shift(1)) &
# Condition 2: Current candle's closing price below the MA
(dataframe['close'] < dataframe['sma'])
),
'sell'
] = 1

4.2 Stop-Loss and ROI Exit

Stop-Loss Exit:

  • Trigger: Loss reaches -5%
  • Execution: Immediate market order
  • Purpose: Protect principal, prevent excessive single-trade loss

ROI Exit:

  • Trigger: Profit reaches target threshold (3%/2%/1.5%)
  • Execution: Limit order
  • Purpose: Quick profit-locking

V. Technical Indicator System

5.1 Core Indicators

Indicator CategorySpecific IndicatorPurpose
Trend IndicatorSMA (Simple Moving Average)Trend direction judgment

SMA 20 Technical Meaning:

SMA 20 = (P1 + P2 + ... + P20) / 20
SMA PositionPrice StateRecommendation
Price far above SMAStrong uptrendHold (strategy has no position-adding mechanism)
Price near SMATrend unclearObserve
Price far below SMAStrong downtrendExit and observe

VI. Risk Management Highlights

6.1 Time Decay ROI Mechanism

minimal_roi = {
"0": 0.03, # Immediately: 3%
"30": 0.02, # After 30 minutes: 2%
"60": 0.015 # After 60 minutes: 1.5%
}

6.2 Hard Stop-Loss Protection

stoploss = -0.05  # -5% hard stop-loss

Stop-Loss Design Considerations:

  • Too tight (e.g., -2%): Easily stopped out by normal fluctuations
  • Too loose (e.g., -10%): Excessive single-trade loss
  • -5%: Balances false stops and risk control

VII. Strategy Pros & Cons

Advantages

  1. Ultra-simple: Only uses one MA, minimal code lines, easy to understand and maintain
  2. Clear signals: Buy/sell conditions are clear and unambiguous; no fuzzy signals
  3. Low execution cost: No complex indicator calculations; extremely low CPU and RAM usage
  4. Good for learning: Best entry case for understanding MA trading systems
  5. Fast response: Short-period MA is sensitive to trend changes

Limitations

  1. Many false signals: Single MA lacks confirmation mechanism; easily misled by market noise
  2. Poor oscillating performance: Frequent trading during consolidation, causing fee losses
  3. No filtering mechanism: Lacks auxiliary judgments like overbought/oversold and volume
  4. Risk of chasing highs: May buy at local highs, immediately getting trapped
  5. Fixed parameters: SMA 20 does not suit all market environments

VIII. Applicable Scenarios

Applicable ScenariosNot Applicable Scenarios
Clear trending marketsOscillating consolidation markets
Moderate volatility marketsExtreme volatility markets
Learning and research purposesProduction environment live trading
Strategy prototype designComplex strategy replacement

IX. Summary

FvSympleStrategy is the simplest trend-following strategy, using only a single SMA 20 MA to generate buy and sell signals. Its core value lies in:

  1. Teaching value: Best entry case for understanding MA trading systems
  2. Code simplicity: Extremely low maintenance cost and learning curve
  3. Clear signals: Buy/sell conditions are unambiguous, easy to execute

For quantitative traders, FvSympleStrategy is more suitable as a strategy prototype or learning tool rather than a direct production environment strategy. It is recommended to add trend confirmation, volume filtering, momentum indicators, and other auxiliary mechanisms to improve signal reliability and profitability.

One-line evaluation: Minimalism's double-edged sword — easy to learn, but needs evolution for live trading.