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
| Feature | Description |
|---|---|
| Buy Conditions | Multi-period EMA simultaneously confirms uptrend |
| Sell Conditions | Any period trend reverses |
| Protection | Hard stop-loss + time-based stop |
| Timeframe | Multi-period combination (main period + informational period) |
| Dependencies | TA-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
| Period | Fast EMA | Slow EMA | Role |
|---|---|---|---|
| Main period | 9 | 21 | Determine entry timing |
| Informational period | 21 | 50 | Confirm 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 Category | Specific Indicator | Purpose |
|---|---|---|
| Trend Indicator | EMA (multi-period) | Multi-timeframe trend confirmation |
| Auxiliary Indicator | RSI | Filter overbought/oversold |
| Auxiliary Indicator | Volume | Volume 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
- Multi-period confirmation: Improves signal reliability
- Quick response: Short-period EMA responds quickly
- Trend filtering: Avoids counter-trend trading
- Time-based stop: Prevents prolonged consolidation
Limitations
- Parameter complexity: Requires coordinating multiple period parameters
- May miss trends: Strict filtering may miss opportunities
- 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 Type | Performance Rating | Analysis |
|---|---|---|
| Clear trend | Excellent | Multi-period confirmation improves reliability |
| Oscillation | Moderate | May produce false signals |
| Consolidation | Below Average | Frequent crossovers |
X. Important Notes
10.1 Parameter Complexity
Requires coordinating multiple period parameters!
10.2 Hardware Requirements
| Number of Trading Pairs | Minimum RAM |
|---|---|
| 10-20 pairs | 2GB |
XI. Summary
EMATRADEGETHER improves signal quality through multi-period EMA combinations, making it a reliable trend-following strategy. Suitable for experienced traders.