Exp_ttm-trend_ReOpen
This EA implements the TTM Trend indicator strategy, a trend-following system based on price momentum and color-bar analysis. It enters trades in the direction of the identified trend and features a ReOpen mechanism that allows re-entering positions after a prior trade is closed, capturing extended trend moves. The EA systematically opens and manages positions based on the TTM Trend signal logic.
Open the interactive view (equity curve, symbol switch)Key facts
Backtest results (H1, about 1 year)
| Symbol | P&L | Annual | Max DD | Trades | Win rate | Sharpe | Recovery | Losing streak | Per trade | Status |
|---|---|---|---|---|---|---|---|---|---|---|
| EURUSD | 0.00% | 0.00% | 0.00% | 0 | — | — | — | — | — | Not convertible yet |
| GBPUSD | 0.00% | 0.00% | 0.00% | 0 | — | — | — | — | — | Not convertible yet |
| USDJPY | 0.00% | 0.00% | 0.00% | 0 | — | — | — | — | — | Not convertible yet |
| XAUUSD | 0.00% | 0.00% | 0.00% | 0 | — | — | — | — | — | Not convertible yet |
Why this EA never traded: no entry rule survived the conversion.
Converted from MQL5 to Python and run with the same rules for every EA. Positions use MT5 lot sizes (100,000 units per FX lot, 100 oz per gold lot) with 1:100 leverage, one order at a time, and a stop-out below 10% of the starting balance. Sharpe is computed from the equity curve. Results marked as unreliable are shown for completeness only.
Blow-up risk: No blow-up pattern found
- Has no stop loss or trailing stop
On its own this is not a typical blow-up pattern, and the account was not stopped out in our backtests. That is not a guarantee: any EA can lose money.
High: stopped out in our backtest, or martingale/grid sizing without a stop loss. Elevated: martingale or grid sizing with a stop loss, or several positions at once without a stop loss. What the label means and what we found →
Strategy analysis
This EA trades based on the TTM Trend indicator, which determines trend direction by calculating price position relative to its moving average, typically displayed as colored bars (red/green or red/blue) indicating trend state. Entry conditions trigger when the TTM Trend indicator confirms a trend direction change or continuation, opening positions in the prevailing trend direction. The ReOpen mechanism allows the EA to re-enter positions after a prior trade closes, provided the trend signal remains valid, enabling capture of extended trend moves. Exit conditions likely include fixed take-profit and stop-loss levels, trend reversal signals, or indicator color changes. Position sizing supports fixed lot sizes or equity-proportional calculation. Money management relies on parameterized stop-loss and take-profit settings, but the ReOpen mechanism can lead to frequent re-entries near trend exhaustion, potentially increasing risk exposure.
Strengths
- Clear trend-following logic that aligns with the fundamental principle of trading with the trend
- ReOpen mechanism captures extended trend moves, avoiding premature exits that miss large profitable runs
- Systematic signal generation based on TTM Trend indicator reduces subjective judgment interference
- Parameterized design allows flexible adjustment for different instruments and market conditions
Weaknesses
- ReOpen mechanism can cause frequent re-entries near trend exhaustion, increasing loss risk
- Trend-following strategies generate consecutive false signals in ranging markets, leading to multiple stop-outs
- Lacks dynamic money management such as volatility-based position sizing or adaptive stop-loss
- Relies on a single indicator signal without multi-dimensional confirmation to filter false breakouts
- Does not account for spread and slippage impact on short-term trade profitability
Possible improvements
- Add multi-timeframe confirmation, requiring higher timeframe trend alignment before entry to reduce false signals
- Introduce ATR-based dynamic stop-loss and take-profit that adapt to market volatility instead of fixed pip values
- Add maximum re-entry count and trend strength filtering for the ReOpen mechanism to prevent repeated entries during trend exhaustion
Risk assessment
Overall risk: Medium
- ReOpen mechanism may cause consecutive losing entries during trend reversals
- Fixed stop-loss without volatility adaptation may be too tight in high-volatility markets
- Single-indicator reliance lacks redundancy confirmation, increasing false signal risk
- No explicit check for existing same-direction positions may lead to over-concentration
Evaluation scores
Parameters
| Parameter | Default | Description |
|---|---|---|
LotSize | 0.1 | Fixed trading lot size |
StopLoss | 0 | Stop loss in points, limits max loss per trade |
TakeProfit | 0 | Take profit in points, locks profit target per trade |
TTM_Period | 14 | TTM Trend indicator calculation period |
ReOpen | true | Allow re-entry to add position in same direction |
MagicNumber | 0 | Magic number for closing, 0 for all positions |
Timeframe | H1 | RSI timeframe, 0 for current chart period |
Similar Trend Following EAs
Backtests are historical simulations and do not guarantee future results. Not financial advice.