Exp_Slow-Stoch
This EA trades based on the custom Slow-Stoch indicator, offering three entry modes: zero-line crossover (breakdown), direction change (twist), and signal cloud color change (cloudtwist). It uses smoothed stochastic values to generate buy/sell signals and manages positions with configurable stop loss, take profit, and money management options.
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 | +6.02% | +5.21% | 2.20% | 130 | 61.20% | 1.31 | 2.74 | 3 | +$4.93 | Reliable |
| GBPUSD | +1.63% | +1.41% | 5.88% | 130 | 56.20% | 0.30 | 0.28 | 7 | +$1.25 | Reliable |
| USDJPY | +5.54% | +4.80% | 2.31% | 127 | 47.20% | 1.15 | 2.40 | 7 | +$4.36 | Reliable |
| XAUUSD | +82.66% | +64.50% | 63.91% | 140 | 51.40% | 1.10 | 1.29 | 5 | +$59.04 | Reliable |
Profitable on 4 of 4 markets with reliable results.
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.
Against the other Momentum EAs with a reliable result on the same market: EURUSD: better than 93% of 68 · GBPUSD: better than 73% of 66 · USDJPY: better than 90% of 68 · XAUUSD: better than 89% of 75
Month by month
| Market | Months with a gain | Best month | Worst month |
|---|---|---|---|
| EURUSD | 77% | +1.43% 2026-02 | -1.31% 2026-01 |
| GBPUSD | 62% | +2.58% 2026-02 | -3.87% 2026-01 |
| USDJPY | 54% | +2.55% 2026-04 | -1.67% 2026-03 |
| XAUUSD | 46% | +93.84% 2026-03 | -18.34% 2025-11 |
From the backtest equity curve, sampled about every two days; only reliable results.
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 is based on the custom Slow-Stoch indicator, which is a smoothed variant of the traditional stochastic oscillator that applies an additional XMA smoothing algorithm to reduce noise. Entry conditions operate in three modes: breakdown mode enters when the stochastic value crosses the 50 midline, twist mode enters when the stochastic value changes direction, and cloudtwist mode enters when the signal cloud color changes based on the relationship between the main and signal lines. Exit conditions rely on fixed stop loss and take profit in points, as well as reverse signal-triggered position closing. Position sizing is controlled by the MM parameter, where positive values represent a deposit share ratio and negative values specify a fixed lot size. Money management supports multiple modes (LOT, etc.) as determined by the MMMode enumeration. The EA also provides separate permissions for long and short position opening and closing, offering flexible trading control.
Strengths
- Three flexible entry modes accommodate different market conditions and trading styles
- Custom smoothing algorithm reduces stochastic indicator noise and false signals
- Independent permission controls for long/short opening and closing provide high flexibility
- New bar detection mechanism prevents repeated trading within the same bar
- Stop loss and take profit parameters provide essential risk control
Weaknesses
- No spread filter, which may cause unfavorable fills on short-term signals with high spreads
- Fixed point-based stop loss and take profit do not adapt to market volatility (ATR)
- No check for simultaneous long/short positions, potentially causing frequent open/close cycles and excessive trading costs in choppy markets
- Depends on the custom Slow-Stoch indicator file; EA cannot run if the indicator is missing
- SignalBar default of 1 introduces signal delay, while setting it to 0 may increase false signals
Possible improvements
- Add ATR-based dynamic stop loss and take profit to adapt exit levels to market volatility
- Add spread filter and maximum open position limits to reduce unfavorable fills and overtrading risk
Risk assessment
Overall risk: Medium
- Fixed stop loss/take profit does not account for volatility; may be too tight in volatile markets causing frequent stop-outs
- No spread filter mechanism; entry costs can be high in wide-spread environments
- Twist mode may generate frequent whipsaw signals in choppy markets leading to consecutive losses
Evaluation scores
Parameters
| Parameter | Default | Description |
|---|---|---|
MM | 0.1 | Deposit ratio per trade |
MMMode | LOT | Lot calculation method (fixed lots/balance/free margin etc.) |
StopLoss_ | 1000 | Stop loss in points |
TakeProfit_ | 2000 | Take profit in points |
Deviation_ | 10 | Max price slippage in points |
BuyPosOpen | true | Allow buy to open |
SellPosOpen | true | Allow sell to open |
BuyPosClose | true | Allow closing long positions |
SellPosClose | true | Allow closing short positions |
Mode | twist | Entry algorithm mode: breakout/reversal/cloud color change |
InpInd_Timeframe | PERIOD_H4 | Timeframe for indicator calculation |
KPeriod | 5 | Stochastic K period |
DPeriod | 3 | Stochastic D period |
Slowing | 3 | Stochastic slowing parameter |
STO_Method | MODE_SMA | Stochastic smoothing method |
Price_field | STO_LOWHIGH | Stochastic price field |
XMA_Method | MODE_JJMA | XMA smoothing method |
XLength | 5 | XMA smoothing depth |
XPhase | 15 | XMA smoothing parameter |
SignalBar | 1 | Bar index for entry signal |
Similar Momentum EAs
Backtests are historical simulations and do not guarantee future results. Not financial advice.