Exp_ColorPEMA_Digit_Tm_Plus
This EA trades based on the ColorPEMA_Digit indicator, which uses a colored Price EMA (PEMA) with digit-based signal generation. It enters positions on color changes of the PEMA indicator, with built-in time filtering to restrict trading to specific sessions and an optional trailing stop mechanism for trade management.
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
None of the usual blow-up patterns were found in the code, 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
The strategy concept is based on trend-following signals generated by color changes of the Price EMA (PEMA) indicator. Entry conditions trigger when the PEMA indicator color switches from one state to another — going long on bullish color change and short on bearish color change. Exit conditions include closing positions on indicator color reversal, trailing stop activation, or reaching fixed stop-loss and take-profit levels. Position sizing is managed through input parameters allowing either fixed lot sizes or percentage-based lot calculation. Money management features include configurable stop-loss and take-profit settings along with a trailing stop mechanism to protect accumulated profits. The built-in time filter restricts trading to user-specified sessions, avoiding low-liquidity periods and reducing exposure to unfavorable market conditions.
Strengths
- Clear and intuitive trend-following logic based on the colored PEMA indicator, easy to understand and verify
- Built-in time filter effectively avoids false signals during low-liquidity sessions
- Trailing stop mechanism helps lock in profits and reduce drawdown risk
- Supports multiple position sizing methods, offering good flexibility
- Signals based on indicator color changes reduce subjective judgment interference
Weaknesses
- High risk of single-indicator dependency, lacking multi-dimensional signal confirmation
- Trend-following strategy prone to frequent false signals in ranging markets, leading to consecutive losses
- No apparent spread filter mechanism, which may be disadvantageous in high-spread environments
- Lacks protection against news events or extreme volatility conditions
- Many parameters without optimization guidance, making it difficult for users to find optimal settings
Possible improvements
- Add multi-indicator confirmation (e.g., RSI, MACD) to reduce false signals
- Add spread filter and volatility filter to avoid opening positions under unfavorable market conditions
Risk assessment
Overall risk: Medium
- Single indicator dependency may cause consecutive losses in ranging markets
- Lack of spread filter may erode profits in high-spread environments
- Improper time filter configuration may miss important trading opportunities or open positions during unfavorable sessions
Evaluation scores
Parameters
| Parameter | Default | Description |
|---|---|---|
MoneyManagement | Money management method selection | |
LotSize | 0.1 | Fixed trading lot size |
StopLoss | Auto stop loss in points | |
TakeProfit | Auto take profit in points | |
TrailingStop | Enable trailing stop function | |
TimeFilterStart | Trading session start time | |
TimeFilterEnd | Trading session end time | |
PEMA_Period | PEMA indicator period | |
PEMA_DigitMode | PEMA digital signal mode |
Similar Trend Following EAs
Backtests are historical simulations and do not guarantee future results. Not financial advice.