Skip to main content

EMATRADEGETHER Strategy Analysis

Strategy ID: Community Strategy (unofficial)
Strategy Type: Trend Following / Multi-Period EMA Combination
Timeframe: Multiple Timeframes


I. Strategy Overview

EMATRADEGETHER (EMA Trade Together) is a multi-period EMA combination trading strategy. The strategy coordinates EMA indicators across multiple timeframes to trade when trends align across different periods, improving signal reliability and success rate.

Core Characteristics

FeatureDescription
Buy ConditionsMulti-period EMA simultaneously confirms uptrend
Sell ConditionsAny period trend reverses
ProtectionHard stop-loss + time-based stop
TimeframeMulti-period combination (main period + informational period)
DependenciesTA-Lib

II. Strategy Configuration Analysis

2.1 Basic Risk Parameters

# Typical Configuration
minimal_roi = {
"0": 0.08, # Immediate exit: 8% profit
"15": 0.05, # After 15 minutes: 5% profit
"60": 0.03, # After 60 minutes: 3% profit
"240": 0.01 # After 4 hours: 1% profit
}

# Stop-Loss Settings
stoploss = -0.03 # -3% hard stop-loss (tight)

Design Philosophy:

  • Stepped exit: Adjust take-profit targets based on holding time
  • Tight stop-loss: -3% controls single-trade loss
  • Quick exit: Exit quickly when the market reverses

III. Entry Conditions Details

3.1 Multi-Period EMA Confirmation

# Typical Buy Condition
dataframe.loc[
(
# Main period condition
(dataframe['ema_fast'] > dataframe['ema_slow']) &
# Informational period condition
(dataframe['ema_fast_inf'] > dataframe['ema_slow_inf']) &
# Price confirmation
(dataframe['close'] > dataframe['ema_fast'])
),
'buy'
] = 1

Logic Breakdown:

  • Main period confirmation: Current trading period trend is up
  • Informational period confirmation: Higher timeframe trend is also up
  • Price confirmation: Closing price above fast EMA

3.2 Multi-Period EMA Combinations

PeriodFast EMASlow EMARole
Main period921Determine entry timing
Informational period2150Confirm trend direction

IV. Exit Conditions Details

4.1 Sell Conditions

# Sell Conditions
dataframe.loc[
(
(dataframe['ema_fast'] < dataframe['ema_slow']) |
(dataframe['close'] < dataframe['ema_fast'])
),
'sell'
] = 1

4.2 Time-Based Stop

# Exit if no profit after extended holding
if holding_time > 240 minutes and profit < 0.01:
sell()

V. Technical Indicator System

5.1 Core Indicators

Indicator CategorySpecific IndicatorPurpose
Trend IndicatorEMA (multi-period)Multi-timeframe trend confirmation
Auxiliary IndicatorRSIFilter overbought/oversold
Auxiliary IndicatorVolumeVolume confirmation

VI. Risk Management

6.1 Hard Stop-Loss

stoploss = -0.03  # 3% stop-loss

6.2 Time-Based Stop

The strategy forcibly exits if profit does not reach 1% after holding for 4 hours.


VII. Strategy Pros & Cons

Advantages

  1. Multi-period confirmation: Improves signal reliability
  2. Quick response: Short-period EMA responds quickly
  3. Trend filtering: Avoids counter-trend trading
  4. Time-based stop: Prevents prolonged consolidation

Limitations

  1. Parameter complexity: Requires coordinating multiple period parameters
  2. May miss trends: Strict filtering may miss opportunities
  3. Lagging: Multi-period confirmation increases lag

VIII. Applicable Scenarios

  • Markets with clear trends
  • Multi-timeframe analysis
  • High-liquidity trading pairs

IX. Applicable Market Environment Details

9.1 Core Strategy Logic

  • Multi-period EMA confirmation
  • Main period + informational period coordination
  • Trend filtering

9.2 Performance in Different Market Environments

Market TypePerformance RatingAnalysis
Clear trendExcellentMulti-period confirmation improves reliability
OscillationModerateMay produce false signals
ConsolidationBelow AverageFrequent crossovers

X. Important Notes

10.1 Parameter Complexity

Requires coordinating multiple period parameters!

10.2 Hardware Requirements

Number of Trading PairsMinimum RAM
10-20 pairs2GB

XI. Summary

EMATRADEGETHER improves signal quality through multi-period EMA combinations, making it a reliable trend-following strategy. Suitable for experienced traders.