JS-MA-Day
A Moving Average-based Expert Advisor designed for daily timeframe trading, following trend direction identified by MA crossovers or price-MA relationships. The EA systematically enters positions when trend conditions align on the daily chart and manages trades with trend-following exit 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 employs a Moving Average-based trend following strategy on the daily timeframe, with the core concept of using MA direction to identify medium-to-long-term trends and trading in alignment. Entry conditions likely involve price breaking above the MA or a short-period MA crossing above a long-period MA for longs, with the reverse for shorts. Exit conditions may use reverse MA crossovers or price breaching the MA on the opposite side, potentially combined with trailing stops to protect profits. Position sizing is typically fixed lot or ATR-based volatility sizing for daily timeframe EAs. Money management follows the trend-following paradigm of large reward-to-risk ratios but lower win rates, relying on occasional large trends to cover multiple small losses. The strategy performs well in trending markets but may generate frequent false signals in ranging conditions, leading to consecutive small losses.
Strengths
- Daily timeframe trading avoids short-term market noise, producing more reliable signals
- Trend following strategy has clear logic and typically favorable risk-reward ratios
- MA strategy has few parameters, making it easy to understand and optimize
- Low trading frequency on daily charts reduces transaction costs and slippage impact
- Suitable for long-term capital management without requiring constant monitoring
Weaknesses
- Significant MA lag causes delayed entry and exit signals
- Frequent false signals in ranging markets lead to consecutive losses
- Large stop loss distance on daily timeframe means higher absolute loss per trade
- Lacks market regime identification, applying same logic in both trending and ranging conditions
- Single MA strategy is overly simplistic and cannot adapt to complex market dynamics
Possible improvements
- Add multi-timeframe confirmation, e.g., only enter when H4 trend aligns with daily direction
- Introduce market regime filter (e.g., ADX or volatility indicator) to pause trading in ranging markets
- Implement ATR-based dynamic stop loss and take profit instead of fixed pip values to adapt to varying volatility
Risk assessment
Overall risk: Medium
- Large daily stop loss distance may result in significant single-trade loss relative to total capital
- Lacks ranging market filter, risking consecutive losses in sideways conditions
- MA lag may cause substantial floating profit giveback when trends reverse
Evaluation scores
Parameters
| Parameter | Default | Description |
|---|---|---|
MA_Period | 200 | Moving average period |
MA_Method | MODE_SMA | MA calculation method (Simple/Exponential/Weighted) |
MA_Applied_Price | PRICE_CLOSE | MA applied price type |
LotSize | 0.1 | Trading lot size |
StopLoss | 500 | Stop loss in points |
TakeProfit | 1000 | Take profit points (10 points) |
TrailingStop | 300 | Trailing stop points |
MagicNumber | 16952 | EA magic number identifier |
Similar Trend Following EAs
Backtests are historical simulations and do not guarantee future results. Not financial advice.