# GER40 Trend-Following Robot β cTrader Marketplace Listing
### Title
**GER40 Trend-Following Robot with Market Regime Detection | M15**
### Short Description
Professional trend-following cBot for the GER40 (DAX 40) index on M15 timeframe. Features live market regime detection (ADX + ATR volatility filtering), triple EMA alignment, H1 directional filter, MACD momentum confirmation, and adaptive position sizing. 18 fully optimizable parameters. Designed for consistent performance during European and US overlap sessions.
### Full Description
#### Overview
The **GER40 Trend-Following Robot** is a fully automated trading system built specifically for the German DAX 40 index (GER40 / DE40). It operates on the M15 timeframe and uses a sophisticated **live Market Regime Detection** engine to adapt its behavior to current market conditions in real-time.
The robot only trades when market conditions are favorable β avoiding choppy, range-bound, or excessively volatile environments β giving it an edge over static strategy approaches.
#### How It Works
**Market Regime Detection (Live)**
Every M15 bar, the robot classifies the current market into one of four states:
- **Strong Trend** β ADX above strong threshold, normal volatility β full position size, all 3 signal types active
- **Weak Trend** β ADX between thresholds β reduced position size (75%), conservative signals only
- **Ranging** β ADX below threshold β **no trading** (avoids whipsaws)
- **Volatile** β ATR spike detected above 50-bar average β **no trading** (avoids news-driven chaos)
**Three Entry Signals**
1. **EMA Crossover** β Catches the start of new trends via Fast/Medium EMA crossover with full alignment confirmation
2. **Pullback Re-entry** β Enters on price pullbacks to the EMA Medium in an established trend
3. **Momentum Burst** β Fires in strong trends only when MACD histogram shows accelerating momentum
**Multi-Layer Filtering**
Every signal must pass through multiple confirmation layers:
- Triple EMA alignment (Fast > Medium > Slow for longs)
- H1 EMA(100) higher timeframe directional filter
- ADX trend strength + DI directional confirmation
- MACD histogram direction
- RSI overbought/oversold guard
#### Risk Management
- **ATR-based dynamic Stop Loss & Take Profit** β adapts to current volatility
- **3-step trailing stop**: Break-even β Activation β Trail behind price
- **Daily trade limit** (6 trades/day) to prevent overtrading
- **Daily loss limit** (3% of equity) β automatic shutdown on bad days
- **Position sizing** based on account equity and configurable risk percentage
#### Session Control
Default trading window: **08:00 β 17:30 CET** β covers the full XETRA session plus early US market overlap, when GER40 sees maximum liquidity and clean trending moves.
#### 18 Optimizable Parameters
Designed for efficient optimization in cTrader's built-in optimizer:
| Group | Parameter | Default | Range |
|-------|-----------|---------|-------|
| Risk | Risk % | 1.0 | 0.1 β 5.0 |
| Risk | ATR SL Multiplier | 1.8 | 0.5 β 5.0 |
| Risk | Risk:Reward Ratio | 2.0 | 1.0 β 6.0 |
| Risk | Max Open Positions | 2 | 1 β 5 |
| Trailing | Use Trailing Stop | On | On/Off |
| Trailing | Trail Activation (x ATR) | 2.0 | 0.5 β 5.0 |
| Trailing | Trail Distance (x ATR) | 1.2 | 0.3 β 4.0 |
| Trailing | Break-Even (x ATR) | 1.0 | 0.3 β 3.0 |
| Session | Start Hour (CET) | 8 | 0 β 23 |
| Session | End Hour (CET) | 17 | 0 β 23 |
| Trend | EMA Fast | 9 | 3 β 50 |
| Trend | EMA Medium | 21 | 10 β 100 |
| Trend | EMA Slow | 55 | 20 β 200 |
| Regime | ADX Trend Threshold | 20 | 10 β 40 |
| Regime | ADX Strong Trend | 30 | 20 β 50 |
| Signals | Crossover Lookback | 5 | 1 β 15 |
| Signals | Pullback ATR Zone % | 0.35 | 0.1 β 1.0 |
| ID | Trade Label | GER40Trend | β |
#### Key Features
- Fully automated β no manual intervention required
- Live market regime detection adapts to changing conditions
- Higher timeframe (H1) trend confirmation filter
- ATR-based dynamic SL/TP sizing
- Intelligent trailing stop with break-even logic
- Daily loss limit and trade count protection
- Reduced position size in weak trend conditions
- Clean, commented source code
- Optimized default parameters for GER40 M15
- No repainting β all signals based on closed bars
#### Recommended Setup
- **Symbol:** GER40 / DE40 / Germany 40
- **Timeframe:** M15
- **Minimum Balance:** β¬500+ recommended
- **Platform:** cTrader / cTrader Desktop
#### Disclaimer
Past performance is not indicative of future results. Trading CFDs involves significant risk of loss. Always backtest and optimize with your broker's specific conditions before live trading. Use a demo account first.