Skip to main content

CryptoFrogHO2A Strategy Analysis

Strategy ID: Batch 14 - 6th Strategy
Strategy Type: Ultra High-Order Smoothed Heiken Ashi + Dynamic Risk Control Enhanced
Timeframe: 5 minutes (5m) + 1-hour informational layer


I. Strategy Overview

CryptoFrogHO2A is an enhanced variant of the CryptoFrogHO2 series (A = Advanced), optimized by top community developers for high-volatility markets. This strategy fine-tunes parameters on top of HO2 with enhanced precision in risk control.

Core Features

FeatureDescription
Buy Conditions3 independent buy modes
Sell ConditionsMulti-condition combinations + dynamic ROI + trailing stop
ProtectionLinear-decay custom stop-loss + dynamic ROI + positive trailing
Timeframe5 minutes + 1-hour informational layer
DependenciesTA-Lib, finta, technical (qtpylib)

II. Strategy Configuration Analysis

2.1 Core Risk Parameters

# ROI Exit Table
minimal_roi = {
"0": 0.09, # 0-39 minutes: 9% profit
"39": 0.028, # 39-49 minutes: 2.8% profit
"49": 0.011, # 49-105 minutes: 1.1% profit
"105": 0 # After 105 minutes: free exit
}

# Stop-Loss Setting
stoploss = -0.13 # -13% starting stop-loss

# Trailing Stop
trailing_stop = True
trailing_stop_positive = 0.097
trailing_stop_positive_offset = 0.197
trailing_only_offset_is_reached = True

Design Philosophy:

  • Moderate ROI target: First target of 9%, suitable for medium-high volatility markets
  • Stepped exit mechanism: Progressively lowered from 9% → 2.8% → 1.1%, moderate time windows
  • Conservative starting stop-loss: -13% provides ample safety margin
  • Positive trailing: Triggers after profit exceeds 0.5%

III. Entry Conditions Details

3.1 Core Entry Logic

Buy signal = (Price condition) & (Informational layer condition) & (3 alternative modes) & (Volume condition)

3.1.1 Price Condition Layer

# Close price must be below 5-minute Smoothed Heiken Ashi low
(dataframe['close'] < dataframe['Smooth_HA_L'])

3.1.2 Informational Layer Condition

# 1-hour Hansen HA EMA confirms trend
(dataframe['emac_1h'] < dataframe['emao_1h'])

3.2 Alternative Buy Conditions (Three Modes)

Mode A: BB Expansion + Momentum Filtering

# Bollinger Band expansion + squeeze ended + MFI/DMI conditions
(dataframe['bbw_expansion'] == 1) & (dataframe['sqzmi'] == False)
& (
(dataframe['mfi'] < 20)
|
(dataframe['dmi_minus'] > 30)
)

Mode B: SAR + Stochastic RSI Oversold

# Price below SAR + Stochastic RSI oversold
(dataframe['close'] < dataframe['sar'])
& ((dataframe['srsi_d'] >= dataframe['srsi_k']) & (dataframe['srsi_d'] < 30))
& ((dataframe['fastd'] > dataframe['fastk']) & (dataframe['fastd'] < 23))
& (dataframe['mfi'] < 30)

Mode C: DMI Crossover + Bollinger Band Bottom / SQZMI Squeeze

# DMI- crosses above DMI+ + price at Bollinger Band bottom
((dataframe['dmi_minus'] > 30) & qtpylib.crossed_above(dataframe['dmi_minus'], dataframe['dmi_plus']))
& (dataframe['close'] < dataframe['bb_lowerband'])
# Or
# SQZMI squeeze mode
(dataframe['sqzmi'] == True)
& ((dataframe['fastd'] > dataframe['fastk']) & (dataframe['fastd'] < 20))

3.3 Volume Filtering

# VFI is negative and volume exists
(dataframe['vfi'] < 0.0) & (dataframe['volume'] > 0)

IV. Exit Logic Details

4.1 Core Exit Logic

# Close price above Heiken Ashi high
(dataframe['close'] > dataframe['Smooth_HA_H'])
& # 1-hour Hansen HA EMA confirms
(dataframe['emac_1h'] > dataframe['emao_1h'])
& # BB expansion + MFI/DMI overbought
(
(dataframe['bbw_expansion'] == 1)
&
(
(dataframe['mfi'] > 80)
|
(dataframe['dmi_plus'] > 30)
)
)
& # Volume confirmation
(dataframe['vfi'] > 0.0) & (dataframe['volume'] > 0)

4.2 Dynamic ROI System

# Trend detection
droi_trend_type = ['rmi', 'ssl', 'candle', 'any']

# Trend judgment logic
- RMI trend: rmi-up-trend == 1 AND rmi > 50
- SSL trend: ssl-dir == 'up'
- Candle trend: candle-up-trend == 1

# In trend: Allow holding until trend ends
# During pullback: Exit half position when profit retraces to pullback_value

V. Risk Management Highlights

5.1 Linear-Decay Stop-Loss

Timeline (minutes): 0 ---- 105 ---->
Stop-loss value: -13% ----> -2%

5.2 Dynamic ROI

ConditionROI Behavior
In trendIgnore ROI table, continue holding until trend ends
During pullbackWhen profit retraces from high to pullback_value
Ranging marketFall back to standard ROI table

5.3 Positive Trailing Stop

  • Triggers at profit > 0.5%
  • Trailing distance 1.5%

VI. Strategy Pros & Cons

Pros

  1. Moderate ROI target: 9% first target balances profit and risk
  2. Triple buy modes: Multiple condition combinations filter false signals
  3. Conservative starting stop-loss: -13% provides ample safety margin
  4. Linear-decay mechanism: Gives sufficient time for trend reversal
  5. Dynamic ROI: Lets profits run during trends

Cons

  1. Large potential drawdown: -13% starting stop-loss means potentially large losses
  2. Complex parameters: Requires understanding of multiple indicator interactions
  3. Computationally intensive: Dual timeframe + multi-indicator
  4. Parameter sensitivity: Needs adjustment based on market

VII. Applicable Scenarios

Market EnvironmentRecommended ConfigurationNotes
Medium-high volatility pairsKeep default parameters9% target suits medium-high volatility
Mainstream coin stabilityLower ROI targetAdjust to 5-8%
Clear trending marketsEnable dynamic ROILet profits run
Ranging marketsAdjust decay-endMore aggressive stop-loss

VIII. Summary

CryptoFrogHO2A is an enhanced version of the CryptoFrogHO2 series. Its core value lies in:

  1. Moderate profit expectation: 9% first target balances profit and risk
  2. Multiple buy modes: 3 mode combinations filter false signals
  3. Safe stop-loss mechanism: -13% starting + linear decay
  4. Dynamic ROI: Lets profits run during trends
  5. Positive trailing: Locks in more profits

For quantitative traders, CryptoFrogHO2A is suitable for investors with some Freqtrade experience who seek steady returns. Adjust parameters based on market volatility to find configurations suited to your risk tolerance.

Usage Recommendation: This strategy suits medium-high volatility markets. Select trading pairs with moderate volatility and manage capital properly.